Re: [R-pkg-devel] [External] Re: clang issue

2023-08-07 Thread Ivan Krylov
В Mon, 7 Aug 2023 15:52:38 + "Grose, Daniel" пишет: > https://github.com/grosed/anomaly Ah, so this is why I couldn't find your package on CRAN. Now I can see the compiler log, together with the compiler command line: https://www.stats.ox.ac.uk/pub/bdr/clang17/anomaly.log It looks like -DR_

Re: [R-pkg-devel] [External] Re: clang issue

2023-08-07 Thread Grose, Daniel
Hi Dirk My apologies. I thought you were asking for compiler output. You can find the code at https://github.com/grosed/anomaly [https://opengraph.githubassets.com/866d37f560339c5ee145d5cd7e40edf768223cf08b8e9f35ae97e14d1f2b47f5/grosed/anomaly] GitHub - grose

Re: [R-pkg-devel] [External] Re: clang issue

2023-08-07 Thread Dirk Eddelbuettel
On 7 August 2023 at 13:55, Grose, Daniel wrote: | As I say - I cannot reproduce the error myself. I will try asking Uwe Ligges | for more information. Methinks you are doing it wrong. We created the r-package-devel list years ago to take load away from the overworked CRAN maintainers who are "on

Re: [R-pkg-devel] [External] Re: clang issue

2023-08-07 Thread Grose, Daniel
Hi Ivan/Dirk As I say - I cannot reproduce the error myself. I will try asking Uwe Ligges for more information. Best wishes, Dan From: Dirk Eddelbuettel Sent: 07 August 2023 14:53 To: Grose, Daniel Cc: Ivan Krylov ; Dirk Eddelbuettel ; r-package-devel@r-projec

Re: [R-pkg-devel] [External] Re: clang issue

2023-08-07 Thread Dirk Eddelbuettel
On 7 August 2023 at 13:38, Grose, Daniel wrote: | No - unfortunately not. I cannot reproduce the error locally so I posted the | snippet that Uwe Ligges sent me regarding the failed CRAN submission. That is | all of the information I have. | | For now I will follow Dirk's advice and see if the C

Re: [R-pkg-devel] [External] Re: clang issue

2023-08-07 Thread Grose, Daniel
Hi Ivan No - unfortunately not. I cannot reproduce the error locally so I posted the snippet that Uwe Ligges sent me regarding the failed CRAN submission. That is all of the information I have. For now I will follow Dirk's advice and see if the CRAN submission gets accepted. Thanks for your h

Re: [R-pkg-devel] [External] Re: clang issue

2023-08-07 Thread Ivan Krylov
В Mon, 7 Aug 2023 13:16:33 + "Grose, Daniel" пишет: > I thought -DR_NO_REMAP in Makevars would set R_NO_REMAP across all > compilation units. Is this not the case ? It should have worked. Can we see the code? Is there a visible compiler command line in the check results that you quoted in t

Re: [R-pkg-devel] [External] Re: clang issue

2023-08-07 Thread Grose, Daniel
Hi Dirk Thanks for the quick response. I thought -DR_NO_REMAP in Makevars would set R_NO_REMAP across all compilation units. Is this not the case ? Thanks, Dan From: Dirk Eddelbuettel Sent: 07 August 2023 14:13 To: Grose, Daniel Cc: r-package-devel@r-project

Re: [R-pkg-devel] clang issue

2023-08-07 Thread Dirk Eddelbuettel
Daniel, This is not new, and not related to clang. On 7 August 2023 at 12:58, Grose, Daniel wrote: | Any ideas ? Add a line #define R_NO_REMAP 1 before _any_ inclusion of R headers. See Section 6 of Writing R Extensions. If you use eg Rcpp it is done for you when you include Rcpp headers

[R-pkg-devel] clang issue

2023-08-07 Thread Grose, Daniel
Hi My package submission fails due to In file included from MeanAnomalyMV.cpp:7: In file included from ./Functions_mean.h:4: In file included from usr/local/clang-trunk/bin../include/c++/v1/vector:321: In file included from usr/local/clang-trunk/bin../include/c++/v1/__format/formatter_