The td_setup_test_env() function is a deprecated function and is not guaranteed to work. It will be removed in future release versions.
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.