[R-pkg-devel] Need help for Debian check error

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Tue Apr 30 22:12:40 CEST 2019


On 30/04/2019 3:53 p.m., Zhang, Lixiang wrote:
> Sorry to interrupt, but I have some problems that I don't understand about the check result. It shows that it passes the check using R CMD check --as-cran. But when I submit to cran, it shows me an error on Debian:
> 
> * checking whether package ‘cps’ can be installed ... [8s/8s] ERROR
> Installation failed.
> 
> I don't know why is that happening and how should I fix it. Thanks a lot for your help.

I can't see your package, but the file

https://win-builder.r-project.org/incoming_pretest/cps_1.0_20190425_175509/Debian/00install.out

contains an explanation of the build error:

huge.cpp: In function ‘float match_fast(float*, float*, float*, int, 
int, float*)’:
huge.cpp:374:16: error: ‘HUGE’ was not declared in this scope
          minval=HUGE;


So you need to work out why HUGE is defined on Windows but not on Debian.

Duncan Murdoch



More information about the R-package-devel mailing list