Package: s7contract 0.1.0.9000

s7contract: 'Go'-Like Interfaces and 'Rust'-Like Traits with '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.

Authors:Sounkou Mahamane Toure [aut, cre]

s7contract_0.1.0.9000.tar.gz
s7contract_0.1.0.9000.zip(r-4.7)s7contract_0.1.0.9000.zip(r-4.6)s7contract_0.1.0.9000.zip(r-4.5)
s7contract_0.1.0.9000.tgz(r-4.6-any)s7contract_0.1.0.9000.tgz(r-4.5-any)
s7contract_0.1.0.9000.tar.gz(r-4.7-any)s7contract_0.1.0.9000.tar.gz(r-4.6-any)
s7contract_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
s7contract/json (API)
NEWS

# Install 's7contract' in R:
install.packages('s7contract', repos = c('https://sounkou-bioinfo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sounkou-bioinfo/s7contract/issues

Pkgdown/docs site:https://sounkou-bioinfo.github.io

On CRAN:

Conda:

interfacess7

5.20 score 8 stars 208 downloads 19 exports 1 dependencies

Last updated from:ab577b1cb2. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK115
source / vignettesOK138
linux-release-x86_64OK105
macos-release-arm64OK90
macos-oldrel-arm64OK118
windows-develOK93
windows-releaseOK110
windows-oldrelOK85
wasm-releaseOK98

Exports:%::%as_interfaceassert_implementsassert_traithas_traitimpl_traitimplementsinterface_reportinterface_requirementinterface_requirementsmissing_requirementsnew_interfacenew_traittrait_assoc_consttrait_assoc_typetrait_calltrait_methodtrait_methodstrait_report

Dependencies:S7

Bioinformatics Containers as Interfaces

Rendered frombioinformatics-interfaces.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-05-04
Started: 2026-05-04

Go-Like Interfaces and Rust-Like Traits on S7

Rendered froms7-interfaces-and-traits.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-05-05
Started: 2026-05-04

Readme and manuals

Help Manual

Help pageTopics
Evaluate an S7 call under an interface or trait contract%::% contract_syntax
Inspect or check a Go-like structural interfaceassert_implements as_interface implements interface_report interface_requirements missing_requirements
Build a Go-like structural interface on top of S7interface_requirement new_interface
Build a Rust-like explicit trait on top of S7new_trait trait_method
s7contract: Contract Helpers for S7s7contract-package s7contract
Inspect or use a Rust-like explicit traitassert_trait has_trait impl_trait trait_assoc_const trait_assoc_type trait_call trait_methods trait_report