Murray Efford
2018-06-23 15:22:16 UTC
The RcppParallel introduction at https://rcppcore.github.io/RcppParallel/
instructs package writers to include a Makevars file with
PKG_LIBS += $(shell ${R_HOME}/bin/Rscript -e "RcppParallel::RcppParallelLibs()")
However, R CMD check in R 3.5.0 generates a warning apparently because +=
and $(shell are non-portable GNU extensions. As a Windows user I'm not
familiar with makefiles and am not confident to work around this. Am I
missing something, or is there a simple solution? An update to the
introduction would be welcome.
Murray
instructs package writers to include a Makevars file with
PKG_LIBS += $(shell ${R_HOME}/bin/Rscript -e "RcppParallel::RcppParallelLibs()")
However, R CMD check in R 3.5.0 generates a warning apparently because +=
and $(shell are non-portable GNU extensions. As a Windows user I'm not
familiar with makefiles and am not confident to work around this. Am I
missing something, or is there a simple solution? An update to the
introduction would be welcome.
Murray