slap: Simplified Error Handling

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.

Version: 2024.4.1
Imports: cli, rlang
Suggests: testthat (≥ 3.0.0)
Published: 2024-04-24
Author: Romain François [aut, cre], tada.science [cph, fnd]
Maintainer: Romain François <romain at tada.science>
BugReports: https://github.com/tadascience/slap/issues
License: MIT + file LICENSE
URL: https://github.com/tadascience/slap, https://slap.tada.science
NeedsCompilation: no
Materials: README NEWS
CRAN checks: slap results

Documentation:

Reference manual: slap.pdf

Downloads:

Package source: slap_2024.4.1.tar.gz
Windows binaries: r-devel: slap_2024.4.1.zip, r-release: slap_2024.4.1.zip, r-oldrel: slap_2024.4.1.zip
macOS binaries: r-release (arm64): slap_2024.4.1.tgz, r-oldrel (arm64): slap_2024.4.1.tgz, r-release (x86_64): slap_2024.4.1.tgz, r-oldrel (x86_64): slap_2024.4.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=slap to link to this page.