mockery (

0 users

Mocking Library for R.

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: ORPHANED
Author(s): Noam Finkelstein [aut, cre], Lukasz Bartnik [aut]

License: MIT + file LICENSE

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

Released 10 months ago.

4 previous versions



  (0 votes)


  (0 votes)

Log in to vote.


No one has written a review of mockery yet. Want to be the first? Write one now.

Related packages:(20 best matches, based on common tags.)

Search for mockery on google, google scholar, r-help, r-devel.

Visit mockery on R Graphical Manual.