Behavioral Contracts and Generative Laws for 'S7'

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. Generative laws combine generators, deterministic shrinking, and one-result 'tinytest' expectations.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("s7contract")

0.2.3 by Sounkou Mahamane Toure, a month ago


https://github.com/sounkou-bioinfo/s7contract, https://sounkou-bioinfo.github.io/s7contract/


Report a bug at https://github.com/sounkou-bioinfo/s7contract/issues


Browse source code at https://github.com/cran/s7contract


Authors: Sounkou Mahamane Toure [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports S7, stats

Suggests knitr, rmarkdown, tinytest


See at CRAN