checkReqPkgs: Check for installed package(s)

Description Usage Arguments Value Author(s)

View source: R/internals.R

Description

Returns an error if required package(s) are not installed. Mostly used for checking whether packages listed under the Suggests field in the DESCRIPTION file are installed.

Usage

1
checkReqPkgs(pkgs, msg = "")

Arguments

pkgs

Character vector with package(s) to check for.

msg

Optionally additional text appended (with paste0) to the default error message.

Value

Returns error and message if not installed, otherwise invisible(TRUE)

Author(s)

Kasper Skytte Andersen ksa@bio.aau.dk


KasperSkytte/mmgenome2 documentation built on Dec. 14, 2021, 12:11 a.m.