pkg_is_installed: Check if packages are installed

View source: R/utils-pkg.R

pkg_is_installedR Documentation

Check if packages are installed

Description

Note: this function differs from rlang::is_installed() in two regards: it is quieter and will show no messages, and it returns a vector indicating which packages are installed or not (rather than a single Boolean value regarding the packages as a set).

Usage

pkg_is_installed(pkgs)

Arguments

pkgs

Character vector of the names of the packages to check.

Value

Logical vector indicating whether the packages are installed.


UCLATALL/coursekata-r documentation built on Aug. 24, 2023, 8:54 p.m.