create_pkg | R Documentation |
Populates the directory specified via path
with all the necessary files for a new R Markdown package.
The DESCRIPTION
file is created using
usethis::use_description()
and all fields except Package
, URL
and BugReports
are sourced from the usethis.description
R option if defined.
create_pkg(
name,
id_netlify = NULL,
path = ".",
incl_roxygen2_meta = TRUE,
incl_reexports = FALSE,
incl_sysdata_rmd = FALSE,
incl_data_rmd = FALSE,
incl_asciicasts_rmd = FALSE,
incl_pkgdown_config = TRUE,
incl_ripgrep_config = TRUE,
incl_ack_config = FALSE,
incl_air_config = FALSE
)
name |
Package name. |
id_netlify |
Netlify site identifier. |
path |
Path to the new package directory. |
incl_roxygen2_meta |
Whether or not to create a |
incl_reexports |
Whether or not to create an |
incl_sysdata_rmd |
Whether or not to create an |
incl_data_rmd |
Whether or not to create an |
incl_asciicasts_rmd |
Whether or not to create an |
incl_pkgdown_config |
Whether or not to create a minimal |
incl_ripgrep_config |
Whether or not to create a ripgrep ignore file |
incl_ack_config |
Whether or not to create an |
incl_air_config |
Whether or not to create an |
path
, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.