[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 15:16:31 CET 2024
Le 17/11/2024 à 14:47, Dirk Eddelbuettel a écrit :
>
> In the meantime you can take advantage of alternate installation approaches
>
> - install from source, avoiding the .zip file
>
> install.packages("Rcpp", type="source")
it gives
install.packages("Rcpp", type="source")
Installing package into ‘C:/Users/pgiraudo2/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
trying URL 'https://pbil.univ-lyon1.fr/CRAN/src/contrib/Rcpp_1.0.13-1.tar.gz'
Content type 'application/x-gzip' length 3435726 bytes (3.3 MB)
downloaded 3.3 MB
* installing *source* package 'Rcpp' ...
Error in if (any(diff)) { : missing value where TRUE/FALSE needed
* removing 'C:/Users/pgiraudo2/AppData/Local/R/win-library/4.4/Rcpp'
The downloaded source packages are in
‘C:\Users\pgiraudo2\AppData\Local\Temp\Rtmpe2xTmv\downloaded_packages’
Warning message:
In install.packages("Rcpp", type = "source") :
installation of package ‘Rcpp’ had non-zero exit status
>
> - 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
>
> install.packages("Rcpp", repos = c("https://rcppcore.r-universe.dev",
+ "https://cloud.r-project.org"))
Installing package into ‘C:/Users/pgiraudo2/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
trying URL
'https://rcppcore.r-universe.dev/bin/windows/contrib/4.4/Rcpp_1.0.13.5.zip'
Content type 'application/zip' length 2913678 bytes (2.8 MB)
downloaded 2.8 MB
package ‘Rcpp’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\pgiraudo2\AppData\Local\Temp\Rtmpe2xTmv\downloaded_packages
Thus, this latter works fine. Does this help to identify the trouble ?
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list