shiny.benchmark icon indicating copy to clipboard operation
shiny.benchmark copied to clipboard

with_mock() is going away (2)

Open hadley opened this issue 4 months ago • 1 comments

This is a second reminder that with_mock() is going away in the next release of testthat, which I'm aiming to release October 1. The API functions that made it work are being removed in R 4.5.0, so we'd suggest that you switch to with_mocked_bindings()/local_mocked_bindings() instead.

hadley avatar Aug 09 '25 10:08 hadley

We're planning to submit testthat 3.3.0 to CRAN on Nov 10.

hadley avatar Sep 30 '25 14:09 hadley