Package: mockthat
Title: Function Mocking for Unit Testing
Version: 0.2.8
Authors@R: 
    person(given = "Nicolas",
           family = "Bennett",
           role = c("aut", "cre"),
           email = "nicolas.bennett@stat.math.ethz.ch")
Description: With the deprecation of mocking capabilities shipped with
    'testthat' as of 'edition 3' it is left to third-party packages to replace
    this functionality, which in some test-scenarios is essential in order to
    run unit tests in limited environments (such as no Internet connection).
    Mocking in this setting means temporarily substituting a function with a
    stub that acts in some sense like the original function (for example by
    serving a HTTP response that has been cached as a file). The only exported
    function 'with_mock()' is modeled after the eponymous 'testthat' function
    with the intention of providing a drop-in replacement.
License: MIT + file LICENSE
URL: https://nbenn.github.io/mockthat/
BugReports: https://github.com/nbenn/mockthat/issues
Depends: R (>= 3.3.0)
Imports: utils, rlang
Suggests: testthat, pkgload, curl, jsonlite, withr
Encoding: UTF-8
Language: en-US
RoxygenNote: 7.2.1
NeedsCompilation: no
Packaged: 2022-10-31 13:34:03 UTC; nbennett
Author: Nicolas Bennett [aut, cre]
Maintainer: Nicolas Bennett <nicolas.bennett@stat.math.ethz.ch>
Repository: CRAN
Date/Publication: 2022-11-01 08:07:45 UTC
Built: R 4.2.0; ; 2022-11-02 11:40:17 UTC; unix
