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.


drake documentation built on May 29, 2024, 11:08 a.m.