tar_dir | R Documentation |
Runs code inside a new tempfile()
directory
in order to avoid writing to the user's file space.
Used in examples and tests in order to comply with CRAN policies.
tar_dir(code)
code |
User-defined code. |
Return value of the user-defined code.
Other utilities to extend targets:
tar_assert
,
tar_condition
,
tar_language
,
tar_test()
tar_dir(file.create("only_exists_in_tar_dir")) file.exists("only_exists_in_tar_dir")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.