Function that traverses over the task dependency task to acquire libpaths for given nodes. It ensures that when runing a node, a libpath is constructed which has all the required packages on it.
task_graph_libpaths(g, node = NULL, lib.loc = .libPaths(), output = tempdir())task_graph object
Node(s) for which libpath should be constructed based on g
Library paths, defaulting to .libPaths().
Path to the checked output directory