R/immediate_feedback_tests.R
tbl_duplicate_immediate_feedback_test.Rd
This functions makes it easy to duplicate an existing test by copying all relevant files into a new folder. You should change the google spreadsheet the new test is linked to by specifying the data_gs_title
parameter (if you don't it will warn you but allow it). To create a new immediate feedback test from scratch, use tbl_setup_immediate_feedback_test instead.
tbl_duplicate_immediate_feedback_test(
template = "immediate_feedback_test",
folder = "immediate_feedback_test2",
data_gs_title = NULL,
overwrite = FALSE,
check_gs_access = TRUE
)
folder where the existing app that is to be duplicated is located (path must be either relative to the current working directory or an absolute file path on the operating system).
target folder where to setup the duplicated app (path must be either relative to the current working directory or an absolute file path on the operating system). If the folder does not exist yet, it will be created automatically.
name of the google spreadsheet that should be used for storing the data for the immediate feedback test. This spreadsheet must already exist and the gs_key_file
must grant access to it.
whether to overwrite the app in the target directory if it already exists
whether to confirm google spreadsheet access (using the tbl_check_gs_access
function). Note that if this is set to FALSE
, this function will NOT validate the gs_key_file
and NOT check that the provided data_gs_title
is a valid spreadsheet the key file grants access to.
returns the folder
invisibly for ease of use in pipelines
Other immediate feedback test functions:
tbl_deploy_immediate_feedback_test()
,
tbl_run_immediate_feedback_test()
,
tbl_setup_immediate_feedback_test()
,
tbl_test_immediate_feedback_test()