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)

jimbrig/jimstools documentation built on Sept. 12, 2022, 12:08 p.m.