Description Usage Arguments Examples
Create a package directory structure for a new bcgov R package in your current working directory.
1 2 3 4 5 6 7 | create_bcgov_package(
path = ".",
rmarkdown = TRUE,
coc_email = get_coc_email(),
rstudio = rstudioapi::isAvailable(),
open = TRUE
)
|
path |
Path to the directory in which to initialize the project.
Default |
rmarkdown |
Should an Rmarkdown file be added to the repository
with its corresponding markdown file? Default |
coc_email |
Contact email address(es) for the Code of Conduct. It is
recommended that you save this setting by adding a line like:
|
rstudio |
If |
open |
If TRUE and in RStudio, the new project is opened in a new instance, if possible, or is switched to, otherwise. |
1 2 3 4 | ## Not run:
bcgovr::create_bcgov_package()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.