Hi,

Looking at RStan, I'm wondering what the current thinking is with regard
to extra R packages.

Inspired by John Dey's approach, e.g.

  
https://github.com/FredHutch/easybuild-life-sciences/blob/master/fh_easyconfigs/r/R/R-3.6.1-foss-2016b-fh1.eb

I currently have a local 'R extras' easyconfig, which at the moment just
contains the packages needed for RStan plus one other package.

However, separate easyconfigs for RStan exist:

  $ eb -S RStan
  
CFGS1=/trinity/shared/easybuild/software/EasyBuild/4.0.1/easybuild/easyconfigs/r/RStan
   * $CFGS1/RStan-2.18.2-foss-2017b-R-3.4.3.eb
   * $CFGS1/RStan-2.18.2-foss-2018b-R-3.5.1.eb
   * $CFGS1/RStan-2.18.2-intel-2017b-R-3.4.3.eb

In addition, I need to build RStan with the following extra compiler flag:

  CXXFLAGS += -DSTAN_THREADS

Whilst this example would probably not cause any problems in a large 'R
extras' easyconfig, there could be conflicts if the macro names are more
generic.

So is the best approach all packages in a single bundle except for those
which need some special tweaking?

Cheers,

Loris

--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to