{
  "_id": "6a19ea411d7bb097a09c6a16",
  "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-05-29 19:30:20 UTC",
    "User": "root"
  },
  "Author": "Philippe Grosjean [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2694-9471>)",
  "MD5sum": "2db2befd2936ab07d92a6a5f598e2b6b",
  "_user": "sciviews",
  "_type": "src",
  "_file": "svAssert_0.1.1.tar.gz",
  "_fileid": "f52d658c4a5b81b5c0942eec457e3abdcc07be68dfa0bd57d0eb2ac6a0638575",
  "_filesize": 1491705,
  "_sha256": "f52d658c4a5b81b5c0942eec457e3abdcc07be68dfa0bd57d0eb2ac6a0638575",
  "_created": "2026-05-29T19:30:20.000Z",
  "_published": "2026-05-29T19:34:25.854Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78572629531,
      "time": 165,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7299379867"
    },
    {
      "job": 78572629543,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7299361310"
    },
    {
      "job": 78572629546,
      "time": 118,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7299362679"
    },
    {
      "job": 78572629548,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7299376391"
    },
    {
      "job": 78572629604,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7299351175"
    },
    {
      "job": 78572629652,
      "time": 186,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7299386233"
    },
    {
      "job": 78572629612,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7299358309"
    },
    {
      "job": 78572629602,
      "time": 206,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7299392183"
    },
    {
      "job": 78572130804,
      "time": 187,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299323310"
    },
    {
      "job": 78572629584,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299358804"
    },
    {
      "job": 78572629525,
      "time": 119,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7299364119"
    },
    {
      "job": 78572629524,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7299353936"
    },
    {
      "job": 78572629566,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7299353445"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/SciViews/svAssert",
  "_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
  },
  "_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"
  },
  "_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",
    "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.0",
  "_assets": [
    "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",
    "extra/svAssert.html",
    "manual.pdf"
  ],
  "_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-05-29T19:33:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "7e5af0e6bf0051312c83933a3d7f0aa15f087b18cd20b9447a2d869130104526",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-29T19:32:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "f55f006a2fa0bad41e5ab8c20e015de0e82a79e5b5e51e9d3b5b26c2d2ac7503",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-29T19:32:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "5653b2bb35873fc885c1d8d2e50f7fcf08d6a739a690b7848b84a6c5af345c59",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-29T19:32:57.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "0f686cc10c2bb8a70aeb1562477957dcfed093a13d38c20438d50c175925f36c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-29T19:31:46.000Z",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "0dd43e44fdd0d332268c18a89c29dd72094f11d01a6719516ff6e21fbacd4bd6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-29T19:33:13.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "35bfdc9ac3a63c59f09a2023ad08fdcafe0bef0d7897c89c67ebe39c0b05fe61",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-29T19:32:01.000Z",
      "arch": "aarch64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "cf8add436b6d3edd0a1931536321d7a53e3ada5558ae00a0e76e4fbbf3f6f6c4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-29T19:33:29.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "9f85b6a544c689fbe26d2cb39c7bdd79860019f2fadbd3bd5c4a5ff499b17c31",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-29T19:32:25.000Z",
      "arch": "emscripten",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "7453367ed2bd31477ba9ef7c89f879ae7214998a94a497d4d4a49b03f702a370",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-29T19:31:48.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "57cf33a16bd670d353eb91a5f062b480e41fe6d75a5e49e8c73fc88ae768d75d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-29T19:31:39.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "9adc0bfd01e87617d191ad54ebd827d51948333118eae6293a9d2d4191813c3c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-29T19:31:39.000Z",
      "arch": "x86_64",
      "commit": "80c9526d3f032b6bd9caa6651874cb6a736cd06a",
      "fileid": "545413b99319210e2779d9982f0c3297354c8f4b94584257e0abe60d93724e48",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/sciviews/actions/runs/26657708799"
    }
  ]
}