[R-pkg-devel] R CMD check Rcpp_1.0.1.tar.gz error

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Mon Jun 17 23:38:27 CEST 2019


Howdy,

There is a dedicated list for Rcpp we recommend users use...

On 17 June 2019 at 20:56, Wang, Zhu wrote:
| 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'

The compiler tells you here that it is unhappy. As Ben already suggested I would
remove this -- maybe comment it out in your ~/.R/Makeconf or rename that file
and then try again.

| ## Running under: Ubuntu 18.04.2 LTS

Also, you can get prebuilt versions of over 4000 CRAN packages, including Rcpp,
from the Rutter PPA. See this post and earlier posts in the r^4 series:
  http://dirk.eddelbuettel.com/blog/2019/06/09#022_rocker_and_ppas
And the current-when-18.04-was-made version of Rcpp is also available for you.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list