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

Share:

Description

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

Usage

1
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.