CMD + K

r-mockery

Community

Mocking Library for R

Installation

To install this package, run one of the following:

Conda
$conda install odsp-test::r-mockery

Usage Tracking

0.4.1.1
1 / 8 versions selected
Total downloads: 0

Description

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.

About

Summary

Mocking Library for R

Information Last Updated

Mar 25, 2025 at 16:19

License

MIT

Total Downloads

98