{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/devtools/issues/863","labels_url":"https://api.github.com/repos/hadley/devtools/issues/863/labels{/name}","comments_url":"https://api.github.com/repos/hadley/devtools/issues/863/comments","events_url":"https://api.github.com/repos/hadley/devtools/issues/863/events","html_url":"https://github.com/hadley/devtools/issues/863","id":91166595,"number":863,"title":"install_github forces upgrade of packages already installed","user":{"login":"cboettig","id":222586,"avatar_url":"https://avatars.githubusercontent.com/u/222586?v=3","gravatar_id":"","url":"https://api.github.com/users/cboettig","html_url":"https://github.com/cboettig","followers_url":"https://api.github.com/users/cboettig/followers","following_url":"https://api.github.com/users/cboettig/following{/other_user}","gists_url":"https://api.github.com/users/cboettig/gists{/gist_id}","starred_url":"https://api.github.com/users/cboettig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboettig/subscriptions","organizations_url":"https://api.github.com/users/cboettig/orgs","repos_url":"https://api.github.com/users/cboettig/repos","events_url":"https://api.github.com/users/cboettig/events{/privacy}","received_events_url":"https://api.github.com/users/cboettig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-26T06:14:15Z","updated_at":"2015-09-05T13:26:32Z","closed_at":null,"body":"I need a package that is broken by the latest version of `igraph` at the moment, so I install an archived first with `devtools::install_version()`.  I then go and install the package I need using `install_github()`, but this upgrades me to the latest version of `igraph`.  \r\n\r\nHere the archived version is installed: https://travis-ci.org/cboettig/gpmanagement/builds/68427213#L2133\r\n\r\nAnd here is `install_github` call updating it to the latest version: https://travis-ci.org/cboettig/gpmanagement/builds/68427213#L2756\r\n\r\nHere is the travis file for this build: https://github.com/cboettig/gpmanagement/blob/d1ac025328dc34dc1bd77bdf465f04ba2d6747fa/.travis.yml\r\n\r\nAm I just missing something or is this not the expected behavior? "},"comment":{"url":"https://api.github.com/repos/hadley/devtools/issues/comments/137955866","html_url":"https://github.com/hadley/devtools/issues/863#issuecomment-137955866","issue_url":"https://api.github.com/repos/hadley/devtools/issues/863","id":137955866,"user":{"login":"jeroenooms","id":216319,"avatar_url":"https://avatars.githubusercontent.com/u/216319?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenooms","html_url":"https://github.com/jeroenooms","followers_url":"https://api.github.com/users/jeroenooms/followers","following_url":"https://api.github.com/users/jeroenooms/following{/other_user}","gists_url":"https://api.github.com/users/jeroenooms/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenooms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenooms/subscriptions","organizations_url":"https://api.github.com/users/jeroenooms/orgs","repos_url":"https://api.github.com/users/jeroenooms/repos","events_url":"https://api.github.com/users/jeroenooms/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenooms/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T13:26:32Z","updated_at":"2015-09-05T13:26:32Z","body":"+1 for an option to disable automatic package upgrades. The problem with `dep = FALSE` is that it won't install required missing dependencies either, which causes the installation to fail. \r\n\r\nWe still need dependencies that are currently not installed, just not reinstall packages when a suitable version is available."}}