Package: contractr Title: Run-Time Type Contracts for R Functions Version: 0.0.0.9000 Authors@R: c( person(given = "Aviral", family = "Goel", role = "aut", email = "goel.aviral@gmail.com"), person(given = "Filip", family = "Krikava", role = c("aut", "cre"), email = "krikava@gmail.com"), person(given = "Alexi", family = "Turcotte", role = "aut", email = "alexi.s.f.turcotte@gmail.com"), person(given = "Pierre", family = "Donat-Bouillud", role = "ctb", email = "pierre.donat.bouillud@gmail.com")) 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. License: Apache License (>= 2) Encoding: UTF-8 Suggests: testthat (>= 2.1.0), rlang, devtools, withr, mutator RoxygenNote: 7.1.2 Imports: injectr, roxygen2, utils Depends: roxygen2 Remotes: PRL-PRG/injectr, PRL-PRG/mutator SystemRequirements: GNU make, flex, bison, C++17 Config/pak/sysreqs: cmake make libuv1-dev libxml2-dev Repository: https://prl-prg.r-universe.dev Date/Publication: 2026-07-22 11:24:55 UTC RemoteUrl: https://github.com/PRL-PRG/contractr RemoteRef: HEAD RemoteSha: 670b4d89c340d8fa8eaccef64603acc457ae87e7 NeedsCompilation: yes Packaged: 2026-07-22 12:23:44 UTC; root Author: Aviral Goel [aut], Filip Krikava [aut, cre], Alexi Turcotte [aut], Pierre Donat-Bouillud [ctb] Maintainer: Filip Krikava