tempfile2: Make a temporary subfile in a temporary (sub-)directory

Description Usage Arguments See Also

View source: R/helpers.R

Description

Make a temporary subfile in a temporary (sub-)directory

Usage

1
2
3
4
5
tempfile2(
  sub = "",
  tempdir = getOption("Require.tempPath", .RequireTempPath()),
  ...
)

Arguments

sub

Character string, length 1. Can be a result of file.path("smth", "smth2") for nested temporary sub directories.

tempdir

Optional character string where the temporary dir should be placed. Defaults to .RequireTempPath()

...

passed to tempfile, e.g., fileext

See Also

tempdir2


Require documentation built on May 31, 2021, 9:07 a.m.