Learn R Programming

renv (version 0.4.0-8)

settings: Project Settings

Description

Define project-local settings that can be used to adjust the behavior of renv with your particular project.

Usage

settings

Arguments

Format

An object of class list of length 2.

Settings

ignored.packages

A vector of packages, which should be ignored when attempting to snapshot the project's private library. Note that if a package has already been added to the lockfile, that entry in the lockfile will not be ignored.

external.libraries

A vector of library paths, to be used in addition to the project's own private library. This can be useful if you have a package available for use in some global library, but for some reason renv is not able to install that package (e.g. sources or binaries for that package are not publicly available, or you have been unable to orchestrate the pre-requisites for installing some packages from source on your machine).

Examples

Run this code
# NOT RUN {
# check the 'ignored.packages' option
renv::settings$ignored.packages()

# ignore the 'tidyverse' package in this project
renv::settings$ignored.packages("tidyverse")

# }

Run the code above in your browser using DataLab