Package: svAssert 0.1.1

svAssert: 'SciViews::R' - Assertions and Meaningful Error Messages
Assertions combining `is_xxx()` and `stop_xxx()` functions for maximum flexibility. Enhanced error messages for 'SciViews::R' based on `cli::cli_abort()` and `rlang::abort()` but also allowing message translation, including for messages in other package, or after the error is thrown.
Authors:
svAssert_0.1.1.tar.gz
svAssert_0.1.1.zip(r-4.7)svAssert_0.1.1.zip(r-4.6)svAssert_0.1.1.zip(r-4.5)
svAssert_0.1.1.tgz(r-4.6-x86_64)svAssert_0.1.1.tgz(r-4.6-arm64)svAssert_0.1.1.tgz(r-4.5-x86_64)svAssert_0.1.1.tgz(r-4.5-arm64)
svAssert_0.1.1.tar.gz(r-4.7-arm64)svAssert_0.1.1.tar.gz(r-4.7-x86_64)svAssert_0.1.1.tar.gz(r-4.6-arm64)svAssert_0.1.1.tar.gz(r-4.6-x86_64)
svAssert_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
svAssert/json (API)
NEWS
| # Install 'svAssert' in R: |
| install.packages('svAssert', repos = c('https://sciviews.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sciviews/svassert/issues
Pkgdown/docs site:https://www.sciviews.org
assertionsdefensive-programmingerror-handlingsciviews
Last updated from:80c9526d3f. Checks:11 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | NOTE | 165 | ||
| linux-devel-x86_64 | NOTE | 113 | ||
| source / vignettes | OK | 187 | ||
| linux-release-arm64 | NOTE | 118 | ||
| linux-release-x86_64 | NOTE | 160 | ||
| macos-release-arm64 | NOTE | 103 | ||
| macos-release-x86_64 | NOTE | 206 | ||
| macos-oldrel-arm64 | NOTE | 82 | ||
| macos-oldrel-x86_64 | NOTE | 186 | ||
| windows-devel | NOTE | 119 | ||
| windows-release | NOTE | 89 | ||
| windows-oldrel | NOTE | 90 | ||
| wasm-release | OK | 105 |
Exports:.opany_infinitecheckmate_msgscreate_messages_scripterror_classformat_inline_general_msgsget_stop_funget_threadsis_numericlblmod_contentmod_notobject_infoset_threadsstop_stop_!=stop_<stop_<=stop_==stop_>stop_>=stop_equalstop_greater_or_equalstop_greater_thanstop_is_numericstop_less_or_equalstop_less_thanstop_not_equalstop_top_callstopifnot_translate
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Check if an object contains infinite values | any_infinite |
| Messages for Translation: checkmate | checkmate_msgs |
| Messages for Translation: general | general_msgs |
| Get or set the number of OpenMP threads used by svAssert | get_threads set_threads |
| Assert that an argument is a vector of type numeric | is_numeric stop_is_numeric |
| Enhanced stop | error_class lbl object_info stop_ stop_top_call |
| Stop function for equality check | stop_== stop_equal |
| Stop function for greater than or equal (>=) check | stop_>= stop_greater_or_equal |
| Stop function for greater than (>) check | stop_> stop_greater_than |
| Stop function for less than or equal (<=) check | stop_<= stop_less_or_equal |
| Stop function for less than (<) check | stop_< stop_less_than |
| Stop function for inequality check | stop_!= stop_not_equal |
| Assert that expressions are all TRUE, with extended error messages | get_stop_fun mod_content mod_not stopifnot_ |
| Translate a message given a set of known messages and regex patterns | create_messages_script format_inline_ translate |
