is_installed: Check if a package is installed (in the terminal)

Description Usage Arguments Value Examples

View source: R/is_installed.R

Description

[Experimental]

Usage

1

Arguments

pkg

Character indicating the package to search.

Value

Logical of length one (i.e., TRUE or FALSE).

Examples

1
2
is_installed("npm")
is_installed("brew")

matcasti/rlockdown documentation built on Dec. 21, 2021, 2:51 p.m.