test_sim_dir | R Documentation |
test_sim_dir()
wraps around
testthat::test_dir()
to run all dgp-, method-, evaluator-,
and visualizer-related tests.
test_sim_dir()
This function only works if the simulation study is set up as an R
project and if it is run when this R project is active. Additionally, tests
must be stored in sub-directories whose names match those suggesting in the
"Setting Up Your Simulation" vignette. These details are conveniently taken
care of when a simulation study is set up using create_sim()
.
## Not run:
# run dgp-, method-, evaluator-, and visualizer-related tests
test_sim_dir()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.