| 1 |
Package: mockery |
| 2 |
Title: Mocking Library for R |
| 3 |
Version: 0.4.5 |
| 4 |
Authors@R: c( |
| 5 |
person("Noam", "Finkelstein", role = "aut"), |
| 6 |
person("Lukasz", "Bartnik", role = "aut"), |
| 7 |
person("Jim", "Hester", role = "aut"), |
| 8 |
person("Hadley", "Wickham", , "[email protected]", role = c("aut", "cre")) |
| 9 |
) |
| 10 |
Description: The two main functionalities of this package are creating |
| 11 |
mock objects (functions) and selectively intercepting calls to a given |
| 12 |
function that originate in some other function. It can be used with |
| 13 |
any testing framework available for R. Mock objects can be injected |
| 14 |
with either this package's own stub() function or a similar |
| 15 |
with_mocked_binding() facility present in the 'testthat' package. |
| 16 |
License: MIT + file LICENSE |
| 17 |
URL: https://github.com/r-lib/mockery |
| 18 |
BugReports: https://github.com/r-lib/mockery/issues |
| 19 |
Depends: R (>= 3.6) |
| 20 |
Imports: testthat |
| 21 |
Suggests: knitr, R6, rmarkdown (>= 1.0) |
| 22 |
VignetteBuilder: knitr |
| 23 |
Encoding: UTF-8 |
| 24 |
RoxygenNote: 7.3.2.9000 |
| 25 |
Collate: 'expectations.R' 'mockery.R' 'mock-object.R' 'stub.R' |
| 26 |
NeedsCompilation: no |
| 27 |
Packaged: 2025-09-03 20:07:14 UTC; hadleywickham |
| 28 |
Author: Noam Finkelstein [aut], |
| 29 |
Lukasz Bartnik [aut], |
| 30 |
Jim Hester [aut], |
| 31 |
Hadley Wickham [aut, cre] |
| 32 |
Maintainer: Hadley Wickham <[email protected]> |
| 33 |
Repository: CRAN |
| 34 |
Date/Publication: 2025-09-04 07:10:02 UTC |