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

Teradata® Package for R User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for R
Release Number
17.20
Published
March 2024
Language
English (United States)
Last Update
2024-04-09
dita:mapPath
efv1707506846369.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
nqx1518630623256
Product Category
Teradata Vantage
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.