use_analysis_package: Use Analysis Package Layout

View source: R/setup.R

use_analysis_packageR Documentation

Use Analysis Package Layout

Description

Add the Analysis Package Layout to the current package.

Usage

use_analysis_package(prompt = FALSE)

Arguments

prompt

If TRUE, prompt before writing renv.lock, passed to renv::snapshot().

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.

Value

List containing dirs created, rbuildignore lines added to .Rbuildignore, gitignore exclusions added to .gitignore.


jabenninghoff/rdev documentation built on March 18, 2023, 9:31 p.m.