Learn R Programming

adaptr (version 1.4.0)

assert_pkgs: 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)

Value

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

Arguments

pkgs,

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