tempdir2 {reproducible} | R Documentation |
Make a temporary (sub-)directory
Description
Create a temporary subdirectory in getOption("reproducible.tempPath")
.
Usage
tempdir2(
sub = "",
tempdir = getOption("reproducible.tempPath", .reproducibleTempPath()),
create = TRUE
)
Arguments
sub |
Character string, length 1. Can be a result of
|
tempdir |
Optional character string where the temporary
directory should be placed. Defaults to |
create |
Logical. Should the directory be created. Default |
Value
A character string of a path (that will be created if create = TRUE
) in a
sub-directory of the tempdir()
.
See Also
[Package reproducible version 2.1.0 Index]