Learn R Programming

regionReport (version 1.6.5)

load_install: Attempt to load the namespace of a package and install it if it's missing

Description

This function uses requireNamespace to try to load a package. But if it's misssing it will then install it via Bioconductor.

Usage

load_install(pkg, quietly = TRUE)

Arguments

pkg
A single character vector with the name of the package.
quietly
Whether to run requireNamespace and biocLite quietly or not.