get_temp: Get path to temporary file or directory

View source: R/utils.R

get_tempR Documentation

Get path to temporary file or directory

Description

Get path to temporary file or directory

Usage

get_temp(prefix = "readtext-", temp_dir = NULL, directory = FALSE, seed = NULL)

Arguments

prefix

a string appended to random file or directory names.

temp_dir

a path to temporary directory. If NULL, value from tempdir() will be used.

directory

logical; if TRUE, temporary directory will be created.

seed

a seed value for digest::digest. If NULL, a random value will be used.


kbenoit/readtext documentation built on Feb. 27, 2024, 7:45 p.m.