assertions: Simple Assertions for Beautiful and Customisable Error Messages
Provides simple assertions with sensible defaults and customisable error messages.
It offers convenient assertion call wrappers and a general assert function that can handle any condition.
Default error messages are user friendly and easily customized with inline code evaluation and styling powered by the 'cli' package.
Version: |
0.2.0 |
Imports: |
cli, glue, methods, rlang |
Suggests: |
covr, knitr, rmarkdown, shiny, testthat (≥ 3.0.0), withr |
Published: |
2024-11-19 |
Author: |
Sam El-Kamand
[aut, cre, cph] |
Maintainer: |
Sam El-Kamand <sam.elkamand at gmail.com> |
BugReports: |
https://github.com/selkamand/assertions/issues |
License: |
MIT + file LICENSE |
URL: |
https://github.com/selkamand/assertions,
https://selkamand.github.io/assertions/ |
NeedsCompilation: |
no |
Materials: |
README NEWS |
CRAN checks: |
assertions results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=assertions
to link to this page.