Skip to content

s7contract

0.2.3Package record

Behavioral Contracts and Generative Laws for 'S7'

0packages depend
1.8Kdownloads / year
89.4%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.2.3
  • Source builds exclude local test.arrows data files.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK6 OK2026-05-08
Advisories

none known

Documentation

In release 0.2.3
README· In the repository, left out of the releaseVignettesYes · 7 · dynamicNEWSYes · 100% structured · mentions 0.2.3Citation fileNoWebsiteYes · pkgdown
Help pages
17includes a package overview page
Examples that run
100%11 run in a plain check
Exported functions with examples
69%
Documented parameters
80%
Return-value docs
100%
Help pages citing references
12%

Downloads

1.8K
CRAN downloads in the past year
Rank #9,156 · ~5/day · ~151/mo
Daily download trend is not available in this view yet.
51630 days
1.1K90 days
1.8K1 year
Compare downloads with other packages →
Also on185 r2u7 autocran

Repository

8Stars
0Forks
0Open issues
0Open PRs
3Releases
42Commits
1Commit identities
interfacesrs7
42 commits · Last activity 2026-09-14 · 0% stars, 30d · Default branch at 0.2.3.9000, ahead of CRAN 0.2.3 (checked 2026-10-25)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-05-01 · 12026-07-07 · 8
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/sounkou-bioinfo/s7contract on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-14 · The repository has a site deploy workflow

pkgdown site last built 2026-09-14

Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing s7contract adds 1 package (1 with compiled code, 180 KB of source tarballs). Heaviest: S7 180 KB.

Depends (1)
R >= 4.3.0
Imports (2)
S7stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.3Latest
    record
    2026-09-09 · current release · diff ↗ ·
    added 25 exports
    assume, check_law, expect_law, format_check_result, gen_bind, gen_choice, gen_commands, gen_constant, gen_double, gen_element, gen_example, gen_integer, gen_map, gen_no_shrink, gen_product, gen_recursive, gen_resize, gen_sample, gen_sized, gen_subsequence, gen_vector, new_command, new_generator, new_law, new_state_law
  • 0.1.0
    record
    2026-05-07
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-07
Total releases
2 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.3.0
Download size
159 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("s7contract")
Toure, S. M. (2026). s7contract: Behavioral Contracts and Generative Laws for 'S7' (Version 0.2.3) [Computer software]. https://doi.org/10.32614/CRAN.package.s7contract

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for s7contract version 0.2.3 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy