renv_development_packages {oeli}R 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

A character vector of package names.

file_name

A single character, 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.


[Package oeli version 0.5.2 Index]