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