About Anaconda Help Download Anaconda

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.

copied from cf-post-staging / r-mockthat
Type Size Name Uploaded Downloads Labels
conda 44.3 kB | noarch/r-mockthat-0.2.8-r44hc72bb7e_2.conda  6 days and 1 hour ago 34 main
conda 44.4 kB | noarch/r-mockthat-0.2.8-r45hc72bb7e_2.conda  6 days and 1 hour ago 37 main
conda 43.7 kB | noarch/r-mockthat-0.2.8-r44hc72bb7e_1.conda  1 year and 2 months ago 1128 main
conda 43.5 kB | noarch/r-mockthat-0.2.8-r43hc72bb7e_1.conda  1 year and 2 months ago 1080 main
conda 43.1 kB | noarch/r-mockthat-0.2.8-r42hc72bb7e_0.conda  1 year and 6 months ago 1148 main
conda 43.2 kB | noarch/r-mockthat-0.2.8-r43hc72bb7e_0.conda  1 year and 6 months ago 1216 main

© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.2) Legal | Privacy Policy