The td_setup_test_env() function enables a user to load the sandbox image. The image can be downloaded from Teradata R Package - 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.
> td_setup_test_env(docker.image.location = docker_image_location) Loading image from '<path_to_docker_image>/sto_sandbox_R3.5.1_sles12sp184.108.40.206_docker_image.1.0.0_old.tar.gz'. It may take few minutes. Loaded image: rstosandbox:1.0 Image loaded successfully.