pload: pload

View source: R/pkg-utils.R

ploadR Documentation

pload

Description

loading a package

Usage

pload(package, action = "auto")

Arguments

package

package name

action

function used to install package. If 'action = "auto"', it will try to use 'BiocManager::install()' if it is available.

Details

The function use 'library()' to load the package. If the package is not installed, the function will try to install it before loading it.

Value

the selected package loaded to the R session

Author(s)

Guangchuang Yu


yulab.utils documentation built on Sept. 11, 2024, 9:25 p.m.