session_info: Print session information

Description Usage Arguments Details Examples

View source: R/session-info.R

Description

This is utils::sessionInfo() re-written from scratch to both exclude data that's rarely useful (e.g., the full collate string or base packages loaded) and include stuff you'd like to know (e.g., where a package was installed from).

Usage

1
session_info(pkgs = NULL, include_base = FALSE)

Arguments

pkgs

Either a vector of package names or NULL. If NULL, displays all loaded packages. If a character vector, also, includes all dependencies of the package.

include_base

Include base packages in summary? By default this is false since base packages should always match the R version.

Details

Columns in the printed package list:

See package_info() for the list of columns in the data frame that is returned (as opposed to printed).

Examples

1
2
session_info()
session_info("sessioninfo")

sessioninfo documentation built on May 2, 2019, 11:07 a.m.