For those of you who use R-devel, it seems that (some of?) the binary packages on CRAN were built using the wrong R version.
FYI. Gabor > library(testthat) Error in library(testthat) : there is no package called ‘testthat’ > R.Version()$version.string [1] "R Under development (unstable) (2017-12-04 r73829)" > install.packages("https://cran.r-project.org/bin/windows/contrib/3.5/testthat_1.0.2.zip", > repos = NULL) Installing package into ‘C:/Users/Gabor/Documents/R’ (as ‘lib’ is unspecified) trying URL 'https://cran.r-project.org/bin/windows/contrib/3.5/testthat_1.0.2.zip' Content type 'application/zip' length 1057100 bytes (1.0 MB) downloaded 1.0 MB package ‘testthat’ successfully unpacked and MD5 sums checked > library(testthat) Error: package ‘testthat’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version > packageDescription("testthat") Package: testthat Version: 1.0.2 Title: Unit Testing for R Description: A unit testing system designed to be fun, flexible and easy to set up. Authors@R: c( person("Hadley", "Wickham", , "had...@rstudio.com", c("aut", "cre")), person("RStudio", role = "cph") ) URL: https://github.com/hadley/testthat BugReports: https://github.com/hadley/testthat/issues Depends: R (>= 3.1.0) Imports: digest, crayon, praise, magrittr, R6, methods Suggests: devtools, withr, covr License: MIT + file LICENSE Collate: 'auto-test.R' 'colour-text.R' 'compare.R' 'compare-character.R' 'compare-numeric.R' 'compare-time.R' 'context.R' 'describe.R' ..... RoxygenNote: 5.0.1 NeedsCompilation: yes Packaged: 2016-04-22 20:14:31 UTC; hadley Author: Hadley Wickham [aut, cre], RStudio [cph] Maintainer: Hadley Wickham <had...@rstudio.com> Repository: CRAN Date/Publication: 2016-04-23 08:37:40 Built: R 3.4.3; x86_64-w64-mingw32; 2017-12-04 00:39:18 UTC; windows -- File: C:/Users/Gabor/Documents/R/testthat/Meta/package.rds ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel