tp_tempdir
returns a normalized path for a temporary directory where the
executables can read and write temporary files.
Arguments
- temp_dir
NULL, or a path to be used; if NULL, R's base::tempdir is used.
- sep
Better ignored; non-default values are passed to base::normalizePath.
- sub
Extension for defining a sub-directory within the directory defined by base::tempdir.