Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up`devtools::install_deps(dependencies = TRUE)` doesn't install all dependent packages #1370
Comments
|
This is a known issue with the current CRAN version see #1246, #1343 and should be fixed in the development version. You can install it on windows with library(devtools)
build_github_devtools()
#### Restart R before continuing ####
install.packages("devtools.zip", repos = NULL, type = "source")
# Remove the package after installation
unlink("devtools.zip") |
|
It's weird. Actually I tried Maybe that's because in the actual |
|
I'm still observing this or a similar issue on Windows with devtools 1.12.0. See the AppVeyor test for tibble, it now suggests dplyr; dplyr is installed but imports DBI which is not installed. The same tibble version works on Travis. |
|
This issue is still present on the current CRAN version (1.12.0). Only affects Windows. This is a blocking bug, which affect all The bug is reproducible by calling install_cran('argparse')will not install dependency If I correctly followed the chain of calls, I think the issue lies in if (is_windows && inherits(remote, "cran_remote")) {
install_packages(package_name, repos = remote$repos,
type = remote$pkg_type, ..., quiet = quiet)
return(invisible(TRUE))
}This explains the Windows-specificity of the bug. |
|
I experience this on Windows 10 both with CRAN version 1.12.0 as noted by @renozao, also with today's current development version 1.21.0.9000 (below
As an interim workaround, I installed devtools 1.11.1 from April 2016 and it runs the |
|
This may be relevant to keep in mind: |
|
Has this bug resurfaced in the development version? I downloaded the latest development version of
|
|
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/ |
short description
Expect: the same behavior as
install.packages, installing all necessary dependencies.Actual: not installing any dependencies.
long description
I am using the latest
devtoolsfrom github as of 20161006.A min example, in
DESCRIPTIONfile,Then run this in R:
The
ggplot2is installed. However, its dependencies (stringi,magrittr, ...) are not installed!Instead, running the default command:
Moreover, the remote
hadley/bookdownis not installed