Learn R Programming

guideR (version 0.1.0)

install_dependencies: Install / Update project dependencies

Description

This function uses renv::dependencies() to identify R package dependencies in a project and then calls pak::pkg_install() to install / update these packages.

Usage

install_dependencies(ask = TRUE)

Value

(Invisibly) A data frame with information about the installed package(s).

Arguments

ask

Whether to ask for confirmation when installing a different version of a package that is already installed. Installations that only add new packages never require confirmation.

Examples

Run this code
if (FALSE) {
install_dependencies()
}

Run the code above in your browser using DataLab