checkAndLoad: checkAndLoad

Description Usage Arguments Value

View source: R/grab_and_attach.R

Description

function wrapping try catch that tries to load a package. If the loading process faills it will start installation procedure that fails gracefully,

Usage

1
checkAndLoad(pckg, mirror, dependencies)

Arguments

pckg

Packages to install, can be character (e.g "data.table") or NSE label (data.table without paranthesis)

mirror

Will be passed down to 'repos' argument of 'install.packages'

dependencies

Will be passed down to 'dependencies' argument of 'install.packages'

Value

Nothing


Patrikios/grab_and_attach documentation built on Jan. 3, 2022, 12:47 p.m.