-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install_github forces upgrade of packages already installed #863
Comments
this also affects |
Just to make this a concise reproducible example: devtools::install_version('igraph', '0.7.1', repo = 'http://cran.rstudio.com')
# This next command first upgrades igraph, which causes the installation to fail
devtools::install_github("nimble-dev/nimble/packages/nimble@stable") note that the nimble package does not place any restrictions on version numbers of its dependencies (and its installation fails with igraph > 1.0, but works with 0.7.1). Or maybe @gaborcsardi can see if I'm just doing something wrong with respect to igraph or this installation? |
I agree that this behavior is annoying and causes unexpected system changes when I'm debugging stuff. Maybe make it opt-in? |
Yeah, this is expected behaviour because I see a lot of people who have problems because (e.g.) they installed the latest ggplot2, but have an old version of dplyr. If you don't want to update the deps, do |
+1 for an option to disable automatic package upgrades. The problem with We still need dependencies that are currently not installed, just not reinstall packages when a suitable version is available. |
Still tries to install The installed EDIT: Package: PredRetR
Version: 0.55
Date: 2016-05-20
Title: PredRetR
Author: Jan Stanstrup <stanstrup@gmail.com>
Maintainer: Jan Stanstrup <stanstrup@gmail.com>
Depends: R (>= 2.14.0), rmongodb, ggplot2, shiny
Suggests: rCharts
Imports: stringr, mgcv, pracma, boot, parallel, plyr, reshape2, Rplot.extra, massageR, igraph, ini
Enhances:
Description: Functions for PredRet prediction of retention times.
License: GPL (>= 2)
URL: None
biocViews: Metabolomics
Remotes: stanstrup/Rplot.extra, stanstrup/massageR |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
I need a package that is broken by the latest version of
igraph
at the moment, so I install an archived first withdevtools::install_version()
. I then go and install the package I need usinginstall_github()
, but this upgrades me to the latest version ofigraph
.Here the archived version is installed: https://travis-ci.org/cboettig/gpmanagement/builds/68427213#L2133
And here is
install_github
call updating it to the latest version: https://travis-ci.org/cboettig/gpmanagement/builds/68427213#L2756Here is the travis file for this build: https://github.com/cboettig/gpmanagement/blob/d1ac025328dc34dc1bd77bdf465f04ba2d6747fa/.travis.yml
Am I just missing something or is this not the expected behavior?
The text was updated successfully, but these errors were encountered: