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.5)precondition_0.1.0.zip(r-4.4)precondition_0.1.0.zip(r-4.3)
precondition_0.1.0.tgz(r-4.4-x86_64)precondition_0.1.0.tgz(r-4.4-arm64)precondition_0.1.0.tgz(r-4.3-x86_64)precondition_0.1.0.tgz(r-4.3-arm64)
precondition_0.1.0.tar.gz(r-4.5-noble)precondition_0.1.0.tar.gz(r-4.4-noble)
precondition_0.1.0.tgz(r-4.4-emscripten)precondition_0.1.0.tgz(r-4.3-emscripten)
precondition.pdf |precondition.html✨
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 2 years agofrom:670e0fa58d. Checks:OK: 4 NOTE: 5. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 07 2024 |
R-4.5-win-x86_64 | NOTE | Nov 07 2024 |
R-4.5-linux-x86_64 | NOTE | Nov 07 2024 |
R-4.4-win-x86_64 | NOTE | Nov 07 2024 |
R-4.4-mac-x86_64 | NOTE | Nov 07 2024 |
R-4.4-mac-aarch64 | NOTE | Nov 07 2024 |
R-4.3-win-x86_64 | OK | Nov 07 2024 |
R-4.3-mac-x86_64 | OK | Nov 07 2024 |
R-4.3-mac-aarch64 | OK | Nov 07 2024 |
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 |