Temporarily prepend a new temporary directory to the library paths.
with_temp_libpaths(code)local_temp_libpaths(.local_envir = parent.frame())
[any]
Code to execute in the temporary environment
[environment]
The environment to use for scoping.
[any]
The results of the evaluation of the code
argument.
withr
for examples
Other libpaths: with_libpaths