isolate_example: Isolate the side effects of an example. *[Stable]*

View source: R/utils.R

isolate_exampleR Documentation

Isolate the side effects of an example. [Stable]

Description

Runs code in a temporary directory in a controlled environment with a controlled set of options.

Usage

isolate_example(desc, code)

Arguments

desc

Character, description of the example.

code

Code to run.

Value

Nothing.


ropensci/drake documentation built on March 4, 2024, 6:02 p.m.