assert_pkgs: Check availability of required packages

View source: R/utils.R

assert_pkgsR Documentation

Check availability of required packages

Description

Used internally, helper function to check if SUGGESTED packages are available. Will halt execution if any of the queried packages are not available and provide installation instructions.

Usage

assert_pkgs(pkgs = NULL)

Arguments

pkgs

character vector with name(s) of package(s) to check.

Value

TRUE if all packages available, otherwise execution is halted with an error.


adaptr documentation built on May 29, 2024, 7:48 a.m.