require_now: Install packages only if not yet installed

Description Usage Arguments Author(s)

View source: R/require_now.R

Description

A list of packages will be compared with the installed ones and if missing, installed. These packages will be also loaded in the current session. This function is a wrapper of update.packages() and install.packages().

Usage

1

Arguments

pkgs

Character vector, the names of the packages to be installed.

update

Logical value indicating whether installed packages should be updated or not (done by update.packages()).

...

Further arguments passed to install.packages().

Author(s)

Markus Alfter and Miguel Alvarez.


kamapu/gisrepos documentation built on Jan. 1, 2021, 7:14 a.m.