R/pkg-utils.R
pload.Rd
loading a package
pload(package, action = "auto")
package name
function used to install package. If 'action = "auto"', it will try to use 'BiocManager::install()' if it is available.
the selected package loaded to the R session
The function use 'library()' to load the package. If the package is not installed, the function will try to install it before loading it.
Guangchuang Yu