Re: [R-pkg-devel] Number of cores in examples

2019-09-13 Thread Uwe Ligges
On 14.09.2019 03:33, John Harrold wrote: Hello, I recently submitted a package for consideration in CRAN. One of the comments was: Please ensure that you do not use more than 2 cores in your examples. I do not believe my package does this. Is this a general comment for a package that requir

[R-pkg-devel] Number of cores in examples

2019-09-13 Thread John Harrold
Hello, I recently submitted a package for consideration in CRAN. One of the comments was: Please ensure that you do not use more than 2 cores in your examples. I do not believe my package does this. Is this a general comment for a package that requires doParallel or was this triggered because on

Re: [R-pkg-devel] How reproduce CRAN check

2019-09-13 Thread Iñaki Ucar
On Fri, 13 Sep 2019 at 16:16, Cristiane Hayumi Taniguti 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 repre

Re: [R-pkg-devel] How reproduce CRAN check

2019-09-13 Thread Henrik Bengtsson
As first step of being able to reproduce the error, have a look at R-Hub (https://blog.r-hub.io/2019/03/26/why-care/). It'll allow you to use their servers to test your package on many different configurations. It helped me several times. You can launch it all from you local R prompt, e.g. > rhu

Re: [R-pkg-devel] How reproduce CRAN check

2019-09-13 Thread Duncan Murdoch
On 13/09/2019 10:15 a.m., Cristiane Hayumi Taniguti wrote: I'm having difficulties updating my package onemap: When I run standard checks as --as-cran in linux, winbuilder and using docker images everything is fine, but 'CRAN-submissions' reports this problem in my c++ code: onemap.Rcheck/onemap

[R-pkg-devel] How reproduce CRAN check

2019-09-13 Thread Cristiane Hayumi Taniguti
I'm having difficulties updating my package onemap: When I run standard checks as --as-cran in linux, winbuilder and using docker images everything is fine, but 'CRAN-submissions' reports this problem in my c++ code: onemap.Rcheck/onemap-Ex.Rout: .../usr/local/bin/../include/c++/v1/mem

Re: [R-pkg-devel] GSL update on CRAN

2019-09-13 Thread Raphael Hartmann
Hi Ege Thank you for your answer. I also think it won't be easy to build it in my package. The hint with the description file is a good one. Does that get read automatically? So far, I had the following line 'SystemRequirements: GNU Scientific Library version >= 2.5' (at that time I was not aware

Re: [R-pkg-devel] R, BLAS, and FCLEN (solved, really!)

2019-09-13 Thread Göran Broström
On 2019-09-13 12:34, Göran Broström wrote: Dear Tomas, your explanation matches exactly my expectation, but not my experience. I uploaded (to CRAN) version 2.7.5 yesterday, and there I use, in  the Fortran function gmlfun, directly called by .Fortran:   call cdgemv(trans, nn, antcov,

Re: [R-pkg-devel] GSL update on CRAN

2019-09-13 Thread Ege Rubak
Hi, It may be a big task to ship all of GSL with your R package, and since it is a large standard library which is "easy" to install on most systems, I doubt that it's worth the effort. I would recommend putting `GSL (>=2.3)` in `SystemRequirements` in your DESCRIPTION file. As you point out

Re: [R-pkg-devel] My test passes in OSx on Travis, but not in OSx on CRAN

2019-09-13 Thread Vincent van Hees
Thanks Tomas for your quick response, that sounds like a very plausible explanation. I will make those corrections and will start prepare a new release. Best, Vincent On Fri, 13 Sep 2019 at 13:30, Tomas Kalibera wrote: > The error seems to be because you are trying to write to the user's home

Re: [R-pkg-devel] My test passes in OSx on Travis, but not in OSx on CRAN

2019-09-13 Thread Tomas Kalibera
The error seems to be because you are trying to write to the user's home directory. This is not allowed. Probably by accident your test creates "~/testcsv4.csv" (the same problem is present for other test files). Best Tomas On 9/13/19 1:21 PM, Vincent van Hees wrote: Dear all, I have a test

[R-pkg-devel] My test passes in OSx on Travis, but not in OSx on CRAN

2019-09-13 Thread Vincent van Hees
Dear all, I have a test in my R package that passes in OSx on Travis-CI, but it does not pass in OSx on CRAN. What does pass on both CRAN and Travis are the Linux tests. Also, on CRAN the Windows flavor passes. So, there seems to be an issue specific to the combination OSx and CRAN. The easiest s

Re: [R-pkg-devel] R, BLAS, and FCLEN (solved)

2019-09-13 Thread Göran Broström
Dear Tomas, your explanation matches exactly my expectation, but not my experience. I uploaded (to CRAN) version 2.7.5 yesterday, and there I use, in the Fortran function gmlfun, directly called by .Fortran: call cdgemv(trans, nn, antcov, one, covar, nn, beta, ione, one, & sco

Re: [R-pkg-devel] R, BLAS, and FCLEN (solved)

2019-09-13 Thread Tomas Kalibera
Dear Göran, I can reproduce the problem with eha version 2.6.0. The reason for the type mismatch, and hence the LTO warning, is _not_ the calls to dgemv from Fortran code, but the calls to dgemv from the C code from the other source files in your package. There is no need to go through wrapper

Re: [R-pkg-devel] please help understand an error in openMP statements

2019-09-13 Thread Ivan Krylov
On Thu, 12 Sep 2019 16:12:17 -0500 Marcin Jurek wrote: > U_NZentries.cpp:258:19: error: ‘covparms’ not specified in enclosing > ‘parallel’ > 258 | covmat= MaternFun(dist,covparms) + diagmat(nug) ; // summation from > arma > | ~^~~ This might be a compiler

Re: [R-pkg-devel] please help understand an error in openMP statements

2019-09-13 Thread Serguei Sokol
On 12/09/2019 23:12, Marcin Jurek wrote: Hello everyone, I'm submitting a package to CRAN which I tested locally, on Travis CI, R-hub and win builder. It worked no problem in all these environments. However, after submission, I keep getting the error described here: