copy_to_tempdir: Copy a file to a temporary directory

View source: R/testing.R

copy_to_tempdirR Documentation

Copy a file to a temporary directory

Description

Takes the path to a file as input and returns the path where the temporary file is stored. Don't forget to unlink once you are done.

Usage

copy_to_tempdir(path_perm = testthat_file())

Arguments

path_perm

The path of the file to copy.


krlmlr/styler documentation built on Dec. 12, 2024, 8:36 a.m.