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

2019-04-30 Thread Ivan Krylov
On Tue, 30 Apr 2019 19:53:49 +
"Zhang, Lixiang"  wrote:

> I don't know why is that happening and how should I fix it. Thanks a
> lot for your help.

The e-mail from CRAN also said,

>> More details are given in the directory:

followed by a link scrambled by your e-mail software. When you follow
the link, you can find this file:

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

which lists the messages from the compiler produced when trying to
build your package on a Debian machine. "HUGE" is not an identifier
defined anywhere in C++ standard (AFAIK), but in standard 
header you can find HUGE_VAL
, which seems
to do what you mean.

-- 
Best regards,
Ivan

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-04-30 Thread Duncan Murdoch

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

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-04-30 Thread Iñaki Ucar
On Tue, 30 Apr 2019 at 22:06, 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.

See the 00install.out:

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

huge.cpp:374:16: error: ‘HUGE’ was not declared in this scope
 minval=HUGE;
^~~~

-- 
Iñaki Úcar

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2019-04-30 Thread Zhang, Lixiang
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.

Best,
Lixiang

PS: here are the details

Dear maintainer,

package cps_1.0.tar.gz does not pass the incoming checks automatically, please 
see the following pre-tests:
Windows: 

Status: 1 NOTE
Debian: 

Status: 1 ERROR, 1 NOTE



Please fix all problems and resubmit a fixed version via the webform.
If you are not sure how to fix the problems shown, please ask for help on the 
R-package-devel mailing list:

If you are fairly certain the rejection is a false positive, please reply-all 
to this message and explain.

More details are given in the directory:

The files will be removed after roughly 7 days.

No strong reverse dependencies to be checked.

Best regards,
CRAN teams' auto-check service
Flavor: r-devel-linux-x86_64-debian-gcc, r-devel-windows-ix86+x86_64
Check: CRAN incoming feasibility, Result: NOTE
  Maintainer: 'Lixiang Zhang '
  
  New submission
  
  The Title field should be in title case. Current version is:
  'An validation tool for both clustering results and visualization methods'
  In title case that is:
  'An Validation Tool for both Clustering Results and Visualization Methods'

Flavor: r-devel-linux-x86_64-debian-gcc
Check: whether package can be installed, Result: ERROR
  Installation failed.
  See '/srv/hornik/tmp/CRAN/cps.Rcheck/00install.out' for details.
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel