View source: R/check_experiments.R
check_experiments | R Documentation |
Will stop if not. A valid pirouette experiment can be created by create_experiment.
check_experiments(experiments)
experiments |
a list of one or more pirouette experiments, as can be created by create_experiment. If more than one experiment is provided and a "generative" experiment is part of them, the "generative" one has to be the first in the list. See also:
|
nothing. Will stop if not
Richèl J.C. Bilderbeek
Use check_experiment to check if an object is one valid experiment
if (beautier::is_on_ci()) {
# Check cleanup by other functions
beastier::check_empty_beaustier_folders()
check_experiments(list(create_test_experiment()))
if (rappdirs::app_dir()$os != "win") {
experiments <- list(
create_test_experiment(),
create_test_cand_experiment()
)
# Experiments must have different inference models
experiments[[1]]$inference_model$site_model <-
beautier::create_gtr_site_model()
check_experiments(experiments)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.