View source: R/add_package_doc.R
add_package_doc | R Documentation |
This function adds a package-level documentation file (pkg-package.R
) in
the R/
folder. This file will make help available to the user via ?pkg
(where pkg
is the name of the package). It a good place to put general
directives like @import
and @importFrom
.
add_package_doc(open = TRUE, overwrite = FALSE, quiet = FALSE)
open |
A logical value. If |
overwrite |
A logical value. If this file is already present and
|
quiet |
A logical value. If |
No return value.
Other create files:
add_citation()
,
add_code_of_conduct()
,
add_compendium()
,
add_contributing()
,
add_description()
,
add_dockerfile()
,
add_license()
,
add_makefile()
,
add_readme_rmd()
,
add_renv()
,
add_testthat()
,
add_vignette()
## Not run:
add_package_doc()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.