errorist v0.1.0 Released: Improved automatic warning searches

errorist: one who holds to and propagates error

Merriam Webster

The goal of errorist is to automatically search errors and warnings the second they arise. To accomplish this, errorist automatically applies a set of environment hooks on package load that retrieve errors and warnings, which occur during the execution of code, so that they can be automatically searched for solutions.

For the fourth ever errorist update, support was significantly improved for handling multiple warning message searches. In prior versions, warnings were very conservatively handled with only the first warning being searched. Nowadays, each warning is searched if it is unique. Moreover, warnings now have a locale-specific prefix appended (e.g. “Warning Message:”). Lastly, to improve clarity of the package focus, the accompanying package vignette was extended to highlight the different behaviors of automatic warning and error search undertaken by errorist.

As is the case, please see the NEWS entry below for more details.

errorist news file entry for version 0.1.0 (2020-02-24)

Feature

  • When multiple warnings occur, each unique warning is searched separately instead of searching only the latest value. (#9, closing (#7))

Fixes

  • Warning messages now have their locale specific prefix. (#9)

  • Ensured the last.warning object was created by setting options('warn' = 0), which is the default value. Upon unload, the warning level is restored to the old value. (#8)

  • Fixed a spurious URL in README/NEWS.md

Documentation

  • Improved the package vignette by providing examples of how the handler pick up errors and warnings. (#10)

GitHub Changelog

comments powered by Disqus