[R-pkg-devel] Keras not working with R

2019-01-24 Thread travis barton
> I am submitting a package to CRAN and recently got the email rejection saying > that while it passed the mac check, it failed the Windows and Debian check. > It seems to be a problem with finding keras (Debian) and having the wrong > architecture (windows). Do I need to tell CRAN to install a

[R-pkg-devel] use g++ instead of clang++ on Mac OS

2019-01-24 Thread Jan Wijffels
Hi, I'm trying to fix an issue with the ruimtehol R package https://github.com/bnosac/ruimtehol on Mac OS. The package contains C++ code following the C++11 standard. The package is built on Mac OS with clang++ but I would like to compile it with g++ instead. The manual on R extensions at https:

Re: [R-pkg-devel] use g++ instead of clang++ on Mac OS

2019-01-24 Thread Ralf Stubner
> The manual on R extensions at > https://cran.r-project.org/doc/manuals/R-exts.html#Using-C_002b_002b11-code > mentions that > >> It is possible to specify ‘CXX11’ to be a distinct compiler just for >> C++11–using packages, e.g. g++ on Solaris. > > I tried to set such a directive in my src/Makev

Re: [R-pkg-devel] use g++ instead of clang++ on Mac OS

2019-01-24 Thread Jan Wijffels
Ralf, Thank you for the input. Does that mean also using a configure script would not work to make it use g++ instead of clang++ on Mac OS? Jan Jan Wijffels Statistician www.bnosac.be | +32 486 611708 On Thu, 24 Jan 2019 at 16:02, Ralf Stubner wrote: > > The manual on R extensions at > > >

Re: [R-pkg-devel] use g++ instead of clang++ on Mac OS

2019-01-24 Thread Ralf Stubner
On 24.01.19 16:50, Jan Wijffels wrote: > Thank you for the input. Does that mean also using a configure script > would not work to make it use g++ instead of clang++ on Mac OS? Yes, that also affects configure scripts. You might achieve this compiler switch by using src/Makefile, since that fie is

[R-pkg-devel] r-hub failing?

2019-01-24 Thread Ben Bolker
Should I expect r-hub to Just Work at this point? Trying to check my package leads to failures on all platforms tried, either * due to missing packages (pretty mainstream stuff: Packages required but not available: 'minqa', 'nloptr', 'Rcpp', 'RcppEigen'; Packages suggested but not available: 'kn

Re: [R-pkg-devel] r-hub failing?

2019-01-24 Thread Gábor Csárdi
Hi Ben, the first error is because of GitHub rate limiting, I'll fix it soon, please see https://github.com/r-hub/rhub/issues/193 The second should be temporary, some hiccup in the internal scheduler, please let me know if it comes up again. Gabor On Thu, Jan 24, 2019 at 9:41 PM Ben Bolker wro