Learn R Programming

packrat (version 0.4.9-3)

migrate: Migrate to Packrat Mode

Description

Migrate a project using the older version of packrat + packrat structure to the newer version.

Usage

migrate(project = ".", ask = TRUE)

Arguments

project

The project directory.

ask

Boolean, ask before removing the .Renviron file?

Details

This function will:

  1. Move the library folder to the packrat/lib folder,

  2. Move the packrat.sources folder to the packrat/src folder,

  3. Move the packrat.lock file to packrat/packrat.lock,

  4. Remove the .Renviron file as it is no longer needed,

  5. Update the package .Rprofile.