[R-pkg-devel] How reproduce CRAN check
On Fri, 13 Sep 2019 at 16:16, Cristiane Hayumi Taniguti
<chtaniguti at usp.br> wrote:
...........................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'
Here: https://github.com/augusto-garcia/onemap/blob/master/src/twopts_f2.cpp#L101 -> k1=segreg_type(i); k2=segreg_type(j); k1 and k2 are vectors of integers, but segreg_type is a NumericVector (double), which may contain NaN. I?aki