Simplified Error Handling
Overview
Alternative to using withCallingHandlers() in the simple case of catch and rethrow. The `%!%` operator evaluates the expression on its left hand side, and if an error occurs, the right hand side is used to construct a new error that embeds the original error.
- Initial CRAN submission.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
Documentation signals are not tracked yet for this package.
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 11
- Median days to close, 50 most recently updated closed PRs
- not measured
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/tadascience/slap on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2024-05-02 · The repository has a site deploy workflow
pkgdown site last built 2024-05-02
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2024.4.1Latest2024-04-24 · current release
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-04-24
- Total releases
- 1 / 2 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 414 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("slap")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.