View source: R/parsePkgVersions.R
parsePkgVersions | R Documentation |
The function parses the R version and R package versions from
session information (created by sessionInfo()
, tested with R 3.6) in
files provided in infiles
. Two types of files are currently
supported:
Files containing R console output
(created by R CMD BATCH script.R output.Rout
Files
containing markdown output created by rmarkdown::render('input.Rmd',
clean = FALSE)
, which will keep the intermediate .md
file.
parsePkgVersions(infiles)
infiles |
Character vector with text files (extension must be either
|
A list
of list
s with one element in the outer list for
each R version, contianing an innter list with elements files
and
packages
.
Michael Stadler
f <- list.files(system.file("extdata", "parsePkgVersions",
package = "swissknife"),
full.names = TRUE)
parsePkgVersions(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.