Appendix C — Sources

This appendix contains only public, reader-verifiable references. Claims should distinguish official mechanism documentation, public package documentation, public source observations, public test assertions, and editorial proposals.

C.1 S7 mechanism documentation

Official documentation is the authority for supported mechanisms. Version-sensitive runtime claims should also identify released R and S7 versions used by a reproducible probe.

C.2 Principal public exhibits

C.2.1 rtemis

Public source observation. The linked implementation supports the chapter’s claims about constraints as data, separate tuning intent, defaults, conditional applicability, contextual data bounds, and multiple consumers. Whether every generated projection remains aligned is an obligation proposed by the chapter, not a fact inferred from one implementation.

C.2.2 deputy

Public package documentation and source observation. These sources support the distinction among declarative tools and policies, host-enforced permissions, live agent execution, streaming, and completed run results. The chapter’s ownership vocabulary is an editorial interpretation of those public mechanisms.

C.2.3 sqlr

Public documentation and source observation. The README and generic definitions support the claims about a semantic schema representation shared by rendering, reflection, equality, and diffing; dialect objects; refusal of a generic fallback; dependency-aware rendering; and bounded reflection. Calling this an “earned IR” is the chapter’s editorial evaluation.

C.3 Focused contrasts

C.3.1 S7schema

Official package documentation. The package page and manual support the claims that YAML content is validated against JSON Schema through AJV/V8 and that S7 supplies surrounding configuration and extension machinery. The authority comparison with stacbuildr is editorial synthesis.

C.3.2 resultr

Public source observation. The implementation supports the claims about Success and Failure, short-circuiting and_then(), and the wrap_in_result() adapter between conditions and values. The recommendation to choose one deliberate boundary is editorial.

C.3.3 stacbuildr

Public package documentation and source observation. These sources support the claims about STAC document classes, validation against published schemas, native geospatial boundary constructors, and tabular or spatial projections. The claim that the native layer and external schema have different authority is editorial synthesis.

C.4 Additional exhibits used in prose

C.4.1 quickr

Public source observation. The source supports the bounded claim that quickr compiles R toward Fortran and passes structured, typed artifacts such as FortranSubroutine through compilation. The broader lesson that a typed IR must be earned by analysis and translation is editorial.

C.4.2 typedjson

Public package documentation. The README supports the claims that ordinary values remain readable JSON, annotations are introduced for distinctions JSON cannot preserve, and the intended law is an R-value round trip. “Minimum metadata” is the chapter’s summary of that documented design.

C.4.3 s7contract

Official package documentation and public source observation. These sources support the claims about structural interfaces, explicit traits, runtime argument and return contracts, and generative laws with shrinking. The limits of sampled laws are an editorial caution, not a package guarantee.

C.4.4 optimizers7 and parameters7

Public package documentation. The linked READMEs support the claims that stopping rules are modeled separately and compositionally, and that constrained parameters expose reusable maps, inverses, and derivatives. The decision threshold for promoting policy to an object is editorial.

C.5 Other public package references

Ellmer appears in the deputy discussion only to identify the public chat abstraction with which deputy composes; the linked official documentation is the source for that identification. The remaining packages are retained as descriptive public references used elsewhere in the book. Inclusion is not a claim about popularity, maturity, or comparative quality.

C.6 Public theory and engineering references

Conceptual background also includes Bertrand Meyer’s Object-Oriented Software Construction; Eric Evans’s Domain-Driven Design; Gamma, Helm, Johnson, and Vlissides’s Design Patterns; Scott Wlaschin’s Domain Modeling Made Functional; and David Parnas’s “On the Criteria To Be Used in Decomposing Systems into Modules.”

C.7 Evidence labels

  • Official mechanism: documented by S7 or another authoritative public specification.
  • Public source observation: visible in a linked public repository; behavior may change. Version-sensitive observations should use an immutable revision link.
  • Public test assertion: encoded in a linked package test suite.
  • Released-version probe: reproducible execution naming R, S7, and package versions.
  • Editorial proposal: guidance offered for evaluation, not a claim that a package implements it.

A source comment, README statement, or single implementation can motivate a question. It should not become a universal claim without corroborating evidence.

C.8 Bibliography

Bengtsson, Henrik. 2026a. “A Future for r: Best Practices for Package Developers.” https://cran.r-project.org/web/packages/future/vignettes/future-7-for-package-developers.html.
Bengtsson, Henrik. 2026b. “A Future for r: Non-Exportable Objects.” https://cran.r-project.org/web/packages/future/vignettes/future-4-non-exportable-objects.html.
Bernhardt, Gary. 2012. “Boundaries.” https://www.destroyallsoftware.com/talks/boundaries.
CERT Coordination Center. 2024. “R Programming Language Implementations Are Vulnerable to Arbitrary Code Execution During Deserialization.” https://www.kb.cert.org/vuls/id/238194.
Glasgow Haskell Compiler contributors. 2026. “The Newtype Declaration.” https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/newtype.html.
Hickey, Rich. 2012. “The Value of Values.” https://www.infoq.com/presentations/Value-Values/.
King, Alexis. 2019. “Parse, Don’t Validate.” November 5. https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/.
McDonnell, Colin. 2026. “Zod: Branded Types.” https://zod.dev/api?id=branded-types.
National Vulnerability Database. 2024. “CVE-2024-27322.” https://nvd.nist.gov/vuln/detail/CVE-2024-27322.
R Core Team. 2026. “Serialization Interface for Single Objects.” https://stat.ethz.ch/R-manual/R-devel/library/base/html/readRDS.html.
Rust Project Developers. 2026. “Trait Std::convert::TryFrom.” https://doc.rust-lang.org/std/convert/trait.TryFrom.html.
Vaughan, Davis. 2024. “S7 0.2.0.” November 18. https://tidyverse.org/blog/2024/11/s7-0-2-0/.
Wadler, Philip. 1998. “The Expression Problem.” https://homepages.inf.ed.ac.uk/wadler/papers/expression/expression.txt.