use_pack: Package installing and loading function 'use_pack' takes a...

View source: R/use_pack.R

use_packR Documentation

Package installing and loading function use_pack takes a single command, the name of a package, and will install it, if not already installed, and then load it.

Description

Package installing and loading function use_pack takes a single command, the name of a package, and will install it, if not already installed, and then load it.

Usage

use_pack(package = NULL, dependencies = TRUE, force = FALSE)

Arguments

package

a string; the name of a package to be installed

dependencies

a boolean; if TRUE dependency packages will also be installed, if FALSE dependency packages will not be installed

force

logical indicating whether packages should be forced to be installed/updated


mike-decarlo/augmentR documentation built on March 17, 2023, 11:05 a.m.