load_check {regionReport} | R Documentation

## Attempt to load the namespace of one or more packages

### Description

This function uses requireNamespace to try to load one or more packages. If a package is missing, it will suggest how to install it via Bioconductor before quitting.

### Usage

    load_check(pkg)

### Arguments

`pkg` | A character vector with the names of the packages to check.

### Details

Updated after feedback from Marcel Ramos at https://github.com/leekgroup/recount/issues/14

### Author(s)

Leonardo Collado-Torres

[Package regionReport version 1.20.1 Index]