Unload namespace if necessary after .rs.getPackageRStudioProtocol; internal logic for packify
Merge pull request #159 from rstudio/bugfix/ensure-packrat-unloaded-if-unused

Unload packrat after calling it to check project context