Re: [R-pkg-devel] clang-UBSAN

2024-05-13 Thread Gábor Csárdi
The rhub package should be able to reproduce that, see https://github.com/r-hub/rhub#readme Or you can use the clang-asan container directly: https://r-hub.github.io/containers/ Gabor On Mon, May 13, 2024 at 12:31 AM Kaifeng Lu wrote: > > Dear friends, > > I am developing an R package built wit

Re: [R-pkg-devel] clang-UBSAN

2024-05-13 Thread Ivan Krylov via R-package-devel
В Sun, 12 May 2024 14:43:18 -0400 Kaifeng Lu пишет: > /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/internal/caster.h:30:25: > runtime error: nan is outside the range of representable values of > type 'int' On line 4618 of src/misc.cpp of the lrstat package, you have a suspicious default pa

[R-pkg-devel] clang-UBSAN

2024-05-12 Thread Kaifeng Lu
Dear friends, I am developing an R package built with Rcpp. The package passed the test with devtools::check() before submission to CRAN, but failed with the following clang-UBSAN issue after submission to CRAN: /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/internal/caster.h:30:25: runtime e