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 Nov. 6, 2023, 5:09 p.m.