Add the Analysis Package Layout to the current package.
Arguments
- prompt
If TRUE, prompt before writing
renv.lock
, passed torenv::snapshot()
.
Value
List containing dirs
created, rbuildignore
lines added to .Rbuildignore, gitignore
exclusions added to .gitignore.
Details
When run, use_analysis_package()
creates analysis package directories, adds exclusions to
.gitignore and .Rbuildignore, creates _base.yml
in pkgdown
from the first URL
in
DESCRIPTION
, installs the README.Rmd
template for analysis packages, and the dplyr
package needed for the README.Rmd
template.