Skip to content

assertr

3.0.1Package record

Assertive Programming for R Analysis Pipelines

4packages dependsuggested by 2
30.4Kdownloads / year
92.0%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.0.1
READMEYes · 1,113 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structuredCitation fileNoWebsiteYes · pkgdown
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

30.4K
CRAN downloads in the past year
Rank #2,740 · ~83/day · ~2.5K/mo
Daily download trend is not available in this view yet.
1.9K30 days
5.6K90 days
30.4K1 year
Compare downloads with other packages →
Also on325 r2u32 autocran1.5K conda_forge

Repository

Moved from ropensci/assertr.

484Stars
33Forks
14Open issues
0Open PRs
6Releases
251Commits
22Commit identities
predicate-functionsanalysis-pipelineassertionsassertion-methodsassertion-libraryrrstatsr-package
251 commits · Last activity 2024-04-11 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-09-04 · 4802026-08-27 · 484
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
Makefile
Research and citation (1)
codemeta.json
Show all practicesHide 2 practices
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.1.0
Imports (6)
dplyrMASSmethodsstatsutilsrlang (>= 0.3.0)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect
Imports 4
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.4 (2015)
Releases (14)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 3.0.1Latest
    record
    2023-11-23 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.0.0
    record
    2022-11-06 · diff ↗ ·
    removed 4 exports
    assert_, assert_rows_, insist_, insist_rows_
    added 1 export
    has_only_names
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.8
    record
    2021-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
  • R
    R 4.0.0 released · 2020-04-24
  • 2.7
    record
    2020-02-05 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.6
    record
    2019-01-22 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.5
    record
    2018-02-23 · diff ↗ ·
    added 1 export
    error_df_return
  • 2.0.2.2
    record
    2017-06-06 · diff ↗
Show 11 earlier eventsHide 11 earlier events
  • 2.0.2.1
    record
    2017-05-31 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2.0.2
    record
    2017-03-23 · diff ↗
  • 2.0.0
    record
    2017-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.2
    record
    2016-08-02 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.0
    record
    2015-06-26 · diff ↗ ·
    added 9 exports
    assert_, assert_rows, assert_rows_, insist_, insist_rows, insist_rows_, maha_dist, num_row_NAs, within_n_mads
  • R
    R 3.2.0 released · 2015-04-16
  • 0.4.1
    record
    2015-03-24 · diff ↗
  • 0.4
    record
    2015-03-22
  • R
    R 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")
Fischetti, T. (2023). assertr: Assertive Programming for R Analysis Pipelines (Version 3.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for assertr version 3.0.1 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy