hasPackages: Test for Existence of Given Package

View source: R/RcppExports.R

hasPackagesR Documentation

Test for Existence of Given Package

Description

The APT Package Management system uses a data-rich caching structure. This accessor function tests whether a given package exists.

Usage

hasPackages(pkg)

Arguments

pkg

A character vector with name of the package

Value

A boolean result vector is returned indicating if the package at the given position is available.

Author(s)

Dirk Eddelbuettel

Examples

hasPackages(c("r-base-core", "somethingThatDoesNotExist"))

eddelbuettel/rcppapt documentation built on Feb. 27, 2024, 4:32 a.m.