get_pkgs_installed: List packages installed on this computer

View source: R/packages--check.R

get_pkgs_installedR Documentation

List packages installed on this computer

Description

List packages installed on this computer

Usage

get_pkgs_installed(rm_duplicates = TRUE)

Arguments

rm_duplicates

(logical) Should duplicated names of packages be removed? If TRUE, when several packages are found, only the one with the highest version is returned. If FALSE, no packages are removed from the list.

Value

Data frame with columns "package" and "current_version".

See Also

Other R-packages-related functions: compare_version(), get_pkgs_installation_status()

Examples


head(get_pkgs_installed())

nrow(get_pkgs_installed(rm_duplicates = TRUE))
nrow(get_pkgs_installed(rm_duplicates = FALSE))


mokymai/bs documentation built on Jan. 28, 2025, 8:26 p.m.