[R-pkg-devel] How reproduce CRAN check

Cristiane Hayumi Taniguti cht@n|gut| @end|ng |rom u@p@br
Tue Sep 17 18:17:42 CEST 2019

Hello, thanks for all the answers.

I did the new tests with all suggestions.

I included the Rprintf in my script, however it did not show any NaN when
running with my examples (the same that CRAN check pointed the error)

The check in r-hub Debian Linux, R-devel, GCC ASAN/UBSAN
(linux-x86_64-rocker-gcc-san) did not show the error.

The r-debug seems to be a good tool, but I had problems to build my package
on it. First, the library libglu1-mesa-dev was missing for rgl package
installation, then, I installed it, but I  found the following errors when
trying to install the required MDSMap package:

"Shadow memory range interleaves with an existing memory mapping. ASan
cannot proceed correctly. ABORTING."
"/usr/bin/ld: cannot find -lgfortran"

I did the modifications in rcpp files (update here<
but I still can not test the package with it. Would be a problem if I
submit anyway?

On Fri, Sep 13, 2019 at 12:35 PM Iñaki Ucar <iucar using fedoraproject.org> wrote:

> 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

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list