On 17 November 2024 at 14:23, Patrick Giraudoux wrote:
| Le 17/11/2024 à 14:17, Ivan Krylov a écrit :
| > В Sun, 17 Nov 2024 14:04:56 +0100
| > Patrick Giraudoux<patrick.giraud...@univ-fcomte.fr> пишет:
| >
| >> trying URL
| >> 'https://pbil.univ-lyon1.fr/CRAN/bin/windows/contrib/4.4/xfun_0.49.zip'
| >> Content type 'application/zip' length 568935 bytes (555 KB)
| >> downloaded 555 KB
| >>
| >> Error in if (any(diff)) { : missing value where TRUE/FALSE needed
| > Looks like the code is failing in tools::checkMD5sums, but I'm not
| > seeing anything wrong with the package file. Can you set options(error
| > = recover) and take a look at the local variables at the site of the
| > error? What are the values of 'x', 'xx', 'nmxx'? What is your
| > sessionInfo()?
| >
| I have tried updating packages one by one (I had a ten to update), and 
| it appears that the trouble comes only with Rcpp
| 
|  > update.packages(ask='graphics',checkBuilt=TRUE)
| trying URL 
| 'https://pbil.univ-lyon1.fr/CRAN/bin/windows/contrib/4.4/Rcpp_1.0.13-1.zip'
| Content type 'application/zip' length 2895664 bytes (2.8 MB)
| downloaded 2.8 MB

If it is Rcpp (I cannot check, I don't have Windows) it is apparently not the
U Lyon mirror as I get identical bits from cloud.r-project.org so it may be
that the PACKAGES file is temporarily inconsistent.

   $ wget -q -O Rcpp_1.0.13-1.zip.lyon 
https://pbil.univ-lyon1.fr/CRAN/bin/windows/contrib/4.4/Rcpp_1.0.13-1.zip
   $ wget -q -O Rcpp_1.0.13-1.zip.cdn 
https://cloud.r-project.org/bin/windows/contrib/4.4/Rcpp_1.0.13-1.zip
   $ ls -l Rcpp_1.0.13-1.zip.*
   -rw-rw-r-- 1 edd edd 2895664 Nov 12 21:44 Rcpp_1.0.13-1.zip.cdn
   -rw-rw-r-- 1 edd edd 2895664 Nov 12 21:44 Rcpp_1.0.13-1.zip.lyon
   $ md5sum Rcpp_1.0.13-1.zip.*
   1910629d7f209ffad2943c6e50cd4867  Rcpp_1.0.13-1.zip.cdn
   1910629d7f209ffad2943c6e50cd4867  Rcpp_1.0.13-1.zip.lyon
   $ 

In the meantime you can take advantage of alternate installation approaches

   - install from source, avoiding the .zip file

       install.packages("Rcpp", type="source")
      
   - install from r-universe accessing a different PACKAGES file:

       install.packages("Rcpp", repos = c("https://rcppcore.r-universe.dev";,
                                          "https://cloud.r-project.org";))

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to