ls_pkg: List a subset of all installed packages

ls_pkgR Documentation

List a subset of all installed packages

Description

List a subset of all installed packages

Usage

ls_pkg(pkg, ignore_case = TRUE, as_regex = FALSE)

Arguments

pkg

A character vector of package names.

ignore_case

Do not distinguish between upper and lower case letters in pkg. If FALSE, pkg is treated case-sensitive.

as_regex

Interpret pkg as regular expression(s). If FALSE, pkg is interpreted literally.

Value

A tibble.

See Also

Other R package functions: is_pkg_cran(), is_pkg_dir(), is_pkg_installed(), is_pkgdown_dir(), use_pkg()

Examples

pal::ls_pkg(pkg = c("methods", "utils"))

pal::ls_pkg(pkg = "^ut",
            as_regex = TRUE)

salim-b/pal documentation built on Feb. 28, 2025, 6:51 p.m.