Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Install from Github Error Loop #1809

Closed
bhive01 opened this issue May 10, 2016 · 7 comments · Fixed by r-lib/devtools#1184
Closed

Install from Github Error Loop #1809

bhive01 opened this issue May 10, 2016 · 7 comments · Fixed by r-lib/devtools#1184

Comments

@bhive01
Copy link

bhive01 commented May 10, 2016

Hi, mentioned on Twitter this morning to @hadley that I was having weird install issues. I can install and work with CRAN, but in case others are affected. I tried to install from Github and it starts some sort of infinite loop of trying to get dtplyr and dplyr. It also insists I have the latest from Github and I don't. If I tell it force = TRUE it does this too.

devtools::install_github("hadley/dplyr")
Downloading GitHub repo hadley/dplyr@master
from URL https://api.github.com/repos/hadley/dplyr/zipball/master
Installing dplyr
Skipping install for github remote, the SHA1 (4b61621c) has not changed since last install.
  Use `force = TRUE` to force installation
Downloading GitHub repo hadley/dtplyr@master
from URL https://api.github.com/repos/hadley/dtplyr/zipball/master
Installing dtplyr
Downloading GitHub repo hadley/dplyr@master
from URL https://api.github.com/repos/hadley/dplyr/zipball/master
Installing dplyr
Skipping install for github remote, the SHA1 (4b61621c) has not changed since last install.
  Use `force = TRUE` to force installation
Downloading GitHub repo hadley/dtplyr@master
from URL https://api.github.com/repos/hadley/dtplyr/zipball/master
Installing dtplyr
Downloading GitHub repo hadley/dplyr@master
from URL https://api.github.com/repos/hadley/dplyr/zipball/master
Installing dplyr
Skipping install for github remote, the SHA1 (4b61621c) has not changed since last install.
  Use `force = TRUE` to force installation
Downloading GitHub repo hadley/dtplyr@master
from URL https://api.github.com/repos/hadley/dtplyr/zipball/master
Installing dtplyr


devtools::session_info()
Session info ---------------------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.3.0 (2016-05-03)
 system   x86_64, darwin13.4.0        
 ui       AQUA                        
 language (EN)                        
 collate  en_US.UTF-8                 
 tz       America/Los_Angeles         
 date     2016-05-09                  

Packages -------------------------------------------------------------------------------------------------------------------
 package    * version    date       source                       
 assertthat   0.1        2013-12-06 CRAN (R 3.3.0)               
 curl         0.9.7      2016-04-10 CRAN (R 3.3.0)               
 DBI          0.4-1      2016-05-08 CRAN (R 3.3.0)               
 devtools     1.11.1     2016-04-21 CRAN (R 3.3.0)               
 digest       0.6.9      2016-01-08 CRAN (R 3.3.0)               
 dplyr      * 0.4.3      2015-09-01 CRAN (R 3.3.0)               
 git2r        0.14.0     2016-03-13 CRAN (R 3.3.0)               
 httr         1.1.0      2016-01-28 CRAN (R 3.3.0)               
 magrittr     1.5        2014-11-22 CRAN (R 3.3.0)               
 memoise      1.0.0      2016-01-29 CRAN (R 3.3.0)               
 purrr      * 0.2.1.9000 2016-05-10 Github (hadley/purrr@2fd93d3)
 R6           2.1.2      2016-01-26 CRAN (R 3.3.0)               
 Rcpp         0.12.4     2016-03-26 CRAN (R 3.3.0)               
 rstudioapi   0.5        2016-01-24 CRAN (R 3.3.0)               
 tidyr      * 0.4.1      2016-02-05 CRAN (R 3.3.0)               
 withr        1.0.1      2016-02-04 CRAN (R 3.3.0)
@hadley
Copy link
Member

hadley commented May 10, 2016

You need the dev version of dplyr

@bhive01
Copy link
Author

bhive01 commented May 10, 2016

If that's a question then no. I don't need the development version. Tell me you're busy with it and I'll try when it's more stable again.
If that's a statement then I honestly thought that's what I was doing. :/

@yutannihilation
Copy link
Member

I am facing the same problem!

I've reported the issue on devtools repo: r-lib/devtools#1182
It seems that devtools::install_XXX() cannot resolve circular dependency when two packages depend each other via Remotes

@krlmlr
Copy link
Member

krlmlr commented May 10, 2016

The CRAN version of devtools will cause this problem. Does installation work with the dev version of devtools?

@krlmlr
Copy link
Member

krlmlr commented May 10, 2016

FWIW, this behavior has been introduced in #1808.

@ljos
Copy link

ljos commented May 10, 2016

Installation does not work with the dev version of devtools either. I am having the same problem.

@krlmlr
Copy link
Member

krlmlr commented May 10, 2016

Thanks. I guess #1808 needs to be reverted after all. I'll submit a PR soon.

jimhester added a commit to jimhester/devtools that referenced this issue May 10, 2016
This includes packages specified in Remotes:. If build_vignettes is TRUE
they are still installed before the package.

This fixes tidyverse/dplyr#1809
@lock lock bot locked as resolved and limited conversation to collaborators Jun 9, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants