-
Notifications
You must be signed in to change notification settings - Fork 294
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
R-3.5.3 on WIN10 Pro - Error: package or namespace load failed for '...' in rbind(info, getNamespaceInfo(env, "S3methods")): number of columns of matrices must match (see arg 2) #179
Comments
Same issue with 3.5.3
and 3.5.0
This only became an issue for me after I installed R 3.6.0 |
I also noticed that I receive 'lazy-loading' file errors when trying to update the tibble package from source w R-3.5.3 |
Same issue with me, only occurs after I install R-3.6.0. |
I am currently experiencing the same issue. I installed 3.6.0 so I could run tree package and then suddenly I lose tidyverse packages and no possibility to install them. |
Did you reinstall all packages for 3.6, or did you try and use your old R 3.5 packages? |
I updated old ones. |
I am having the same problem even after having reinstalled all the packages for 3.6. This doesn't happen when I run R locally on my mac but if I send in scripts to my job's linux based computing cluster I get this error. |
I am almost 100% certain this is due to having a mix of packages for R 3.5 and 3.6 installed in the same library: # In R 3.5
env <- asNamespace("MASS")
head(getNamespaceInfo(env, "S3methods"))
#> [,1] [,2] [,3]
#> [1,] "[" "fractions" "[.fractions"
#> [2,] "[<-" "fractions" "[<-.fractions"
#> [3,] "addterm" "default" "addterm.default"
#> [4,] "addterm" "glm" "addterm.glm"
#> [5,] "addterm" "lm" "addterm.lm"
#> [6,] "addterm" "mlm" "addterm.mlm"
# In R 3.6
env <- asNamespace("MASS")
head(getNamespaceInfo(env, "S3methods"))
#> [,1] [,2] [,3] [,4]
#> [1,] "[" "fractions" "[.fractions" NA
#> [2,] "[<-" "fractions" "[<-.fractions" NA
#> [3,] "addterm" "default" "addterm.default" NA
#> [4,] "addterm" "glm" "addterm.glm" NA
#> [5,] "addterm" "lm" "addterm.lm" NA
#> [6,] "addterm" "mlm" "addterm.mlm" NA The chances are that some time in the distant past you have followed some advice that means that you don't have to re-install packages when you re-install R. Unfortunately the advice you followed is bad, because it leads to situations exactly like this. You may be able to fix the problem by forcing a re-install of all packages: update.packages(ask = FALSE, checkBuilt = TRUE) You must use This is not a tidyverse issue, so I'm going to close it, but feel free to continue discussion here. |
Hmm ... in order to avoid such issues I had I implemneted a strict seggregation of libPatrhs for major versions; I again checked if there is some form of fraternization between the available LIB paths. |
Hadley's advice worked for me. Not just with tidyverse, but several other packages that were throwing a variation on the same error for scripts running from taskscheduleR. Thanks! |
Still not working for me - did (in R-3.5.3) update.packages(chechBuild = TRUE), reinstalled the ggplot2 packages - still the same error on the same packages as mentioned above. :-( |
Maybe it was not as clear in the first place - I have absolutey no issue with 3.6. IT IS 3.5. THAT IS BROKEN! At least for me. |
load library for "core-tidyverse-package" (i.e. tidyverse, ggplo2, dplyr, tidyr, readr, purrr, tibble) except stringr and forcats" fails with matrices column not match error
Package load via library (...) or require (...) package or namespace load fails for the packages mentioned above; the same error is also encountered for devtools, haven, modelr.
For stringr, forcats (from tidyverse core) as well as blob, DBI, lubridate, readxl, rvest package loading via library() works fine
my sessionInfo() output
Versions listing for the mentioned packages
Failing packages:
Working packages:
The text was updated successfully, but these errors were encountered: