Learn R Programming

⚠️There's a newer version (1.3.3) of this package.Take me there.

tryCatchLog (version 1.0.2)

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

Description

Advanced tryCatch() and try() functions for better error handling (logging, stack trace with source code references and support for post-mortem analysis).

Copy Link

Version

Install

install.packages('tryCatchLog')

Monthly Downloads

2,012

Version

1.0.2

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

J<c3><bc>rgen Altfeld

Last Published

May 18th, 2018

Functions in tryCatchLog (1.0.2)

limitedLabelsCompact

Convert a call stack into a list of printable strings
is.windows

Determines if R is running on a Windows operating system
is.duplicated.log.entry

Check if a new log entry would be a duplicate of on an already existing log entry
build.log.output

Creates a single string suited as logging output
build.log.entry

Creates a log entry row containing all relevant logging information in columns
last.tryCatchLog.result

Gets the logging result of the last call to tryCatchLog or tryLog
get.pretty.call.stack

Pretty formatted call stack enriched with the source file names and row numbers
determine.platform.NewLine

Determines 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
tryCatchLog

Try an expression with condition logging and error handling
tryLog

Try an expression with condition logging and error recovery
append.to.last.tryCatchLog.result

Appends a new log entry to the stored logging output of the last call to tryCatchLog or tryLog
platform.NewLine

Gets the operating system specific new line character(s)