View source: R/create_test_pir_params_setup.R
create_test_pir_params_setup | R Documentation |
pir_params
that follows a specific setupCreate a pir_params
that follows a specific setup
create_test_pir_params_setup(has_candidate = FALSE, has_twinning = FALSE)
has_candidate |
TRUE to have a candidate experiment |
has_twinning |
TRUE to use twinning |
a 'pir_params' (see create_pir_params)
if (beautier::is_on_ci()) {
# Minimal use
check_pir_params(create_test_pir_params_setup())
# Generative experiment only, without twinning
create_test_pir_params_setup(
has_candidate = FALSE,
has_twinning = FALSE
)
# Generative and candidate experiment, without twinning
if (rappdirs::app_dir()$os != "win") {
create_test_pir_params_setup(
has_candidate = TRUE,
has_twinning = FALSE
)
}
# Generative experiment only, with twinning
create_test_pir_params_setup(
has_candidate = FALSE,
has_twinning = TRUE
)
# Generative and candidate experiment, with twinning
if (rappdirs::app_dir()$os != "win") {
create_test_pir_params_setup(
has_candidate = TRUE,
has_twinning = TRUE
)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.