s7contract: 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.

Package details

AuthorSounkou Mahamane Toure [aut, cre]
MaintainerSounkou Mahamane Toure <sounkoutoure@gmail.com>
LicenseGPL (>= 3)
Version0.2.3
URL https://github.com/sounkou-bioinfo/s7contract https://sounkou-bioinfo.github.io/s7contract/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("s7contract")

Try the s7contract package in your browser

Any scripts or data that you put into this service are public.

s7contract documentation built on Sept. 10, 2026, 1:09 a.m.