injectr - Inject code to existing functions
Allow one to inject arbitrary code at the entry point or at the exit point of an existing function.
Last updated
injectioninstrumentationtracing
3.38 score 4 stars 1 dependents 4 scriptscontractr - Run-Time Type Contracts for R Functions
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.
Last updated
contractstypecheckingtypescpp
2.88 score 5 stars 7 scriptsimputesrcref - Impute Transparent Source References for Injected Braces
Rewrites R function ASTs by injecting transparent brace calls in control-flow positions and imputing source references ('srcref') from parse data. Supports individual functions, sourced files, and installed package namespace functions, including package-style 'srcref' line mappings.
Last updated
code-coverageinstrumentationsource-referencesrcrref
2.85 score 1 starsrunr - Run R Experiments
Contains a set of helper functions and scripts for running R-related experiments.
Last updated
2.82 score 1 stars 33 scripts