[Rcpp-devel] Rcpp.package.skeleton load fails on Debian with Rcpp 0.12.0, seems OK with Rcpp 0.12.0.2

Jean-Michel.Perraud at csiro.au Jean-Michel.Perraud at csiro.au
Wed Aug 26 03:24:49 CEST 2015


Hi,

I noticed that the output of Rcpp.package.skeleton fails with Rcpp 0.12.0 on CRAN if using module=TRUE, at least on a debian box. Installing Rcpp from the source on github, using devtools::install_github, solves the issue. 
 
Repro info:

> library(Rcpp)  # 0.12.0
> Rcpp.package.skeleton(name = "test", force = TRUE, example_code = TRUE, attributes = TRUE, module = TRUE) 

$ R CMD check test

* checking whether package ‘test’ can be installed ...*** Error in `/usr/lib/R/bin/exec/R': free(): invalid pointer: 0x0000000002aad848 ***
 ERROR
Installation failed.


Linux 4.1.0-2-amd64 #1 SMP Debian 4.1.5-1 (2015-08-15) x86_64 GNU/Linux
gcc (Debian 5.2.1-15) 5.2.1 20150808
> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux stretch/sid


I could not see it captured under https://github.com/RcppCore/Rcpp/issues, but may have missed it, or captured in another form.

Cheers.



More information about the Rcpp-devel mailing list