[R-pkg-devel] How reproduce CRAN check
Iñaki Ucar
|uc@r @end|ng |rom |edor@project@org
Fri Sep 13 17:35:29 CEST 2019
On Fri, 13 Sep 2019 at 16:16, Cristiane Hayumi Taniguti
<chtaniguti using 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
More information about the R-package-devel
mailing list