Package: precondition 0.1.0
precondition: Lightweight Precondition, Postcondition, and Sanity Checks
Implements fast, safe, and customizable assertions routines, which can be used in place of `base::stopifnot()`.
Authors:
precondition_0.1.0.tar.gz
precondition_0.1.0.zip(r-4.6)precondition_0.1.0.zip(r-4.5)
precondition_0.1.0.tgz(r-4.6-x86_64)precondition_0.1.0.tgz(r-4.6-arm64)precondition_0.1.0.tgz(r-4.5-x86_64)precondition_0.1.0.tgz(r-4.5-arm64)
precondition_0.1.0.tar.gz(r-4.7-arm64)precondition_0.1.0.tar.gz(r-4.7-x86_64)precondition_0.1.0.tar.gz(r-4.6-arm64)precondition_0.1.0.tar.gz(r-4.6-x86_64)
precondition_0.1.0.tgz(r-4.5-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
precondition/json (API)
NEWS
| # Install 'precondition' in R: |
| install.packages('precondition', repos = c('https://tzakharko.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tzakharko/precondition/issues
Last updated from:670e0fa58d. Checks:4 ERROR, 1 OK, 5 FAIL, 3 NOTE. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | ERROR | 106 | ||
| linux-devel-x86_64 | ERROR | 121 | ||
| source / vignettes | OK | 177 | ||
| linux-release-arm64 | ERROR | 101 | ||
| linux-release-x86_64 | ERROR | 111 | ||
| macos-release-arm64 | FAIL | 84 | ||
| macos-release-x86_64 | FAIL | 144 | ||
| macos-oldrel-arm64 | NOTE | 80 | ||
| macos-oldrel-x86_64 | NOTE | 168 | ||
| windows-devel | FAIL | 61 | ||
| windows-release | FAIL | 56 | ||
| windows-oldrel | NOTE | 74 | ||
| wasm-release | FAIL | 97 |
Exports:diagnose_assertion_failurediagnose_expressionsfatal_errorforwarded_arg_labelpostconditionpreconditionsanity_check
Dependencies:rlang
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Implement a custom assertion | diagnose_assertion_failure forwarded_arg_label |
| Diagnose expressions and substitute debug markers | debug-markers diagnose_expressions |
| Signal a fatal error (and optionally terminate the program execution) | fatal_error precondition_fatal_error_action |
| Pre- and postcondition checking (assertions) | postcondition precondition sanity_check |
