View source: R/will_measure_evidence.R
will_measure_evidence | R Documentation |
Determine if there is an experiment in which the evidence will be measured.
will_measure_evidence(pir_params)
pir_params |
the parameters of pirouette. They are created by create_pir_params. |
TRUE if yes, FALSE otherwise
if (beautier::is_on_ci()) {
if (rappdirs::app_dir()$os != "win") {
pir_params <- create_test_pir_params_setup(has_candidate = TRUE)
# Yes, the evidence will be measured on Linux with candidate models
will_measure_evidence(pir_params)
}
pir_params <- create_test_pir_params_setup(has_candidate = FALSE)
# No, the evidence will be measured without candidate models
will_measure_evidence(pir_params)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.