{
  "_id": "6a06d9797757ba2767e24d3c",
  "Package": "assertr",
  "Type": "Package",
  "Title": "Assertive Programming for R Analysis Pipelines",
  "Version": "3.0.1",
  "Authors@R": "person(\"Tony\", \"Fischetti\",\nemail=\"tony.fischetti@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Provides functionality to assert conditions that have to\nbe met so that errors in data used in analysis pipelines can\nfail quickly. Similar to 'stopifnot()' but more powerful,\nfriendly, and easier for use in pipelines.",
  "URL": "https://docs.ropensci.org/assertr/ (website)\nhttps://github.com/ropensci/assertr",
  "BugReports": "https://github.com/ropensci/assertr/issues",
  "License": "MIT + file LICENSE",
  "ByteCompile": "TRUE",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2024-04-11 23:36:15 UTC",
  "RemoteUrl": "https://github.com/tonyfischetti/assertr",
  "RemoteRef": "master",
  "RemoteSha": "e484665dba582582faa343d97a09d4a097db3bb1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 08:10:43 UTC",
    "User": "root"
  },
  "Author": "Tony Fischetti [aut, cre]",
  "Maintainer": "Tony Fischetti <tony.fischetti@gmail.com>",
  "MD5sum": "67f4b4feca2fdd6c6442028f25921176",
  "_user": "ropensci",
  "_type": "src",
  "_file": "assertr_3.0.1.tar.gz",
  "_fileid": "b13f8179fcf6d6facdecc0864b927be4b75ecfcc491650067497fae34a6a3607",
  "_filesize": 346152,
  "_sha256": "b13f8179fcf6d6facdecc0864b927be4b75ecfcc491650067497fae34a6a3607",
  "_created": "2026-05-15T08:10:43.000Z",
  "_published": "2026-05-15T08:29:45.184Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 76143649933,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7012866945"
    },
    {
      "job": 76143650083,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012864148"
    },
    {
      "job": 76143650226,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7012859927"
    },
    {
      "job": 76143650268,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012863660"
    },
    {
      "job": 76143243704,
      "time": 306,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012819219"
    },
    {
      "job": 76143243700,
      "time": 323,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012825037"
    },
    {
      "job": 76143649880,
      "time": 107,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "7012862281"
    },
    {
      "job": 76143650499,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7012862431"
    },
    {
      "job": 76143649864,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7012859122"
    },
    {
      "job": 76143649836,
      "time": 79,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7012856869"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tonyfischetti/assertr",
  "_commit": {
    "id": "e484665dba582582faa343d97a09d4a097db3bb1",
    "author": "Tony Fischetti <tony.fischetti@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #132 from JoshuaSturm/print_description_assert_errors\n\nPrint description in assert error summary",
    "time": 1712878575
  },
  "_maintainer": {
    "name": "Tony Fischetti",
    "email": "tony.fischetti@gmail.com",
    "login": "tonyfischetti",
    "twitter": "@tonyfischetti",
    "uuid": 1426723
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 0.7.0",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "tonyfischetti",
  "_selfowned": true,
  "_usedby": 11,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "analysis-pipeline",
    "assertion-library",
    "assertion-methods",
    "assertions",
    "peer-reviewed",
    "predicate-functions"
  ],
  "_stars": 482,
  "_contributors": [
    {
      "user": "tonyfischetti",
      "count": 177,
      "uuid": 1426723
    },
    {
      "user": "bfgray3",
      "count": 11,
      "uuid": 20310144
    },
    {
      "user": "billdenney",
      "count": 11,
      "uuid": 10359931
    },
    {
      "user": "krystian8207",
      "count": 11,
      "uuid": 20457043
    },
    {
      "user": "karldw",
      "count": 7,
      "uuid": 12504708
    },
    {
      "user": "michaelquinn32",
      "count": 6,
      "uuid": 3473921
    },
    {
      "user": "michaelchirico",
      "count": 3,
      "uuid": 7606389
    },
    {
      "user": "aalucaci",
      "count": 2,
      "uuid": 50903312
    },
    {
      "user": "datalove",
      "count": 2,
      "uuid": 222907
    },
    {
      "user": "sckott",
      "count": 2,
      "uuid": 577668
    },
    {
      "user": "peterwicksstringfield",
      "count": 2,
      "uuid": 26583603
    },
    {
      "user": "maelle",
      "count": 2,
      "uuid": 8360597
    },
    {
      "user": "jakubnowicki",
      "count": 2,
      "uuid": 7279715
    },
    {
      "user": "malexan",
      "count": 1,
      "uuid": 1481851
    },
    {
      "user": "filipefilardi",
      "count": 1,
      "uuid": 7308241
    },
    {
      "user": "graceli8",
      "count": 1,
      "uuid": 23415421
    },
    {
      "user": "jeroen",
      "count": 1,
      "uuid": 216319
    },
    {
      "user": "joshuasturm",
      "count": 1,
      "uuid": 22535419
    },
    {
      "user": "karthik",
      "count": 1,
      "uuid": 138494
    },
    {
      "user": "lorenzwalthert",
      "count": 1,
      "uuid": 10477073
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 1851,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/assertr"
  },
  "_devurl": "https://github.com/ropensci/assertr",
  "_pkgdown": "https://docs.ropensci.org/assertr/",
  "_searchresults": 644,
  "_metadata": {
    "review": {
      "id": 23,
      "status": "reviewed",
      "version": "1.0.0",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/23"
    },
    "ropensci_category": "scalereprod"
  },
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/assertr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tonyfischetti/assertr",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4",
      "date": "2015-03-22"
    },
    {
      "version": "0.4.1",
      "date": "2015-03-24"
    },
    {
      "version": "1.0.0",
      "date": "2015-06-26"
    },
    {
      "version": "1.0.2",
      "date": "2016-08-02"
    },
    {
      "version": "2.0.0",
      "date": "2017-03-17"
    },
    {
      "version": "2.0.2",
      "date": "2017-03-23"
    },
    {
      "version": "2.0.2.1",
      "date": "2017-05-31"
    },
    {
      "version": "2.0.2.2",
      "date": "2017-06-06"
    },
    {
      "version": "2.5",
      "date": "2018-02-23"
    },
    {
      "version": "2.6",
      "date": "2019-01-22"
    },
    {
      "version": "2.7",
      "date": "2020-02-05"
    },
    {
      "version": "2.8",
      "date": "2021-01-25"
    },
    {
      "version": "3.0.0",
      "date": "2022-11-05"
    },
    {
      "version": "3.0.1",
      "date": "2023-11-23"
    }
  ],
  "_exports": [
    "assert",
    "assert_rows",
    "chain_end",
    "chain_start",
    "col_concat",
    "defect_append",
    "defect_df_return",
    "defect_report",
    "duplicates_across_cols",
    "error_append",
    "error_df_return",
    "error_logical",
    "error_report",
    "error_return",
    "error_stop",
    "has_all_names",
    "has_class",
    "has_only_names",
    "in_set",
    "insist",
    "insist_rows",
    "is_uniq",
    "just_warn",
    "maha_dist",
    "not_na",
    "num_row_NAs",
    "success_append",
    "success_continue",
    "success_df_return",
    "success_logical",
    "success_report",
    "verify",
    "warn_report",
    "warning_append",
    "within_bounds",
    "within_n_mads",
    "within_n_sds"
  ],
  "_help": [
    {
      "page": "assert",
      "title": "Raises error if predicate is FALSE in any columns selected",
      "topics": [
        "assert"
      ]
    },
    {
      "page": "assert_rows",
      "title": "Raises error if predicate is FALSE for any row after applying row reduction function",
      "topics": [
        "assert_rows"
      ]
    },
    {
      "page": "assertr",
      "title": "assertr: Assertive programming for R analysis pipeline.",
      "topics": [
        "assertr-package",
        "assertr"
      ]
    },
    {
      "page": "chaining_functions",
      "title": "Chaining functions",
      "topics": [
        "chaining_functions",
        "chain_end",
        "chain_start"
      ]
    },
    {
      "page": "col_concat",
      "title": "Concatenate all columns of each row in data frame into a string",
      "topics": [
        "col_concat"
      ]
    },
    {
      "page": "duplicates_across_cols",
      "title": "Checks if row contains at least one value duplicated in its column",
      "topics": [
        "duplicates_across_cols"
      ]
    },
    {
      "page": "generate_id",
      "title": "Generates random ID string",
      "topics": [
        "generate_id"
      ]
    },
    {
      "page": "has_all_names",
      "title": "Returns TRUE if data.frame or list has specified names",
      "concept": [
        "Name verification"
      ],
      "topics": [
        "has_all_names"
      ]
    },
    {
      "page": "has_class",
      "title": "Returns TRUE if data.frame columns have a specified class",
      "topics": [
        "has_class"
      ]
    },
    {
      "page": "has_only_names",
      "title": "Returns TRUE if data.frame or list has only the specified names",
      "concept": [
        "Name verification"
      ],
      "topics": [
        "has_only_names"
      ]
    },
    {
      "page": "in_set",
      "title": "Returns TRUE if value in set",
      "topics": [
        "in_set"
      ]
    },
    {
      "page": "insist",
      "title": "Raises error if dynamically created predicate is FALSE in any columns selected",
      "topics": [
        "insist"
      ]
    },
    {
      "page": "insist_rows",
      "title": "Raises error if dynamically created predicate is FALSE for any row after applying row reduction function",
      "topics": [
        "insist_rows"
      ]
    },
    {
      "page": "is_uniq",
      "title": "Returns TRUE where no elements appear more than once",
      "topics": [
        "is_uniq"
      ]
    },
    {
      "page": "maha_dist",
      "title": "Computes mahalanobis distance for each row of data frame",
      "topics": [
        "maha_dist"
      ]
    },
    {
      "page": "not_na",
      "title": "Returns TRUE if value is not NA",
      "topics": [
        "not_na"
      ]
    },
    {
      "page": "num_row_NAs",
      "title": "Counts number of NAs in each row",
      "topics": [
        "num_row_NAs"
      ]
    },
    {
      "page": "print.assertr_assert_error",
      "title": "Printing assertr's assert errors",
      "topics": [
        "print.assertr_assert_error"
      ]
    },
    {
      "page": "print.assertr_defect",
      "title": "Printing assertr's defect",
      "topics": [
        "print.assertr_defect"
      ]
    },
    {
      "page": "print.assertr_success",
      "title": "Printing assertr's success",
      "topics": [
        "print.assertr_success"
      ]
    },
    {
      "page": "print.assertr_verify_error",
      "title": "Printing assertr's verify errors",
      "topics": [
        "print.assertr_verify_error"
      ]
    },
    {
      "page": "success_and_error_functions",
      "title": "Success and error functions",
      "topics": [
        "defect_append",
        "defect_df_return",
        "defect_report",
        "error_append",
        "error_df_return",
        "error_logical",
        "error_report",
        "error_return",
        "error_stop",
        "just_warn",
        "success_and_error_functions",
        "success_append",
        "success_continue",
        "success_df_return",
        "success_logical",
        "success_report",
        "warning_append",
        "warn_report"
      ]
    },
    {
      "page": "summary.assertr_assert_error",
      "title": "Summarizing assertr's assert errors",
      "topics": [
        "summary.assertr_assert_error"
      ]
    },
    {
      "page": "summary.assertr_verify_error",
      "title": "Summarizing assertr's verify errors",
      "topics": [
        "summary.assertr_verify_error"
      ]
    },
    {
      "page": "verify",
      "title": "Raises error if expression is FALSE anywhere",
      "topics": [
        "verify"
      ]
    },
    {
      "page": "within_bounds",
      "title": "Creates bounds checking predicate",
      "topics": [
        "within_bounds"
      ]
    },
    {
      "page": "within_n_mads",
      "title": "Return a function to create robust z-score checking predicate",
      "topics": [
        "within_n_mads"
      ]
    },
    {
      "page": "within_n_sds",
      "title": "Return a function to create z-score checking predicate",
      "topics": [
        "within_n_sds"
      ]
    }
  ],
  "_readme": "https://github.com/tonyfischetti/assertr/raw/master/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "assertr.Rmd",
      "filename": "assertr.html",
      "title": "Assertive R Programming with assertr",
      "author": "Tony Fischetti",
      "engine": "knitr::rmarkdown",
      "headings": [
        "concrete data errors",
        "enter assertr",
        "verify vs. assert",
        "assertr's predicates",
        "custom predicates",
        "enter insist and predicate 'generators'",
        "row-wise assertions and row reduction functions",
        "success, error and defect functions",
        "Obligatory assertions",
        "combining chains of assertions",
        "advanced: send email reports using custom error functions",
        "advanced: creating your own predicate generators for insist",
        "advanced: programming with assertion functions"
      ],
      "created": "2015-01-20 20:40:09",
      "modified": "2021-01-28 17:48:16",
      "commits": 16
    }
  ],
  "_score": 11.2555768695183,
  "_indexed": true,
  "_nocasepkg": "assertr",
  "_universes": [
    "ropensci",
    "tonyfischetti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.1",
      "date": "2026-05-15T08:13:01.000Z",
      "distro": "noble",
      "commit": "e484665dba582582faa343d97a09d4a097db3bb1",
      "fileid": "1a70be9cfc15b25016e6d63b036c0108151a32c5551d4eed4c2e1c59414fb0d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.0.1",
      "date": "2026-05-15T08:12:47.000Z",
      "distro": "noble",
      "commit": "e484665dba582582faa343d97a09d4a097db3bb1",
      "fileid": "834e06639d8c5369883bfad450ee2d28495cb538a0efb7fa643babe412eeba7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.1",
      "date": "2026-05-15T08:12:27.000Z",
      "commit": "e484665dba582582faa343d97a09d4a097db3bb1",
      "fileid": "7efa783d3b7a42c298ae293f6c2f9c01a3e9ca05b2b3b13fed685a773c59d741",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.0.1",
      "date": "2026-05-15T08:12:43.000Z",
      "commit": "e484665dba582582faa343d97a09d4a097db3bb1",
      "fileid": "4846dd982e1a73cf773ccdd03d4d014f691285c4499571a1de39d447c35bb845",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.1",
      "date": "2026-05-15T08:12:32.000Z",
      "commit": "e484665dba582582faa343d97a09d4a097db3bb1",
      "fileid": "9bb1b030ce7968ba2153cfc4102ec9390f3a24fc5c69f01faf3ff962ba25363c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0.1",
      "date": "2026-05-15T08:12:10.000Z",
      "commit": "e484665dba582582faa343d97a09d4a097db3bb1",
      "fileid": "6c42e4528c1773fa86cb1b97f34b9374e9889a3f58d055949d4c6f7cf696654b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.0.1",
      "date": "2026-05-15T08:11:59.000Z",
      "commit": "e484665dba582582faa343d97a09d4a097db3bb1",
      "fileid": "8545667631df158630cba8ac64ecfde1b50753713cbb1bfa3dcfb6ddc5c985f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.1",
      "date": "2026-05-22T07:40:59.000Z",
      "commit": "e484665dba582582faa343d97a09d4a097db3bb1",
      "fileid": "98cb5c34164b405599b57ee3f47656c79983b60241d8797da70f7931dcea2060",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907313262"
    }
  ]
}