Assertive Programming for R Analysis Pipelines
Overview
Provides functionality to assert conditions that have to be met so that errors in data used in analysis pipelines can fail quickly. Similar to 'stopifnot()' but more powerful, friendly, and easier for use in pipelines.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 28includes a package overview page
- Examples that run
- 100%20 run in a plain check
- Exported functions with examples
- 95%
- Documented parameters
- 100%
- Return-value docs
- 90%
- Help pages citing references
- 0%
Downloads
Repository
Moved from ropensci/assertr.
- PRs merged (all time)
- 89%
- Median days to close, 50 most recently updated closed issues
- 98
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
7 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/ropensci/assertr on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 2 practices
Dependencies
Installing assertr adds 15 packages (9 with compiled code, 5.2 MB of source tarballs). Heaviest: vctrs 1.0 MB, dplyr 902 KB, rlang 766 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 3.0.1Latest
- RR 4.3.0 released · 2023-04-21
- 3.0.02022-11-06 · diff ↗ ·
removed 4 exports
assert_, assert_rows_, insist_, insist_rows_added 1 export
has_only_names - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.82021-01-25 · diff ↗ ·
added 9 exports
defect_append, defect_df_return, defect_report, duplicates_across_cols, has_class, success_append, success_df_return, success_report, warning_append - RR 4.0.0 released · 2020-04-24
- 2.72020-02-05 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.62019-01-22 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.5
- 2.0.2.22017-06-06 · diff ↗
Show 11 earlier eventsHide 11 earlier events
- 2.0.2.12017-05-31 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 2.0.22017-03-23 · diff ↗
- 2.0.02017-03-17 · diff ↗ ·
added 14 exports
chain_end, chain_start, col_concat, error_append, error_logical, error_report, error_return, error_stop, has_all_names, is_uniq, just_warn, success_continue, success_logical, warn_report - 1.0.22016-08-02 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.0.02015-06-26 · diff ↗ ·
added 9 exports
assert_, assert_rows, assert_rows_, insist_, insist_rows, insist_rows_, maha_dist, num_row_NAs, within_n_mads - RR 3.2.0 released · 2015-04-16
- 0.4.12015-03-24 · diff ↗
- 0.42015-03-22
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2015-03-22
- Total releases
- 14 / 11 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.1.0
- Download size
- 96 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("assertr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.