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).
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
info <- env_doc()# format environment information as a tableenv_doc("table")# print environment informationenv_doc("print")
try()calls to handle missing file/package errors more gracefully and consistently.
This is the first CRAN submission for package envDocument. The version number for this first submission is 2.3.0 for consistency with previous internal versions of this package.