Re: [R-pkg-devel] Possible false negative for compiled C++ code in CRAN checks

2024-11-17 Thread Mauricio Vargas Sepulveda
The issue was finally resolved and the package is back on CRAN! Extensive try-and-fail is not the best with my advanced arthritis, but progress is progress I added a small section with a minimal example here: https://cpp4r.org/08-debugging.html#testing-with-docker This is a "nautical diary " I

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

2024-11-17 Thread Patrick Giraudoux
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 пишет: >> >>> trying URL >>> 'https://pbil.univ-lyon1.fr/CRAN/bin/windows/contrib/4.4/xfun_0.49.zip' >>> Content type 'application/zip' length

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

2024-11-17 Thread Patrick Giraudoux
Le 17/11/2024 à 16:06, Dirk Eddelbuettel a écrit : > On 17 November 2024 at 15:16, Patrick Giraudoux wrote: > | Thus, this latter works fine. Does this help to identify the trouble ? > > I think this resonates with the fine work Ivan had already done. I suspect > you have a bad local with the repo

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

2024-11-17 Thread Patrick Giraudoux
Le 17/11/2024 à 15:24, Ivan Krylov a écrit : > В Sun, 17 Nov 2024 15:12:58 +0100 > Patrick Giraudoux пишет: > >> Running under: Windows 10 x64 (build 19045) >> locale: >> [1] LC_COLLATE=French_France.utf8  LC_CTYPE=French_France.utf8 >> [3] LC_MONETARY=French_France.utf8 LC_NUMERIC=C >> [5] LC_TIME

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

2024-11-17 Thread Dirk Eddelbuettel
On 17 November 2024 at 15:16, Patrick Giraudoux wrote: | Thus, this latter works fine. Does this help to identify the trouble ? I think this resonates with the fine work Ivan had already done. I suspect you have a bad local with the repo information (possible PACKAGE.rds) and it does not get ove

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

2024-11-17 Thread Ivan Krylov via R-package-devel
В Sun, 17 Nov 2024 14:45:58 +0100 Patrick Giraudoux пишет: > Then I get x = a character of 658 elements, same for xx, same for nmxx Thank you for providing the information! The problem is that the following code: diff <- xx[nmxx] != x[nmxx] ...somehow gives missing values. What's in 'diff'? W

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

2024-11-17 Thread Ivan Krylov via R-package-devel
В Sun, 17 Nov 2024 15:12:58 +0100 Patrick Giraudoux пишет: > Running under: Windows 10 x64 (build 19045) > locale: > [1] LC_COLLATE=French_France.utf8  LC_CTYPE=French_France.utf8 > [3] LC_MONETARY=French_France.utf8 LC_NUMERIC=C > [5] LC_TIME=French_France.utf8 Your system is new enough to use

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

2024-11-17 Thread Patrick Giraudoux
Le 17/11/2024 à 14:54, Ivan Krylov a écrit : > В Sun, 17 Nov 2024 14:45:58 +0100 > Patrick Giraudoux пишет: > >> Then I get x = a character of 658 elements, same for xx, same for nmxx > Thank you for providing the information! > > The problem is that the following code: > > diff <- xx[nmxx] != x[nm

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

2024-11-17 Thread Patrick Giraudoux
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") Installin

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

2024-11-17 Thread Dirk Eddelbuettel
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 пишет: | > | >> trying URL | >> 'https://pbil.univ-lyon1.fr/CRAN/bin/windows/contrib/4.4/xfun_0.49.zip' | >> Content type 'application/

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

2024-11-17 Thread Patrick Giraudoux
Le 17/11/2024 à 14:17, Ivan Krylov a écrit : > В Sun, 17 Nov 2024 14:04:56 +0100 > Patrick Giraudoux пишет: > >> 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 i

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

2024-11-17 Thread Patrick Giraudoux
Dear Listers, Using R version 4.4.1 (2024-06-14 ucrt) package updates were done without any trouble up to now. Today I have this error: (...) 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