init_sim_project | R Documentation |
init_sim_project()
initializes a directory for your simulation
study. It wraps around usethis::create_project()
, as well as
usethis::use_git()
and renv::init()
.
init_sim_project(
path,
init_git = TRUE,
init_renv = TRUE,
init_tests = TRUE,
init_dirs = NULL
)
path |
Character string, specifying the path for your simulation directory. |
init_git |
Logical, indicating whether to intialize your
simulation directory as a git repository. Defaults to |
init_renv |
Logical, stating whether to initialize |
init_tests |
Logical, indicating whether to generate sub-directories
for organizing unit tests. Defaults to |
init_dirs |
Character vector, specifying additional directories to
create in the simulation project. Defaults to |
## Not run:
# create template directory for simulation project
init_sim_project("path/to/sim")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.