[R-pkg-devel] update.packages Error in if (any(diff)) { : missing value where TRUE/FALSE needed

Patrick Giraudoux p@tr|ck@g|r@udoux @end|ng |rom un|v-|comte@|r
Sun Nov 17 14:45:58 CET 2024


Le 17/11/2024 à 14:23, Patrick Giraudoux a écrit :
> Le 17/11/2024 à 14:17, Ivan Krylov a écrit :
>> В Sun, 17 Nov 2024 14:04:56 +0100
>> Patrick Giraudoux<patrick.giraudoux using 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()?

 > 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

Error in if (any(diff)) { : missing value where TRUE/FALSE needed

Enter a frame number, or 0 to exit

1: update.packages(ask = "graphics", checkBuilt = TRUE)
2: install.packages(update[instlib == l, "Package"], l, repos = repos, 
method
3: .install.winbinary(pkgs = bins, lib = lib, contriburl = 
contrib.url(repos,
4: unpackPkgZip(foundpkgs[okp, 2], foundpkgs[okp, 1], lib, libs_only, lock)
5: tools::checkMD5sums(pkgname, file.path(tmpDir, pkgname))

Selection: 5

Then I get x = a character of 658 elements, same for xx, same for nmxx

samples of x:

Browse[1]> x
announce/ANNOUNCE-0.10.0.txt
"7a9967333ad85931cc6d2051f4dff76e"
announce/ANNOUNCE-0.11.0.txt
"734d037a2ac31af4659fb3b2e1a778ad"
announce/ANNOUNCE-0.6.0.txt
"7d85af8d096e473821a3f001d3128b01"
announce/ANNOUNCE-0.7.0.txt
"f61c7e9e1460eac25702b24c1af30442"
announce/ANNOUNCE-0.8.0.txt
"a198e05a9b004dfc1f8ea67629f2f6c7"
announce/ANNOUNCE-0.9.0.txt
"3e8a171f22548f5da208b58e66b48e6c"
bib/Rcpp.bib
"5bd3c7b28163de3425999995f29915b0"

Sample of xx

Browse[1]> head(xx)
                           CITATION DESCRIPTION
"7599bada89d38a2474389682f552755e" "bbff006b3170cdad3e2a120981df8888"
                              INDEX Meta/Rd.rds
"52f315c96cb329173cc129688e517054" "dba746be5650c6b32d55f18e7d136548"
                  Meta/features.rds Meta/hsearch.rds
"cafa9c5a405f88a5d247e638c4e76607" "79ca316b5519b0916dc99824e0f53db7"

Sample of nmxx

Browse[1]> nmxx
   [1] "CITATION"
   [2] "DESCRIPTION"
   [3] "INDEX"
   [4] "Meta/Rd.rds"
   [5] "Meta/features.rds"
   [6] "Meta/hsearch.rds"
   [7] "Meta/links.rds"
   [8] "Meta/nsInfo.rds"
   [9] "Meta/package.rds"
  [10] "Meta/vignette.rds"
  [11] "NAMESPACE"
  [12] "NEWS.Rd"
  [13] "R/Rcpp"
  [14] "R/Rcpp.rdb"
  [15] "R/Rcpp.rdx"
  [16] "announce/ANNOUNCE-0.10.0.txt"
  [17] "announce/ANNOUNCE-0.11.0.txt"
  [18] "announce/ANNOUNCE-0.6.0.txt"
  [19] "announce/ANNOUNCE-0.7.0.txt"
  [20] "announce/ANNOUNCE-0.8.0.txt"
  [21] "announce/ANNOUNCE-0.9.0.txt"

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list