In checking my R package via devtools::check and devtools::check_built, I received the following NOTE which I am unsure how to fix. My package contains compiled code (via Rcpp). Within my .cpp file I have the following line:
#define ARMA_DONT_PRINT_OPENMP_WARNING Is this the issue? checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... NOTE src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but not in PKG_LIBS src/Makevars: SHLIB_OPENMP_CFLAGS is included in PKG_LIBS but linking is by C++ src/Makevars.win: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but not in PKG_LIBS src/Makevars.win: SHLIB_OPENMP_CFLAGS is included in PKG_LIBS but linking is by C++ Thanks. [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel