pkg.version: Get session info and package versions.

View source: R/pkg.version.R

pkg.versionR Documentation

Get session info and package versions.

Description

Retrieves the information of the current session and the version of the packages loaded.

Usage

pkg.version(
  return.session = FALSE,
  print.versions = TRUE,
  return.versions = FALSE,
  session.file = NULL
)

Arguments

return.session

Logic value to define if to save the session info. By default FALSE.

print.versions

Logic value to define if to print the session and version info. By default TRUE.

return.versions

Logic value to define if to save package versions info. By default FALSE.

session.file

If a string to a path is provided, a .txt file with session and versions info will be exported. Default NULL, no exported files.

Value

If return.session and/or return.versions TRUE a list with these informations is returned. Otherwise nothing is returned.


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.