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
CRAN
472
Last 30 days
8219th
1.6K
Last 90 days
10K
Last year
Trend: -15% (30d vs prior 30d)
r2u
CRAN
19
Last 30 days
43
Last 90 days
147
Last year
Trend: +18.8% (30d vs prior 30d)
autoCRAN
8
Last 7 days
56
Last 30 days
7
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
13
OK
Show all 13 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-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 |