Document the R Working Environment

Prints out information about the R working environment (system, R version,loaded and attached packages and versions) from a single function "env_doc()". Optionally adds information on git repository, tags, commits and remotes (if available).


envDocument

A R package to report various aspects of the environment in which an analysis was run. This includes system information, packages used, working directory, script path and git repository (if any; uses git2r).

Output can be returned as a data table, printed, or formatted using knitr::kable.

Usage


# get environment information as a data frame
info <- env_doc()

# format environment information as a table
env_doc("table")

# print environment information
env_doc("print")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("envDocument")

2.4.2 by Donald Jackson, a year ago


https://github.com/dgJacks0n/envDocument


Browse source code at https://github.com/cran/envDocument


Authors: Donald Jackson [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3.0) license


Imports utils, renv, here

Suggests knitr, git2r, stringr, testthat, rmarkdown


See at CRAN