Contract helpers built with 'S7' for expressing runtime protocols around ordinary 'S7' dispatch. Structural interfaces describe small sets of required 'S7' generics, while explicit traits record registered implementations with optional default methods and associated metadata. Optional runtime checks can validate argument and return specifications in contract-scoped evaluation.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.3.0) |
| Imports: | S7 |
| Suggests: | knitr, rmarkdown, tinytest |
| Published: | 2026-05-07 |
| DOI: | 10.32614/CRAN.package.s7contract (may not be active yet) |
| Author: | Sounkou Mahamane Toure [aut, cre] |
| Maintainer: | Sounkou Mahamane Toure <sounkoutoure at gmail.com> |
| BugReports: | https://github.com/sounkou-bioinfo/s7contract/issues |
| License: | GPL (≥ 3) |
| URL: | https://github.com/sounkou-bioinfo/s7contract, https://sounkou-bioinfo.github.io/s7contract/ |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | s7contract results |
| Reference manual: | s7contract.html , s7contract.pdf |
| Vignettes: |
Bioinformatics Containers as Interfaces (source, R code) Go-Like Interfaces and Rust-Like Traits on S7 (source, R code) |
| Package source: | s7contract_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=s7contract to link to this page.