hadley/devtools — pull request #658 by krlmlr (2014-12-03 08:04:11+00:00)
Title: Use correct repository when using install_github with a pull request

Installing a pull request now uses the repository associated with the pull request's branch (and not the repository of the user who created the pull request).

Example: A shared repository where a collaborator has issued a pull request within this shared repo, e.g., `devtools::install_github("johnmyleswhite/ProjectTemplate#134")`

Includes a test.