createTmpDir: Create a random directory with prefix in R temp dir

Description Usage Arguments Value

View source: R/io.R

Description

Especially for testing code it is very helpful to have a temp directory with a defined prefix, so one knows which test produced which directory.

Usage

1
createTmpDir(prefix = NULL, dir = tempdir())

Arguments

prefix

A string that will preceed the directory name

dir

Directory where the random dir will be created under. Defaults to tempdir()

Value

Name of temporary directory


HTSeqGenie documentation built on Nov. 8, 2020, 6:12 p.m.