hadley/devtools — pull request #215 by wch (2012-12-15 21:18:38+00:00)
Title: Add with_lib function

This adds a function `with_lib`, which runs code with a library path prepended to the existing libpaths. It differs slightly from `with_libpaths`, which replaces the existing libpaths.

This will result in different behavior if dependencies are already installed in the existing libpaths -- `with_libpaths` won't install all the dependencies in the new libpath, but `with_lib` will.