Skip to content

Mocking #159

Description

@krlmlr

Useful to test functions that normally interact with the file system or the web, such as install_github in devtools. Also to speed up integration tests that involve heavy computation.

As suggested in https://github.com/hadley/devtools/pull/475/files#r16603091 . Proof of concept is available in devtools, a robust implementation will perhaps add a new environment to the search path.

Was suggested before in #93. @lbartnik: Are you still interested?

Was also discussed in r-lib/devtools#388. CC: @wch.

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