- Revised the warning check as empty warnings no longer have a
NULL
return. (#13)
-
Switched insertion shiv
message()
topackageStartupMessage()
. (#12) -
Removed
LazyData: true
fromDESCRIPTION
. (#12) -
Switched URLs to using
https
instead ofhttp
and removed broken links. (#12)
- Updated to the latest version of
r-lib
GitHub actions. (#12)
- When multiple warnings occur, each unique warning is searched separately instead of searching only the latest value. (#9, closing (#7))
-
Warning messages now have their locale specific prefix. (#9)
-
Ensured the
last.warning
object was created by settingoptions('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
- Improved the package vignette by providing examples of how the handler pick up errors and warnings. (#10)
- Address an erroneous unit test that was comparing functions within namespaces instead of environments.
- Imported the
search_google
function fromsearcher
to satisfyR CMD check
.
- Enable the use of two cores to speed up Travis-CI builds.
- Created shims for warning and error handling
- Automatically load and unload shims alongside package calls.
- Added coverage tests to verify the presence of the handlers and for checking the contents of the error handler.
This package exists in large part due to conversations or assistance from the following folks:
- Dirk Eddelbuettel for starting the discussion on XKCD Comic 1185: Ineffective Sorts.
- Barry Rowlingson for the package name and remarks about functionality.
- Brodie Gaslam for pointing out
addTaskCallback()
as a way to create a warning handler and for a brief discussion on "call" objects. - Joshua Ulrich for advise on incorporating
the semi-documented
last.warning
object that R populates with warning messages.