Re: [Bioc-devel] tokay1 C++14 compiler

2019-07-31 Thread Simo Kitanovski
Many thanks! Best, Simo On 31.07.19 11:39 vorm., Pages, Herve wrote: Hi Simo, Glad you were able to switch from install-time to run-time compilation. The C++14 compiler box for tokay1 shows that this compiler is not available on this machine. What you see below the box under "Compiler versio

Re: [Bioc-devel] tokay1 C++14 compiler

2019-07-31 Thread Pages, Herve
Hi Simo, Glad you were able to switch from install-time to run-time compilation. The C++14 compiler box for tokay1 shows that this compiler is not available on this machine. What you see below the box under "Compiler version" is produced by some code that tries to detect the version of the compil

Re: [Bioc-devel] tokay1 C++14 compiler

2019-07-30 Thread Kasper Daniel Hansen
Well, that's pretty clear. The compiler apparently doesn't support C++14 (perhaps ask about this on the Stan support - it suggests that Stan doesn't run on Windows with default Rtools). When you delay compiling the models to runtime, of course the package builds - it just won't work for any user.

Re: [Bioc-devel] tokay1 C++14 compiler

2019-07-29 Thread Simo Kitanovski
Surprisingly, if I design the package such that the stan models are compiled only at run-time I get no issues -> all servers build the package correctly. (https://github.com/Bioconductor/Contributions/issues/1187) On the other hand, if I follow the rstan instructions on how to design an R pack

Re: [Bioc-devel] tokay1 C++14 compiler

2019-07-29 Thread Kasper Daniel Hansen
My understanding - and I could be wrong - is that Stan compiles a model, so the compiler needs to be available at run time and not just at build time. On Thu, Jul 25, 2019 at 4:02 PM Simo Kitanovski wrote: > Thanks! > > I will try to revise the code to avoid CXX14 if this is that case. > > Best

Re: [Bioc-devel] tokay1 C++14 compiler

2019-07-25 Thread Simo Kitanovski
Thanks! I will try to revise the code to avoid CXX14 if this is that case. Best On 25.07.19 11:52 nachm., Martin Morgan wrote: Windows (and macOS) CRAN packages are installed as binaries (as experienced by the typical user), so don't need compilation-- Rstan is built by CRAN through whateve

Re: [Bioc-devel] tokay1 C++14 compiler

2019-07-25 Thread Martin Morgan
Windows (and macOS) CRAN packages are installed as binaries (as experienced by the typical user), so don't need compilation-- Rstan is built by CRAN through whatever magic / agreement. The paragraph at the very end of https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Using-C_002b_

Re: [Bioc-devel] tokay1 C++14 compiler

2019-07-25 Thread Kasper Daniel Hansen
What's weird here is that you supposedly depend on rstan which also requires a C++14. How can the build system have that package installed without having a compliant compiler? On Thu, Jul 25, 2019 at 12:05 PM Simo Kitanovski wrote: > Hello Bioconductor community, > > I maintain the Bioconductor

[Bioc-devel] tokay1 C++14 compiler

2019-07-25 Thread Simo Kitanovski
Hello Bioconductor community, I maintain the Bioconductor package genphen which depends on rstan for MCMC sampling. To build the package one needs a C++14 compiler. I have no problem building the package on malbec1 and merida1, but not on tokay1. Any idea of what might have gone wrong on this