Skip to content

with_mock() is going away (2) #75

@hadley

Description

@hadley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions