td_setup_test_env() | Teradata Package for R - td_setup_test_env() - Teradata Package for R

Teradata® Package for R User Guide

Product
Teradata Package for R
Release Number
17.00
Published
July 2021
Language
English (United States)
Last Update
2023-08-08
dita:mapPath
yih1585763700215.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4005
Product Category
Teradata Vantage
This function is deprecated from tdplyr 17.00.00.01. Teradata recommends using the td_setup_sandbox_env() function.

The td_setup_test_env() function enables a user to load the sandbox image. The image can be downloaded from the Teradata Package for R - tdplyr page on https://downloads.teradata.com/.

This sets up the environment for the user to run the script within the Docker container using data from CSV file, which enables the user to fix script issues outside Vantage.

Example: Load Docker image

> td_setup_test_env(docker.image.location = docker_image_location)
Loading image from '<path_to_docker_image>/sto_sandbox_R3.5.1_sles12sp3.0.5.2_docker_image.1.0.0_old.tar.gz'. It may take few minutes.
Image 'rstosandbox:1.0' loaded successfully.
Starting a container with 'rstosandbox:1.0' image.
Container 'r_t__container_1621879064463068' started successfully.