On Wed, 19 Jun 2019 at 19:03, Charith Karunarathna <charith_karunarat...@sfu.ca> wrote: > > Hi, > > I got the following NOTES after submitting my R package to CRAN for the first > time. > > " > Flavor: r-devel-windows-ix86+x86_64 > Check: use of SHLIB_OPENMP_*FLAGS in Makefiles, Result: NOTE > src/Makevars.win: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but > not in PKG_LIBS
So you have PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) and you are missing PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) > src/Makevars.win: SHLIB_OPENMP_CFLAGS is included in PKG_LIBS but linking > is by C++ Remove these from PKG_LIBS, you are compiling C++ code. CFLAGS -> C, CXXFLAGS -> C++. Iñaki ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel