slibrary: safe mode for library

View source: R/system.R

slibraryR Documentation

safe mode for library

Description

library multiple packages with automatic installation

Usage

slibrary(..., install = TRUE)

Arguments

...

names of packages, same as in library()

install

a bool value to indicate whether automatically install the uninstalled packages, default as TRUE

Examples

slibrary(lattice)
slibrary(lattice, sf, raster, install = FALSE)

xuzhenwu/xu documentation built on Oct. 15, 2023, 10:32 a.m.