Learn R Programming

oeli (version 0.6.0)

renv_development_packages: 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"
)

Value

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

Arguments

packages

[character()]
Package names.

file_name

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

See Also

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