Skip to content

Add contracts to R functions using annotations

Notifications You must be signed in to change notification settings

aviralg/contractr

Repository files navigation

contractr

Travis Build Status CRAN_Status_Badge

Overview

contractr processes annotations on function arguments and body and inserts corresponding contracts in the function body. Since GNU R does not support annotations (yet), this package relies on my own version of R, rant, which extends R to support annotations on functions, function formals and function body.

Installation

To install this package you have to install rant and annotatr packages.

git clone https://github.com/aviralg/rant
make -j -C rant
git clone https://github.com/aviralg/annotatr
rant/bin/R CMD INSTALL annotatr
git clone https://github.com/aviralg/contractr
rant/bin/R CMD INSTALL contractr

About

Add contracts to R functions using annotations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published