Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.packages problem #538

Closed
DimitrYo opened this issue Aug 11, 2016 · 2 comments
Closed

install.packages problem #538

DimitrYo opened this issue Aug 11, 2016 · 2 comments

Comments

@DimitrYo
Copy link

Hi!

On Debian 8 when installing Rcpp get an error:

In file included from ../inst/include/RcppCommon.h:70:0,
                 from ../inst/include/Rcpp.h:27,
                 from Date.cpp:31:
../inst/include/Rcpp/utils/tinyformat.h:127:10: note: declared here
     void stop(const std::string& message);
          ^
/usr/lib/R/etc/Makeconf:137: recipe for target 'Date.o' failed
make: *** [Date.o] Error 1
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/home/dymytr/R/x86_64-pc-linux-gnu-library/3.1/Rcpp’
Warning in install.packages :
  installation of package ‘Rcpp’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/Rtmp48uETh/downloaded_packages’

diagnostics-report.txt

@DimitrYo DimitrYo changed the title install,packages problem install.packages problem Aug 11, 2016
@eddelbuettel
Copy link
Member

Yes, known issue, reported at least three times here (see closed issues) and once on StackOverflow.

Solution: either use a current version of R (at least R 3.2.0 release 15 months ago) which defines the symbol we inserted before the stop() that failed, or use Rcpp 0.12.6.1 from the drat which adds the definition.

If I were you I'd look at https://cloud.r-project.org/bin/linux/debian/ to learn about .deb packages with the current R version rebuilt for your older Debian distro.

@eddelbuettel
Copy link
Member

eddelbuettel commented Aug 11, 2016

For reference, this is discussed in #512 (with reference to the drat repo), #516, #519 and #520. You want these two commits if you do it by hand: a2e45fa, 3dea272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants