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.1.0
Imports: cli, glue, rlang
Suggests: covr, knitr, rmarkdown, shiny, testthat (≥ 3.0.0), withr
Published: 2023-06-02
DOI: 10.32614/CRAN.package.assertions
Author: Sam El-Kamand ORCID iD [aut, cre, cph]
Maintainer: Sam El-Kamand <sam.elkamand at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README
CRAN checks: assertions results


Reference manual: assertions.pdf
Vignettes: create_custom_assertions


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

Reverse dependencies:

Reverse imports: mutationtypes


Please use the canonical form to link to this page.