Skip to content
Back to formatted view

Raw Message

Message-ID: <23816.2131.523576.184206@rob.eddelbuettel.com>
Date: 2019-06-17T21:38:27Z
From: Dirk Eddelbuettel
Subject: [R-pkg-devel] R CMD check Rcpp_1.0.1.tar.gz error
In-Reply-To: <aa14e479b0f34be6b05cd4388f9daf33@EX-MCD-1.win.uthscsa.edu>

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 at debian.org