use_analysis_package | R Documentation |
Add the Analysis Package Layout to the current package.
use_analysis_package(use_quarto = TRUE, prompt = FALSE)
use_quarto |
If |
prompt |
If TRUE, prompt before writing |
When run, use_analysis_package()
:
Creates analysis package directories
Adds exclusions to .gitignore and .Rbuildignore
Adds extra.css
to analysis/assets
and pkgdown
(when use_quarto
is FALSE
) to fix
rendering of GitHub-style
task lists
Adds .nojekyll
, _quarto.yml
, changelog.qmd
, index.qmd
and analysis/_metadata.yml
from templates OR 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
List containing dirs
created, rbuildignore
lines added to .Rbuildignore, gitignore
exclusions added to .gitignore.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.