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:Taras Zakharko [aut, cre]

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

On CRAN:

Conda:

3.74 score 11 stars 1 scripts 14 downloads 7 exports 1 dependencies

Last updated from:670e0fa58d. Checks:4 ERROR, 1 OK, 5 FAIL, 3 NOTE. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR106
linux-devel-x86_64ERROR121
source / vignettesOK177
linux-release-arm64ERROR101
linux-release-x86_64ERROR111
macos-release-arm64FAIL84
macos-release-x86_64FAIL144
macos-oldrel-arm64NOTE80
macos-oldrel-x86_64NOTE168
windows-develFAIL61
windows-releaseFAIL56
windows-oldrelNOTE74
wasm-releaseFAIL97

Exports:diagnose_assertion_failurediagnose_expressionsfatal_errorforwarded_arg_labelpostconditionpreconditionsanity_check

Dependencies:rlang

Readme and manuals

Help Manual

Help pageTopics
Implement a custom assertiondiagnose_assertion_failure forwarded_arg_label
Diagnose expressions and substitute debug markersdebug-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