mockery (0.4.2)

Mocking Library for R.

https://github.com/jfiksel/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: Jim Hester
Author(s): Noam Finkelstein [aut], Lukasz Bartnik [aut], Jim Hester [cre]

License: MIT + file LICENSE

Uses: testthat, knitr, R6, 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 3 months ago.