Packages

renv_enable

Enable renv for this project

Initializes renv integration for the current Framework project. This: - Creates `.framework_renv_enabled` marker file - Initializes renv if not already initialized - Syncs packages from settings.yml to renv.lock - Updates .gitignore to exclude renv cache


Usage

renv_enable(sync = TRUE)

Arguments

Argument Description
sync

Logical; if TRUE (default), sync packages from settings.yml

Returns

Invisibly returns TRUE on success

Examples

renv_enable()

Source: R/renv.R