ensure_pkg: Ensure that a required package is available

View source: R/utils_math.R

ensure_pkgR Documentation

Ensure that a required package is available

Description

Ensure that a required package is available

Usage

ensure_pkg(pkg)

Arguments

pkg

Character string with the package name

Value

Invisible TRUE (used only for its side-effect)

Note

The function stops with an informative error if the required package is not installed.


TesiproV documentation built on Oct. 28, 2026, 5:13 p.m.