Advanced 'tryCatch()' and 'try()' Functions


[Up] [Top]

Documentation for package ‘tryCatchLog’ version 1.3.1

Help Pages

append.to.last.tryCatchLog.result Appends a new log entry to the stored logging output of the last call to 'tryCatchLog' or 'tryLog'
build.log.entry Creates a log entry as a single 'data.frame' row containing all relevant logging information in columns
build.log.output Creates a single string suited as logging output
determine.platform.NewLine Determines the operating system specific new line character(s)
get.pretty.call.stack Pretty formatted call stack enriched with the source file names and row numbers
get.pretty.option.value gets the current value of an option as key/value string
get.pretty.tryCatchLog.options Gets the current option values of all options supported by the 'tryCatchLog' package
is.duplicated.log.entry Check if a new log entry would be a duplicate of on an already existing log entry
is.package.available Checks if a package is installed and can be loaded
is.windows Determines if R is running on a Windows operating system
last.tryCatchLog.result Gets the logging result of the last call to 'tryCatchLog' or 'tryLog'
limitedLabelsCompact Convert a call stack into a list of printable strings
log2console Prints a time-stamped log message to the console incl. the severity level
platform.NewLine Gets the operating system specific new line character(s)
reset.last.tryCatchLog.result Resets the stored logging output of the last call to 'tryCatchLog' or 'tryLog' to an empty list
set.logging.functions Sets the logging functions that shall be used by 'tryCatchLog' for the different severity levels
tryCatchLog Try an expression with condition logging and error handling
tryLog Try an expression with condition logging and error recovery