with_temp_libpaths {withr} | R Documentation |
Temporarily prepend a new temporary directory to the library paths.
with_temp_libpaths(code, action = "prefix") local_temp_libpaths(action = "prefix", .local_envir = parent.frame())
code |
|
action |
|
.local_envir |
|
[any]
The results of the evaluation of the code
argument.
withr
for examples
Other libpaths: with_libpaths