Temorarily change the current working directory.
with_dir(new, code)
[character(1)] New working directory
[character(1)]
[any] Code to execute in the temporary environment
[any]
[any] The results of the evaluation of the code argument.
code
withr for examples
withr
setwd