Learn R Programming

renv (version 0.9.3)

modify: Open the Lockfile for Editing

Description

Open a project's lockfile (if any) for editing. After edit, if the lockfile edited is associated with the active project, any state-related changes (e.g. to R repositories) will be updated in the current session.

Usage

modify(project = NULL)

Arguments

project

The project directory. If NULL, then the active project will be used. If no project is currently active, then the current working directory is used instead.

Value

The project directory, invisibly. Note that this function is normally called for its side effects.

Examples

Run this code
# NOT RUN {
# modify an existing lockfile
if (interactive())
  renv::modify()

# }

Run the code above in your browser using DataLab