Package 'contractr'

Title: Run-Time Type Contracts for R Functions
Description: Attaches run-time type contracts to R functions. A function is annotated with a type declaration written in the 'tastr' type language; contractr injects assertions that check the arguments and the return value against the declared type on every call, signalling a warning or an error (depending on the configured severity) when a value does not conform.
Authors: Aviral Goel [aut], Filip Krikava [aut, cre], Alexi Turcotte [aut], Pierre Donat-Bouillud [ctb]
Maintainer: Filip Krikava <[email protected]>
License: Apache License (>= 2)
Version: 0.0.0.9000
Built: 2026-07-22 12:24:24 UTC
Source: https://github.com/PRL-PRG/contractr

Help Index