temporary: Write an object to a temporary file

Description Usage Arguments Value See Also Examples

Description

Write an object to a temporary CSV, RDS, or raw text file, and return the path to that file. This can be used, for example, as an argument to a giftwrapped function.

Usage

1
2
3
4
5

Arguments

x

An object

...

Extra arguments passed to the relevant writing function (such as write_csv for temp_csv)

Value

A string with the temporary filename containing the output. This will be in the temporary per-session directory.

See Also

tempfile

Examples

1
2
3

giftwrap documentation built on Dec. 15, 2020, 5:39 p.m.