pload {yulab.utils}R 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


[Package yulab.utils version 0.1.5 Index]