Skip to content

assertions

Simple Assertions for Beautiful and Customisable Error Messages

v0.3.0 · Feb 13, 2026 · MIT + file LICENSE

Description

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.

Downloads

785

Last 30 days

4570th

2.6K

Last 90 days

10.9K

Last year

Trend: -17.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (3)

Dependency Network

Dependencies Reverse dependencies cli glue rlang gg1d ggEDA mutationtypes assertions

Version History

new 0.3.0 Mar 10, 2026
updated 0.3.0 ← 0.2.0 diff Feb 12, 2026
updated 0.2.0 ← 0.1.0 diff Nov 18, 2024
new 0.1.0 Jun 1, 2023