{
  "_id": "6a54a5b2ff0138dec5d66105",
  "Package": "s7contract",
  "Title": "'Go'-Like Interfaces and 'Rust'-Like Traits with 'S7'",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(given = \"Sounkou Mahamane\", family = \"Toure\",\nemail = \"sounkoutoure@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(given = \"Abiomix FZ LLC\", role = c(\"cph\", \"fnd\"),\ncomment = \"Copyright holder and funder of Abiomix contributions\")\n)",
  "Description": "Contract helpers built with 'S7' for expressing runtime\nprotocols around ordinary 'S7' dispatch. Structural interfaces\ndescribe small sets of required 'S7' generics, while explicit\ntraits record registered implementations with optional default\nmethods and associated metadata. Optional runtime checks can\nvalidate argument and return specifications in contract-scoped\nevaluation.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/abiomix/abiomix-r-open,\nhttps://github.com/sounkou-bioinfo/s7contract,\nhttps://sounkou-bioinfo.github.io/s7contract/",
  "BugReports": "https://github.com/abiomix/abiomix-r-open/issues",
  "Config/abiomix/public-license": "GPL-3.0-or-later",
  "Config/abiomix/commercial-license": "Separate written agreement for\nAbiomix-owned contributions",
  "Config/abiomix/license-policy": "https://github.com/abiomix/abiomix-r-open/blob/main/LICENSES.md",
  "Repository": "https://abiomix.r-universe.dev",
  "Date/Publication": "2026-07-13 08:37:42 UTC",
  "RemoteUrl": "https://github.com/abiomix/abiomix-r-open",
  "RemoteRef": "HEAD",
  "RemoteSha": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
  "RemoteSubdir": "packages/s7contract",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-13 08:41:05 UTC",
    "User": "root"
  },
  "Author": "Sounkou Mahamane Toure [aut, cre],\nAbiomix FZ LLC [cph, fnd] (Copyright holder and funder of Abiomix\ncontributions)",
  "Maintainer": "Sounkou Mahamane Toure <sounkoutoure@gmail.com>",
  "_user": "abiomix",
  "_type": "src",
  "_file": "s7contract_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/1fb9ed210353900f51a1b6fd34345e4f8b4344b5b08a202a2a370e4225d49a9f",
  "_filesize": 154482,
  "_sha256": "1fb9ed210353900f51a1b6fd34345e4f8b4344b5b08a202a2a370e4225d49a9f",
  "_expires": "2026-10-21T08:45:36.000Z",
  "_created": "2026-07-13T08:41:05.000Z",
  "_published": "2026-07-13T08:45:38.377Z",
  "_jobs": [
    {
      "job": 86771693073,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8273597706"
    },
    {
      "job": 86771693115,
      "time": 241,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8273642969"
    },
    {
      "job": 86771693092,
      "time": 71,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8273577935"
    },
    {
      "job": 86771693105,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8273606226"
    },
    {
      "job": 86771169689,
      "time": 165,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8273550153"
    },
    {
      "job": 86771693155,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8273595795"
    },
    {
      "job": 86771693126,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8273580544"
    },
    {
      "job": 86771693088,
      "time": 65,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8273575804"
    },
    {
      "job": 86771693083,
      "time": 63,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8273575574"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471",
  "_status": "success",
  "_upstream": "https://github.com/abiomix/abiomix-r-open",
  "_commit": {
    "id": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
    "author": "sounkou-bioinfo <sounkoutoure@gmail.com>",
    "committer": "sounkou-bioinfo <sounkoutoure@gmail.com>",
    "message": "Update bundled minibwa to upstream 0.4\n\nRefresh the pinned native sources to minibwa 0.4-r400 while retaining the reviewed portability and SIMD patch queue. Update the package version, installed provenance, CLI version assertion, and release documentation.\n",
    "time": 1783931862
  },
  "_maintainer": {
    "name": "Sounkou Mahamane Toure",
    "email": "sounkoutoure@gmail.com",
    "login": "sounkou-bioinfo",
    "mastodon": "@bioinfhotep@genomic.social",
    "description": "Sequences and Consequences.",
    "uuid": 56392505
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "S7",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "abiomix",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-29",
      "n": 20
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "sounkou-bioinfo",
      "count": 31,
      "uuid": 56392505
    }
  ],
  "_userbio": {
    "uuid": 171933943,
    "type": "organization",
    "name": "Litpeaks",
    "followers": 3,
    "description": "Litpeaks Github Organization"
  },
  "_downloads": {
    "count": 161,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/s7contract"
  },
  "_devurl": "https://github.com/abiomix/abiomix-r-open",
  "_pkgdown": "https://sounkou-bioinfo.github.io/s7contract/",
  "_searchresults": 12,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/s7contract.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sounkou-bioinfo/s7contract",
  "_realowner": "sounkou-bioinfo",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-07"
    }
  ],
  "_exports": [
    "%::%",
    "as_interface",
    "assert_implements",
    "assert_trait",
    "has_trait",
    "impl_trait",
    "implements",
    "interface_report",
    "interface_requirement",
    "interface_requirements",
    "missing_requirements",
    "new_interface",
    "new_trait",
    "trait_assoc_const",
    "trait_assoc_type",
    "trait_call",
    "trait_method",
    "trait_methods",
    "trait_report"
  ],
  "_help": [
    {
      "page": "grapes-colon-colon-grapes",
      "title": "Evaluate an S7 call under an interface or trait contract",
      "topics": [
        "%::%",
        "contract_syntax"
      ]
    },
    {
      "page": "interface_requirements",
      "title": "Inspect or check a Go-like structural interface",
      "topics": [
        "assert_implements",
        "as_interface",
        "implements",
        "interface_report",
        "interface_requirements",
        "missing_requirements"
      ]
    },
    {
      "page": "new_interface",
      "title": "Build a Go-like structural interface on top of S7",
      "topics": [
        "interface_requirement",
        "new_interface"
      ]
    },
    {
      "page": "new_trait",
      "title": "Build a Rust-like explicit trait on top of S7",
      "topics": [
        "new_trait",
        "trait_method"
      ]
    },
    {
      "page": "s7contract",
      "title": "s7contract: Contract Helpers for S7",
      "topics": [
        "s7contract-package",
        "s7contract"
      ]
    },
    {
      "page": "trait_methods",
      "title": "Inspect or use a Rust-like explicit trait",
      "topics": [
        "assert_trait",
        "has_trait",
        "impl_trait",
        "trait_assoc_const",
        "trait_assoc_type",
        "trait_call",
        "trait_methods",
        "trait_report"
      ]
    }
  ],
  "_readme": "https://github.com/abiomix/abiomix-r-open/raw/HEAD/packages/s7contract/README.md",
  "_rundeps": [
    "S7"
  ],
  "_vignettes": [
    {
      "source": "bioinformatics-interfaces.Rmd",
      "filename": "bioinformatics-interfaces.html",
      "title": "Bioinformatics Containers as Interfaces",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Background",
        "A toy assay container",
        "Operations and a consumer-owned interface",
        "When an explicit trait helps",
        "Design cautions",
        "References"
      ],
      "created": "2026-07-13 07:26:44",
      "modified": "2026-07-13 07:26:44",
      "commits": 1
    },
    {
      "source": "s7-interfaces-and-traits.Rmd",
      "filename": "s7-interfaces-and-traits.html",
      "title": "Go-Like Interfaces and Rust-Like Traits on S7",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Background",
        "A structural interface",
        "When the whole protocol is a class family",
        "Progressive argument and return checks",
        "Number-like behavior",
        "Vector-like behavior",
        "An explicit trait",
        "A Haskell-style dictionary object",
        "Which feels more natural?",
        "References"
      ],
      "created": "2026-07-13 07:26:44",
      "modified": "2026-07-13 07:26:44",
      "commits": 1
    }
  ],
  "_score": 3.5563025007672873,
  "_indexed": false,
  "_nocasepkg": "s7contract",
  "_universes": [
    "abiomix"
  ],
  "_indexurl": "https://sounkou-bioinfo.r-universe.dev/s7contract",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-13T08:43:09.000Z",
      "distro": "resolute",
      "commit": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
      "fileid": "https://r2.ropensci.org/3041c28440e986e8413a4c6a0398c0d50f2a12751d4a5476d9b173cb293c77a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-13T08:45:08.000Z",
      "distro": "resolute",
      "commit": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
      "fileid": "https://r2.ropensci.org/eadcae631d13fc20ad3884c40a518dfdb06c98b40b1f4ecd23415b0875d75915",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-13T08:42:21.000Z",
      "commit": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
      "fileid": "https://r2.ropensci.org/b625a7bd5dd4a1eb8e5c09609d09f64479bb673c6b810005e043139065b0ea57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-13T08:43:25.000Z",
      "commit": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
      "fileid": "https://r2.ropensci.org/8023e4e0d3c78018ae186ad424df06226abe48693f8567d2877e95e11a39ebab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-07-13T08:43:16.000Z",
      "commit": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
      "fileid": "https://r2.ropensci.org/9d818ebd9d885afa3982206c9dd6600c5b1e83ab1c1106c0425619a41f95ba29",
      "status": "success",
      "buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-13T08:42:18.000Z",
      "commit": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
      "fileid": "https://r2.ropensci.org/9d0f412aacdbd9c2b00077bdc786187f0cf02ea0fc44a48b9b179132c0071cf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-13T08:42:08.000Z",
      "commit": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
      "fileid": "https://r2.ropensci.org/c28f055c0dfabcd03dd2e7eb340d3a8ad258df4986a485f7d2d4655b29646228",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-13T08:42:06.000Z",
      "commit": "dd82290ba296385fcc7d7dfed339886e9deb41a2",
      "fileid": "https://r2.ropensci.org/12c84fe3ec924a65f862b13c0c6a8aa4dc6c1d1524a1eaa6a5ad705fa6fc5b6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/abiomix/actions/runs/29236136471"
    }
  ]
}