load.and.install: A unified loader for github and CRAN packages

Description Usage Arguments Value Examples

Description

This function installs, updates and loads packages provided by CRAN or github

Usage

1
load.and.install(required.packages, mode = "CRAN", update = F)

Arguments

required.packages

a vector of characters

mode

character defining wether the packages are provided by CRAN or github, use "CRAN" or "GIT"

update

logical wether to force updating previously installed packages

Value

none

Examples

1
load.and.install(c("ggplot2", "raster"), mode = "CRAN", update = T)

aMilles/rsfsim documentation built on May 15, 2019, 4:20 a.m.