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.3.0 |
| Imports: | cli, glue, methods, rlang |
| Suggests: | covr, knitr, rmarkdown, shiny, testthat (≥ 3.0.0), withr |
| Published: | 2026-02-13 |
| DOI: | 10.32614/CRAN.package.assertions |
| Author: | Sam El-Kamand |
| 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 |
| Reference manual: | assertions.html , assertions.pdf |
| Vignettes: |
create_custom_assertions (source, R code) |
| Package source: | assertions_0.3.0.tar.gz |
| Windows binaries: | r-devel: assertions_0.3.0.zip, r-release: assertions_0.3.0.zip, r-oldrel: assertions_0.3.0.zip |
| macOS binaries: | r-release (arm64): assertions_0.3.0.tgz, r-oldrel (arm64): assertions_0.3.0.tgz, r-release (x86_64): assertions_0.3.0.tgz, r-oldrel (x86_64): assertions_0.3.0.tgz |
| Old sources: | assertions archive |
| Reverse imports: | gg1d, ggEDA, mutationtypes |
Please use the canonical form https://CRAN.R-project.org/package=assertions to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.