uses: Checks that package can be used, else returns error

View source: R/require.R

usesR Documentation

Checks that package can be used, else returns error

Description

Checks that package can be used, else returns error

Usage

uses(packages, error, message)

Arguments

packages

character vector: packages required

error

error function

message

error message

Examples

## Not run: 
uses("stringr", stop, "Prerequisite not available")

## End(Not run)

AhmedMehdiLab/E.PAGE documentation built on Aug. 21, 2022, 4:37 p.m.