IsPackageInstalled: Check whether Package is Installed

View source: R/RecreateLibrary.R

IsPackageInstalledR Documentation

Check whether Package is Installed

Description

Check whether a package(s) is installed under the library tree(s).

Usage

IsPackageInstalled(x, lib = .libPaths())

Arguments

x

'character' vector. Package names

lib

'character' vector. Library trees

Value

A 'logical' vector of the same length as argument x.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

IsPackageInstalled(c("inlmisc", "csimlni", "devtools"))


USGS-R/inlmisc documentation built on Sept. 17, 2022, 2:38 a.m.