hedgehogqa / r-hedgehog

Release with confidence, state-of-the-art property testing for R.
Other
54 stars 5 forks source link

Initial hedgehog for R #1

Closed HuwCampbell closed 7 years ago

HuwCampbell commented 7 years ago

Property based testing in R.

HuwCampbell commented 7 years ago

R is rather peculiar; some things may seem strange. The condition system is sort of like checked exceptions; and the S3 class system is a form of ad-hoc polymorphism.

Documentation wise, if you see comments for a function, e.g., forall with something like

#' Hedgehog property test
#' @param argument blah

It has been compiled into a man page, and would be readable with ?forall.

The documents in the vignettes folder are also compiled when the package is built, and are available with vignette("hedgehog").