[Rcpp-devel] makevars file

Peter Rossi perossichi at gmail.com
Fri Jun 12 04:07:16 CEST 2015


Folks-

I have made a package that includes a src/makevars file generated
automatically by Rcpp. It passes all checks.

contents of src/makevars:
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
PKG_CPPFLAGS += -I../inst/include/

I submitted to CRAN and got the following message:

* checking for GNU extensions in Makefiles ... WARNING
Found the following file(s) containing GNU extensions:
  src/Makevars
Portable Makefiles do not use GNU extensions such as +=, :=, $(shell),

Clearly, I have to remove the += wildcard.  How should I change it to make
it "portable"?

also, CRAN complains about the lack of a LF at the end of src/makevars. Any
thoughts on how to achieve this?

many thanks

peter r
bayesm author and struggling coder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150611/c6b70228/attachment.html>


More information about the Rcpp-devel mailing list