parse_si: Parse a 'sessionInfo' object

Description Usage Arguments Details Value Examples

View source: R/parse_sessionInfo.R

Description

Parse a sessionInfo object

Usage

1
parse_si(si, source = "filename")

Arguments

si

Character string, with either the path to the plain text file containing the output (if source is equal to "filename"), or the content itself (if source is "editor")

source

Character string, indicating the format in which the object is provided

Details

The output of sessionInfo() should start with > sessionInfo(), so be sure to copy that part as well

Value

A list with two elements:

Examples

1
2
si1_output <- system.file("extdata", "si1.txt", package = "sessionDiffo")
si1 <- parse_si(si1_output)

federicomarini/sessionDiffo documentation built on May 6, 2020, 6:32 p.m.