<div dir="ltr"><div>Hi,</div><div><br></div><div>I maintain a package on CRAN. Recently I 
posted an update and was asked about UBSAN warning produced during 
checks of the previous version:</div><div><a href="https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-UBSAN/kernelboot/tests/testthat.Rout">https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-UBSAN/kernelboot/tests/testthat.Rout</a></div><div>It
 is not clear for me where does the warning come from, could you give me
 some hints what could it be? The warning message seems to relate to 
Rcpp itself, isn't it? If not, what is the best way of diagnosing causes
 of such warnings?</div><div><br></div><div>Thanks in advance,</div><div>Timothy</div><div><br></div><br></div>