I'm having difficulties updating my package onemap: When I run standard checks as --as-cran in linux, winbuilder and using docker images everything is fine, but 'CRAN-submissions' reports this problem in my c++ code:
onemap.Rcheck/onemap-Ex.Rout: .............../usr/local/bin/../include/c++/v1/memory:1825:35: runtime error: nan is outside the range of representable values of type 'int' onemap.Rcheck/onemap-Ex.Rout:twopts_out.cpp:147:7: runtime error: nan is outside the range of representable values of type 'int' onemap.Rcheck/onemap-Ex.Rout:twopts_out.cpp:147:26: runtime error: nan is outside the range of representable values of type 'int' onemap.Rcheck/onemap-Ex.Rout: ...........................twopts_f2.cpp:101:7: runtime error: nan is outside the range of representable values of type 'int' onemap.Rcheck/onemap-Ex.Rout:twopts_f2.cpp:101:26: runtime error: nan is outside the range of representable values of type 'int' This problem was there in the last CRAN version of my package too < https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-UBSAN/onemap> I am having a hard time trying to reproduce this error "at home" and fix the problem. Without reproduce this I am not able to find what is causing the nan in my code. Here <https://drive.google.com/open?id=1L9Qcz9qraZOo-jaq-fwkF-PQfmg73mSv> is the new version source package Any help is much appreciated. Cris [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
