[R-pkg-devel] SystemRequirements and .R/Makevars

Ramon Diaz-Uriarte rdiaz02 at gmail.com
Fri Jun 19 12:01:10 CEST 2015

Dear All,

Some of my packages use

SystemRequirements: C++11

in the DESCRIPTION. But then .R/Makevars seems to be ignored (e.g., flags
such as -Wall or using clang) in all that concerns C++ (only CXX and
CXXFLAGS are ignored, not CC or CFLAGS). So I keep commenting that line for
normal development and uncommenting it for final checking before release.

I vaguely remember reading somewhere this is the way things work, but this
is not what I understand from reading again

After googling I have not been able to locate anything, and since I guess
it is probably common to use both C++11 and a custom .R/Makevars I think
something is wrong somewhere in my setup. But I have no idea what. I am
using Debian (a mix of testing and unstable), both with stock Debian R and
with custom built Rs.



Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid

Phone: +34-91-497-2412

Email: rdiaz02 at gmail.com
       ramon.diaz at iib.uam.es


More information about the R-package-devel mailing list