local_re_dir: Create temporary redirection directory with local cleanup

Description Usage Arguments Value

View source: R/re_dir.R

Description

Create a temporary directory via create_re_dir() with a cleanup handler attached to the calling environment. Cleanup deletes the directory and its contents using withr::defer().

Usage

1

Arguments

env

Attach cleanup handler to this environment, defaults to the calling environment.

Value

re_dir Newly created uniquely named temporary directory.


iiasa/testGAMS documentation built on Sept. 14, 2021, 1:04 p.m.