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
Error in install.packages : missing value where TRUE/FALSE needed #1433
Comments
|
Seems to be same issue: swirldev/swirl#260 |
|
Hi 'tentacles from outer space', thanks for your response. I was really happy to know I might have a solution to the problem above but after trying what was suggested... to install dplyr using R (and changing the mirror to another a few times), I still get the same error. Any other ideas? |
|
Try to run clean R session (no Rstudio, no other instances running, etc) and run following command: install.packages("dplyr", repos = c(CRAN="https://cran.r-project.org/"))If this failed please provide results (from the same session) from running |
|
Hi, I experience nearly the same issue when trying to install "maptools". This is the history of a new R Session:
|
|
In my case, the issue happened after installing 3.4.0 (win 10, 64-bit). I got a lot of similar errors, and could not find any working solutions. I ended up rolling back to 3.3.3. |
|
Had the same problem. |
|
Same problems as commented after installed today version 3.4.0 (win 8.1, 64-bit). |
|
+1 to issues updating to 3.4.0 I also rolled back. Losing all the installed libraries is not worth it. |
|
I had no problems - fresh R install, dplyr instalation. No Rstudio involved (important?). |
|
Yes, rstudio is involved. I can install packages fine in r.exe. |
|
Can someone please file an new issue with a minimal reprex and |
|
No, it is not an RStudio problem, but shows there earlier. To simplifiy, try in RGui In Rstudio this gives an error on the first run, but I assume it has to do with some background action (No problem with RStudio server on Ubuntu and 3.4) |
|
The error is with file.mtime(lib) in installed.packages(): file.mtime(anydirectory) returns NA in my system. |
|
I have the same problem after updating R to 3.4.0. Rolling back to 3.3.3. This is the only solution. |
|
It is a bug in R 3.4.0, already reported and fixed (available for download at https://cran.r-project.org/bin/windows/base/rtest.html) see https://www.mail-archive.com/r-help@r-project.org/msg243256.html |
|
Thank you, jan-glx. |
|
I ended up rolling back to 3.3.3 too |
|
Please do not post the problems with R 3.4.0 here. This is tidyverse/dplyr, and dplyr is totally innocent! |
|
I had the same error. I used R not RStudio to install the package. The problem was solved. |
|
In 2018, I occurred this problem, Need I roll back to 3.3.3? Now my R version is 3.4.4. Actually I have already installed the ggplot2, but every time when I wanted to learn the statistical course, it let me install "ggplot2" again, it's forever failed, so I can't access the courser material. |
|
@alexunder Since it's unlikely that this is a bug in ggplot2, this sort of question is a better fit for https://community.rstudio.com. Do you mind asking it over there? (You might want to read https://www.tidyverse.org/help/ first to maximise your chances of getting a good answer, it will help you to create a reproducible example, because currently you don't give enough information for us to troubleshoot.) |
|
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 have the following error when installing dplyr
| Trying to install package ‘dplyr’ now...
also installing the dependency ‘BH’
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.2/BH_1.58.0-1.zip'
Content type 'application/zip' length 13846694 bytes (13.2 MB)
downloaded 13.2 MB
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.2/dplyr_0.4.3.zip'
Content type 'application/zip' length 2552598 bytes (2.4 MB)
downloaded 2.4 MB
Error in install.packages : missing value where TRUE/FALSE needed
| Could not install package ‘dplyr’!
| | 0%
Error in seq.default(0, 1, length = nrow(e$les)) :
argument 'length.out' must be of length 1
Can anyone help me understand what I'm missing?
The text was updated successfully, but these errors were encountered: