check_pkg_installed: Check if a package is installed and display an informative...

check_pkg_installedR Documentation

Check if a package is installed and display an informative message.

Description

Check if a package is installed and display an informative message.

Usage

check_pkg_installed(pkg, msg = "", verbose = TRUE)

check_qs_installed(verbose = TRUE)

check_future_installed(verbose = TRUE)

check_clustermq_installed(verbose = TRUE)

check_future.callr_installed(verbose = TRUE)

check_sc3_version(verbose = TRUE)

check_scdrake_packages(verbose = TRUE)

Arguments

pkg

A character scalar: name of package.

msg

A character scalar: additional message to be displayed.

verbose

A logical scalar: if TRUE, be verbose.

Value

TRUE if package is installed, FALSE otherwise.

check_scdrake_packages() returns TRUE if all tested packages are installed and {SC3} is installed from <github.com/gorgitko/SC3>, FALSE otherwise.

Examples

check_pkg_installed("utils")
check_pkg_installed("zzz")
check_qs_installed()

bioinfocz/scdrake documentation built on Jan. 29, 2024, 10:24 a.m.