tbl_duplicate_immediate_feedback_test: Duplicate an immmediate feedback test app

tbl_duplicate_immediate_feedback_testR Documentation

Duplicate an immmediate feedback test app

Description

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.

Usage

tbl_duplicate_immediate_feedback_test(
  template = "immediate_feedback_test",
  folder = "immediate_feedback_test2",
  data_gs_title = NULL,
  overwrite = FALSE,
  check_gs_access = TRUE
)

Arguments

template

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).

folder

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.

data_gs_title

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.

overwrite

whether to overwrite the app in the target directory if it already exists

check_gs_access

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.

Value

returns the folder invisibly for ease of use in pipelines

See Also

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()


KopfLab/tbltools documentation built on July 30, 2023, 11:16 p.m.