[Rcpp-devel] GNU extension in makefile

Murray Efford murray.efford at gmail.com
Sat Jun 23 17:22:16 CEST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20180624/5dc9388b/attachment.html>


More information about the Rcpp-devel mailing list