renv_development_packages: Using development packages when working with '{renv}'

View source: R/renv_development_packages.R

renv_development_packagesR Documentation

Using development packages when working with {renv}

Description

This function creates a file that loads development packages so that {renv} can detect and write them to the lockfile.

Usage

renv_development_packages(
  packages = c("covr", "devtools", "DT", "markdown", "R.utils", "yaml"),
  file_name = "development_packages"
)

Arguments

packages

[character()]
Package names.

file_name

[character(1)]
The name for the .R file.

Value

No return value, but it writes a file to the project root and adds an entry to the .Rbuildignore file.

See Also

Other package helpers: Dictionary, Storage, identical_structure(), input_check_response(), match_arg(), package_logo(), print_data.frame(), print_matrix(), system_information(), unexpected_error(), user_confirm()


oeli documentation built on Oct. 16, 2024, 5:08 p.m.