mockery
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.
- Version0.4.4
- R versionunknown
- LicenseMIT
- LicenseLICENSE
- Needs compilation?No
- Last release09/26/2023
Documentation
Team
Hadley Wickham
MaintainerShow author detailsJim Hester
Show author detailsRolesAuthorNoam Finkelstein
Show author detailsRolesAuthorLukasz Bartnik
Show author detailsRolesAuthor
Insights
Last 30 days
This package has been downloaded 73,198 times in the last 30 days. This work is reaching a lot of screens. A significant achievement indeed! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 852 times.
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Last 365 days
This package has been downloaded 905,856 times in the last 365 days. This is starting to look legendary. Enough downloads to inspire a dedicated panel discussion! The day with the most downloads was Feb 11, 2025 with 3,753 downloads.
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Imports1 package
- Suggests3 packages
- Reverse Imports2 packages
- Reverse Suggests127 packages