[R-pkg-devel] R CMD check Rcpp_1.0.1.tar.gz error
Wang, Zhu
w@ngz1 @end|ng |rom uth@c@@@edu
Mon Jun 17 22:56:56 CEST 2019
Dear all,
For some reason, I couldn't install Rcpp https://cran.r-project.org/web/packages/Rcpp/index.html, and R CMD check generated the error message below. I also attached Makeconf file referred below.
Thanks for your attention.
Zhu Wang
installing *source* package 'Rcpp' ...
** package 'Rcpp' successfully unpacked and MD5 sums checked
** using non-staged installation
** libs
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I../inst/include/ -fpic "-g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -Wno-parentheses" -c Date.cpp - o Date.o
g++: error: unrecognized debug output level ' -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -Wno-parentheses'
/usr/lib/R/etc/Makeconf:176: recipe for target 'Date.o' failed
make: *** [Date.o] Error 1
ERROR: compilation failed for package 'Rcpp'
sessionInfo()
## R version 3.6.0 (2019-04-26)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 18.04.2 LTS
More information about the R-package-devel
mailing list