Package: restrictR 0.1.2
restrictR: Composable Runtime Contracts for R
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 DSL, no operator overloading, just idiomatic R.
Authors:
restrictR_0.1.2.tar.gz
restrictR_0.1.2.zip(r-4.7)restrictR_0.1.2.zip(r-4.6)restrictR_0.1.2.zip(r-4.5)
restrictR_0.1.2.tgz(r-4.6-any)restrictR_0.1.2.tgz(r-4.5-any)
restrictR_0.1.2.tar.gz(r-4.7-any)restrictR_0.1.2.tar.gz(r-4.6-any)
restrictR_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
restrictR/json (API)
NEWS
| # 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:4bb15c5ac5. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 106 | ||
| source / vignettes | OK | 176 | ||
| linux-release-x86_64 | OK | 110 | ||
| macos-release-arm64 | OK | 79 | ||
| macos-oldrel-arm64 | OK | 71 | ||
| windows-devel | OK | 75 | ||
| windows-release | OK | 74 | ||
| windows-oldrel | OK | 109 | ||
| wasm-release | OK | 97 |
Exports:as_contract_blockas_contract_textfailrequire_betweenrequire_characterrequire_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_uniquerestrict
Dependencies:
