robertzk/rum: Mocha-inspired mocking and stubbing (http://github.com/robertzk/rum)

Have you ever wished to test whether a certain R function was called or not called? Or whether it was called with a given set of parameters? Inspired by Ruby's Mocha gem, rum aims to make it easy to write tests that ensure other package functions are or are not called. This is important because it eliminates messy stubbing that would have to be performed otherwise to achieve the same effect.

Getting started

Package details

AuthorRobert Krzyzanowski <technoguyrob@gmail.com>
MaintainerRobert Krzyzanowski <technoguyrob@gmail.com>
LicenseMIT + file LICENSE
Version0.1.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("robertzk/rum")
robertzk/rum documentation built on May 27, 2019, 11:37 a.m.