library(logrx)
The purpose of the logrx
package is to generate a log
upon execution of an R script which enables traceability and
reproducibility of the executed code.
The following attributes are recorded in the log:
metadata
: The logrx package
informationuser and file information
: The user that generates the
log, file name and path of the R scriptsession_info
: The R session informationpackages
: List all available packages in the
environmentexternal_software
” Lists all external softwaremasked_functions
: The functions masked by packagesstart_time
, end_time
, and
run_time
: The start, end, and run timesused_packages_functions
: Any packages and functions
used in the R scriptunapproved_packages_functions
: Any packages and
functions used in the R script that are not part of that approved
packages and functions listerrors
: The errors generated when running the R
scriptwarnings
: The warnings generated when running the R
scriptmessages
: The messages generated when running the R
scriptresult
: The result generated when running the R
scriptoutput
: The output generated when running the R
scriptlog_name
, log_path
: The name and path of
the log