[R-pkg-devel] R-devel windows binaries

Gábor Csárdi csardi.gabor at gmail.com
Tue Dec 5 20:58:17 CET 2017

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.


> 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 at R: c( person("Hadley", "Wickham", , "hadley at 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'
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 <hadley at 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

More information about the R-package-devel mailing list