load_install {regionReport} | R Documentation |
This function uses requireNamespace to try to load a package. But if it's misssing it will then install it via Bioconductor.
load_install(pkg, quietly = TRUE)
pkg |
A single character vector with the name of the package. |
quietly |
Whether to run requireNamespace and BiocManager::install quietly or not. |