Package: restrictR 0.2.0
restrictR: Composable Runtime Contracts
Build reusable validators from small building blocks using the base pipe operator. Define runtime contracts once with restrict() and enforce them anywhere in code. Validators compose naturally, support dependent rules via formulas, and produce clear, path-aware error messages. No domain-specific language, no operator overloading, just idiomatic R.
Authors:
restrictR_0.2.0.tar.gz
restrictR_0.2.0.zip(r-4.7-any)restrictR_0.2.0.zip(r-4.6-any)restrictR_0.2.0.zip(r-4.5-any)
restrictR_0.2.0.tgz(r-4.6-any)restrictR_0.2.0.tgz(r-4.5-any)
restrictR_0.2.0.tar.gz(r-4.7-any)restrictR_0.2.0.tar.gz(r-4.6-any)
restrictR_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
restrictR/json (API)
| # Install 'restrictR' in R: |
| install.packages('restrictR', repos = c('https://gcol33.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gcol33/restrictr/issues
Pkgdown/docs site:https://gillescolling.com
contractsruntime-checksruntime-contractsvalidation
Last updated from:e88cd0ec0b. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 131 | ||
| source / vignettes | OK | 146 | ||
| linux-release-x86_64 | OK | 144 | ||
| macos-release-arm64 | OK | 93 | ||
| macos-oldrel-arm64 | OK | 106 | ||
| windows-devel | OK | 75 | ||
| windows-release | OK | 82 | ||
| windows-oldrel | OK | 73 | ||
| wasm-release | OK | 110 |
Exports:as_contract_blockas_contract_textfailis_validrequire_betweenrequire_characterrequire_classrequire_col_betweenrequire_col_characterrequire_col_numericrequire_col_one_ofrequire_customrequire_dfrequire_finiterequire_has_colsrequire_integerrequire_lengthrequire_length_matchesrequire_length_maxrequire_length_minrequire_logicalrequire_namedrequire_negativerequire_no_narequire_not_nullrequire_nrow_matchesrequire_nrow_minrequire_numericrequire_one_ofrequire_positiverequire_scalarrequire_uniquerestrictvalidation_errors
Dependencies:
