Skip to content
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_deps() fails to install all dependencies on Windows #1246

Closed
krlmlr opened this issue Jul 1, 2016 · 3 comments
Closed

install_deps() fails to install all dependencies on Windows #1246

krlmlr opened this issue Jul 1, 2016 · 3 comments

Comments

@krlmlr
Copy link
Member

krlmlr commented Jul 1, 2016

Situation: tibble suggests knitr, knitr imports highr; the latter doesn't get installed. This is on a Windows machine from a tibble checkout:

> remove.packages("knitr")
Removing package from ‘C:/Program Files/R/R-3.3.0patched/library’
(as ‘lib’ is unspecified)
> remove.packages("highr")
Removing package from ‘C:/Program Files/R/R-3.3.0patched/library’
(as ‘lib’ is unspecified)
> devtools::install_deps(dependencies = c("Depends", "Imports", "LinkingTo", "Suggests"))
Installing 1 package: knitr
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/knitr_1.13.zip'
Content type 'application/zip' length 861084 bytes (840 KB)
downloaded 840 KB

package ‘knitr’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    E:\Users\muelleki\AppData\Local\Temp\Rtmp65b7jO\downloaded_packages

But install.packages() works:

> remove.packages("knitr")
Removing package from ‘C:/Program Files/R/R-3.3.0patched/library’
(as ‘lib’ is unspecified)
> install.packages("knitr")
also installing the dependency ‘highr’

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/highr_0.6.zip'
Content type 'application/zip' length 35829 bytes (34 KB)
downloaded 34 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/knitr_1.13.zip'
Content type 'application/zip' length 861084 bytes (840 KB)
downloaded 840 KB

package ‘highr’ successfully unpacked and MD5 sums checked
package ‘knitr’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    E:\Users\muelleki\AppData\Local\Temp\Rtmp65b7jO\downloaded_packages

Works flawlessly on Ubuntu. Looks like this is a devtools problem, because install.packages() correctly installs highr.

UPDATE: See the corresponding AppVeyor build.

@jimhester
Copy link
Member

This should be fixed after 5cd2d80, let me know if this is not the case.

@krlmlr
Copy link
Member Author

krlmlr commented Aug 10, 2016

Thanks. I think everything's fine now.

@lock
Copy link

lock bot commented Sep 18, 2018

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/

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants