{
  "_id": "6af70fc9b90b31e79afd804a",
  "Package": "svAssert",
  "Type": "Package",
  "Version": "0.1.1",
  "Title": "'SciViews::R' - Assertions and Meaningful Error Messages",
  "Description": "Assertions combining `is_xxx()` and `stop_xxx()` functions\nfor maximum flexibility. Enhanced error messages for\n'SciViews::R' based on `cli::cli_abort()` and `rlang::abort()`\nbut also allowing message translation, including for messages\nin other package, or after the error is thrown.",
  "Authors@R": "c(person(\"Philippe\", \"Grosjean\", role = c(\"aut\", \"cre\"),\nemail = \"phgrosjean@sciviews.org\",\ncomment = c(ORCID = \"0000-0002-2694-9471\")))",
  "Maintainer": "Philippe Grosjean <phgrosjean@sciviews.org>",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/SciViews/svAssert,\nhttps://www.sciviews.org/svAssert/,\nhttps://sciviews.r-universe.dev/svAssert",
  "BugReports": "https://github.com/SciViews/svAssert/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "ByteCompile": "yes",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Repository": "https://sciviews.r-universe.dev",
  "Date/Publication": "2026-03-24 11:21:38 UTC",
  "RemoteUrl": "https://github.com/SciViews/svAssert",
  "RemoteRef": "HEAD",
  "RemoteSha": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-13 13:19:12 UTC",
    "User": "root"
  },
  "Author": "Philippe Grosjean [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2694-9471>)",
  "_user": "sciviews",
  "_type": "src",
  "_file": "svAssert_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/921e63fbf71ba81a6fdb790ac263f53f7b54cf11233dc8f120c066323cba6ef8",
  "_filesize": 1491678,
  "_sha256": "921e63fbf71ba81a6fdb790ac263f53f7b54cf11233dc8f120c066323cba6ef8",
  "_expires": "2027-02-21T13:25:27.000Z",
  "_created": "2026-11-13T13:19:12.000Z",
  "_published": "2026-11-13T13:25:29.727Z",
  "_upstream": "https://github.com/SciViews/svAssert",
  "_status": "success",
  "_maintainer": {
    "name": "Philippe Grosjean",
    "email": "phgrosjean@sciviews.org",
    "login": "phgrosjean",
    "twitter": "@PhilGrosjean",
    "description": "R user and developer for stats and (marine) ecology",
    "uuid": 3286897,
    "orcid": "0000-0002-2694-9471"
  },
  "_jobs": [
    {
      "job": 131909919661,
      "time": 96,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14041990124"
    },
    {
      "job": 131909919463,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14040462171"
    },
    {
      "job": 131909919407,
      "time": 97,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14040309029"
    },
    {
      "job": 131909919339,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14042095064"
    },
    {
      "job": 131909919424,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14040128853"
    },
    {
      "job": 131909919618,
      "time": 227,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14042570041"
    },
    {
      "job": 131909919436,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14042160022"
    },
    {
      "job": 131909919363,
      "time": 333,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14042340613"
    },
    {
      "job": 131908412448,
      "time": 183,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14039069009"
    },
    {
      "job": 131909919240,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14041745237"
    },
    {
      "job": 131909919634,
      "time": 194,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14040338718"
    },
    {
      "job": 131909919522,
      "time": 199,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14040960265"
    },
    {
      "job": 131909919611,
      "time": 178,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14040094374"
    },
    {
      "job": 131909919614,
      "time": 194,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14039804925"
    },
    {
      "job": 131909919394,
      "time": 161,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14040531041"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583",
  "_commit": {
    "id": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
    "author": "Philippe Grosjean <phgrosjean@sciviews.org>",
    "committer": "Philippe Grosjean <phgrosjean@sciviews.org>",
    "message": "any_infinite() only parallelized if the size of the vector is >= 1 million items\n",
    "time": 1774351298
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "version": ">= 2.3.2",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.4",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.1",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "version": ">= 4.4.0",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "version": ">= 1.1.4",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "version": ">= 3.5.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.42",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.21",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "version": ">= 2.2.1",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "sciviews",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-52",
      "n": 7
    },
    {
      "week": "2026-01",
      "n": 9
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "assertions",
    "defensive-programming",
    "error-handling",
    "sciviews"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "phgrosjean",
      "count": 19,
      "uuid": 3286897
    }
  ],
  "_userbio": {
    "uuid": 5459393,
    "type": "organization",
    "name": "SciViews",
    "followers": 5,
    "description": "Data Science R Dialect"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/svAssert"
  },
  "_devurl": "https://github.com/sciviews/svassert",
  "_pkgdown": "https://www.sciviews.org/svAssert/",
  "_searchresults": 4,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/svAssert.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    ".op",
    "any_infinite",
    "checkmate_msgs",
    "create_messages_script",
    "error_class",
    "format_inline_",
    "general_msgs",
    "get_stop_fun",
    "get_threads",
    "is_numeric",
    "lbl",
    "mod_content",
    "mod_not",
    "object_info",
    "set_threads",
    "stop_",
    "stop_!=",
    "stop_<",
    "stop_<=",
    "stop_==",
    "stop_>",
    "stop_>=",
    "stop_equal",
    "stop_greater_or_equal",
    "stop_greater_than",
    "stop_is_numeric",
    "stop_less_or_equal",
    "stop_less_than",
    "stop_not_equal",
    "stop_top_call",
    "stopifnot_",
    "translate"
  ],
  "_help": [
    {
      "page": "any_infinite",
      "title": "Check if an object contains infinite values",
      "topics": [
        "any_infinite"
      ]
    },
    {
      "page": "checkmate_msgs",
      "title": "Messages for Translation: checkmate",
      "topics": [
        "checkmate_msgs"
      ]
    },
    {
      "page": "general_msgs",
      "title": "Messages for Translation: general",
      "topics": [
        "general_msgs"
      ]
    },
    {
      "page": "get_threads",
      "title": "Get or set the number of OpenMP threads used by svAssert",
      "topics": [
        "get_threads",
        "set_threads"
      ]
    },
    {
      "page": "is_numeric",
      "title": "Assert that an argument is a vector of type numeric",
      "topics": [
        "is_numeric",
        "stop_is_numeric"
      ]
    },
    {
      "page": "stop_",
      "title": "Enhanced stop",
      "topics": [
        "error_class",
        "lbl",
        "object_info",
        "stop_",
        "stop_top_call"
      ]
    },
    {
      "page": "stop_equal",
      "title": "Stop function for equality check",
      "topics": [
        "stop_==",
        "stop_equal"
      ]
    },
    {
      "page": "stop_greater_or_equal",
      "title": "Stop function for greater than or equal (>=) check",
      "topics": [
        "stop_>=",
        "stop_greater_or_equal"
      ]
    },
    {
      "page": "stop_greater_than",
      "title": "Stop function for greater than (>) check",
      "topics": [
        "stop_>",
        "stop_greater_than"
      ]
    },
    {
      "page": "stop_less_or_equal",
      "title": "Stop function for less than or equal (<=) check",
      "topics": [
        "stop_<=",
        "stop_less_or_equal"
      ]
    },
    {
      "page": "stop_less_than",
      "title": "Stop function for less than (<) check",
      "topics": [
        "stop_<",
        "stop_less_than"
      ]
    },
    {
      "page": "stop_not_equal",
      "title": "Stop function for inequality check",
      "topics": [
        "stop_!=",
        "stop_not_equal"
      ]
    },
    {
      "page": "stopifnot_",
      "title": "Assert that expressions are all TRUE, with extended error messages",
      "topics": [
        "get_stop_fun",
        "mod_content",
        "mod_not",
        "stopifnot_"
      ]
    },
    {
      "page": "translate",
      "title": "Translate a message given a set of known messages and regex patterns",
      "topics": [
        "create_messages_script",
        "format_inline_",
        "translate"
      ]
    }
  ],
  "_pkglogo": "https://github.com/SciViews/svAssert/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/SciViews/svAssert/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "svAssert.Rmd",
      "filename": "svAssert.html",
      "title": "'SciViews-R' - Assertions and Meaningful Error Messages",
      "author": "Philippe Grosjean",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quick but versatile assertions",
        "Base R solution with if (cond) stop()",
        "Base R with stopifnot()",
        "{svAssert} assertions",
        "Assertions with",
        "Enhanced stopifnot_()",
        "Impact on performances",
        "Error message translation"
      ],
      "created": "2025-12-25 13:37:19",
      "modified": "2026-01-02 13:54:35",
      "commits": 5
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "svassert",
  "_universes": [
    "sciviews",
    "phgrosjean"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-13T13:20:54.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/2336fe038c11a2cae59888cc4c3578180afe8e10b2cf48c5bd269d31a78ec560",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-13T13:21:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/99e5fbc7d9bbec3a27e3da71c42fd23f6f0410be8bebbd84731e2c9aabd004cf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-13T13:20:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/15912993dde093e172438a5fb39bd42d47ed369edc3255831a45fd726c53df80",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-13T13:21:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/f3268e1c816c9d327b3aabc73818e36a06bbd1227fec5437a247e22b51c24c0a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-13T13:21:12.000Z",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/1e57205d06db6a966f6220e5c14ad41b6ee8f38d1b30f7b70ac37212272a5c66",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-13T13:22:25.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/a8ff51e2526698151ecd908ae903f4062527c8d02eba64841ada29092c5b6272",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-13T13:21:06.000Z",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/7c7f3d8d78bee41ecf805d8e22de9a20bf1a9b38276edafa47c272118f90763d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-13T13:23:51.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/fe55e9181cf873fd9bdc1a333a4c3f9606d01ab2597d00bbeb119530b1ee68fc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-11-13T13:21:03.000Z",
      "arch": "emscripten",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/3e1322d6a417cfe0498201068a4feaa9cec5767d6d446c4f2b13856951c3e37d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-13T13:22:16.000Z",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/183bdf6957225c6cf4602e69710e3f4f523fa40092d11d4c047598267c9166a8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-13T13:21:05.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/dfddaaf9576ec912994442f1fe1de8b23ffdd9420c016d4e645b6fc9eb8dd439",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-13T13:21:31.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/65b02223d166a747cf795baeeec620fad94b7120f55eb6a36f6734c7de7a790c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-13T13:22:19.000Z",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/f5f5071b77dc68166c95b14a703f00ce238affa4847ddc0091933efd143be45b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-13T13:21:22.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "https://r2.ropensci.org/863c4ec70d6f231ddfd1481a8a837a86b64dba3b8df6132bcb6103d407dcf237",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/43432213583"
    }
  ]
}