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 <kaifen...@gmail.com> wrote: > > 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 error: nan is outside the range of representable values of type > 'int' > > Is there any way to reproduce the error before submitting the package to > CRAN? > > Thank you very much for helping! > > Regards, > Kaifeng > > [[alternative HTML version deleted]] > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel