Re: [R-pkg-devel] CRAN uses an old version of clang

2024-02-09 Thread Marcin Jurek
All this makes sense, thanks for your tips, everyone! Marcin On Fri, Feb 9, 2024 at 9:44 AM Dirk Eddelbuettel wrote: > > On 9 February 2024 at 08:59, Marcin Jurek wrote: > | I recently submitted an update to my package. It previous version relied > on > | Boost for Bessel and gamma functions

Re: [R-pkg-devel] CRAN uses an old version of clang

2024-02-09 Thread Dirk Eddelbuettel
On 9 February 2024 at 08:59, Marcin Jurek wrote: | I recently submitted an update to my package. It previous version relied on | Boost for Bessel and gamma functions but a colleague pointed out to me that | they are included in the standard library beginning with the C++17 | standard. There is

Re: [R-pkg-devel] CRAN uses an old version of clang

2024-02-09 Thread Uwe Ligges
Your users may also use old versions of clang. Hence please correct it. CRAN is also checking with the clang18 release candidate. Best, Uwe Ligges On 09.02.2024 15:59, Marcin Jurek wrote: Dear community, I recently submitted an update to my package. It previous version relied on Boost for

Re: [R-pkg-devel] CRAN uses an old version of clang

2024-02-09 Thread Serguei Sokol
Not really responding the question, however another way could be to consider if your code is in Rcpp and calls to bessel and gamma function are not very frequent. These functions are available in base R and as such are callable via Function(): > Rcpp::evalCpp('Function("besselK")(1., 0.2)')

[R-pkg-devel] CRAN uses an old version of clang

2024-02-09 Thread Marcin Jurek
Dear community, I recently submitted an update to my package. It previous version relied on Boost for Bessel and gamma functions but a colleague pointed out to me that they are included in the standard library beginning with the C++17 standard. I don't have access to a Mac so I tested my package