checkReqPkg: Check for installed package

checkReqPkgR Documentation

Check for installed package

Description

Returns error if a required package is not installed. Mostly used for checking whether packages listed under the Suggests field in the DESCRIPTION file is installed.

Usage

checkReqPkg(pkg, msg = "")

Arguments

pkg

The package to check for, a character of length 1.

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


MadsAlbertsen/ampvis2 documentation built on Jan. 28, 2024, 7:12 a.m.