mockery (0.4.0)

Mocking Library for R.

https://github.com/n-s-f/mockery
http://cran.r-project.org/web/packages/mockery

The two main functionalities of this package are creating mock objects (functions) and selectively intercepting calls to a given function that originate in some other function. It can be used with any testing framework available for R. Mock objects can be injected with either this package's own stub() function or a similar with_mock() facility present in the testthat package.

Maintainer: Noam Finkelstein
Author(s): Noam Finkelstein [aut, cre], Lukasz Bartnik [aut]

License: MIT + file LICENSE

Uses: testthat, knitr, rmarkdown
Reverse suggests: AlphaVantageClient, AzureML, bench, checkpoint, civis, cli, covr, cranlike, crayon, data.tree, debugme, devtools, dwapi, evaluator, geohashTools, googleCloudVisionR, imagefluency, keyring, lintr, metaDigitise, miniCRAN, mknapsack, MtreeRing, newsanchor, orderly, overture, pak, petro.One, pkgcache, prettycode, rcmdcheck, rdoc, remotes, rGoodData, rotor, rromeo, RTD, rversions, sankey, secret, sessioninfo, subprocess, tracer, vaultr, whoami, xml2

Released about 2 years ago.