is_inst: is_inst

View source: R/config-packages.R

is_instR Documentation

is_inst

Description

Check if a package is installed.

Usage

is_inst(pkg)

Arguments

pkg

string: package to search installation path for

Details

This function provides a lightweight alternative to utils::installed.packages() by using nzchar instead.

Value

logical (TRUE/FALSE)

References

Examples

## Not run: 
is_inst("dplyr")

## End(Not run)

jimbrig2011/jimstools documentation built on Sept. 14, 2022, 1:38 a.m.