for us as developers, this would be very useful for project setup/teardown in tests and examples.
we could simply out <- setupProject(); .teardownProject(out) and have libPaths reset, instead of (currently) requiring out$paths and origLibPaths to be passed to .teardownProject().