[R-pkg-devel] clang-UBSAN

Kaifeng Lu k@||eng|u @end|ng |rom gm@||@com
Sun May 12 20:43:18 CEST 2024


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]]



More information about the R-package-devel mailing list