with_libpaths(new, code, action = "replace")
[character]
New library paths[any]
Code to execute in the temporary environment[character(1)]
should new values "replace"
, "prefix"
or
"suffix"
existing paths.[any]
The results of the evaluation of the code
argument.withr
for examplesOther libpaths: with_temp_libpaths