helper_require: Helper function to check for package requirement

Description Usage Arguments Value

View source: R/upgo_helpers.R

Description

helper_require checks for a package and stops the function if the package is not found.

Usage

1
helper_require(pkg_name)

Arguments

pkg_name

A character string giving the name of a package.

Value

An error message if the package isn't found.


UPGo-McGill/upgo documentation built on Nov. 20, 2021, 2:26 a.m.