[Rcpp-devel] Rcpp package building

2015-11-19 Thread Hmamouche Youssef
Hi everyone, I have builded a package on my machine, and when i like to install it on other machines, i have to install all the require tools (C++ compiler, …), which means that i have to compile it each time. Can’I do It a single time ? and built it in such a way that can be used without com

Re: [Rcpp-devel] Rcpp package building

2015-11-19 Thread Qiang Kou
Hi, If you are on Windows/Mac, you can try R CMD build --binary . Best wishes, KK On Thu, Nov 19, 2015 at 8:31 AM, Hmamouche Youssef < hmamoucheyus...@gmail.com> wrote: > Hi everyone, > > > I have builded a package on my machine, and when i like to install it on > other machines, i have to ins

Re: [Rcpp-devel] Rcpp package building

2015-11-19 Thread Hmamouche Youssef
Thanks so much. Have a good day, Youssef > Le 19 nov. 2015 à 16:06, Qiang Kou a écrit : > > Hi, > > If you are on Windows/Mac, you can try R CMD build --binary . > > Best wishes, > > KK > > On Thu, Nov 19, 2015 at 8:31 AM, Hmamouche Youssef > wrote: > Hi

Re: [Rcpp-devel] Rcpp package building

2015-11-19 Thread Dirk Eddelbuettel
On 19 November 2015 at 14:31, Hmamouche Youssef wrote: | I have builded a package on my machine, and when i like to install it on other machines, i have to install all the require tools (C++ compiler, …), which means that i have to compile it each time. Yes. Open Source works from source. This

Re: [Rcpp-devel] Rcpp package building

2015-11-19 Thread Dirk Eddelbuettel
On 19 November 2015 at 16:20, Hmamouche Youssef wrote: | Thanks so much. | | Have a good day, Oh, and by the way, the thread does not really have anything to do with Rcpp per se but just with smart ways of dealing with packages. So consider taking this to r-package-devel instead. Dirk -- htt

Re: [Rcpp-devel] Rcpp package building

2015-11-19 Thread Hmamouche Youssef
Hi Dirk, I agree, very small world :). For example, I have installed my package on Mac using R CMD install 'package', so I had already C/C++ compiler, it works well. Then I generate the tar.gz package using R CMD build ‘package'. But, when I try to install the tar.gz package on other machine

Re: [Rcpp-devel] Rcpp package building

2015-11-19 Thread Dirk Eddelbuettel
On 19 November 2015 at 17:02, Hmamouche Youssef wrote: | For example, I have installed my package on Mac using R CMD install 'package', | so I had already C/C++ compiler, it works well. Then I generate the tar.gz (To be pedantic: because your as your sysadmin installed the tools required for t

[Rcpp-devel] package using Rcpp aborting with: terminate called after throwing an instance of 'Rcpp::not_compatible' inside class__newInstance()

2015-11-19 Thread Simon Urbanek
One package (guitar) that happens to use Rcpp started breaking recently without any change to its own code as follows: > install.packages("guitar",,"http://rforge.net";) > library(guitar) > Repository$new(".") terminate called after throwing an instance of 'Rcpp::not_compatible' what(): exp

Re: [Rcpp-devel] package using Rcpp aborting with: terminate called after throwing an instance of 'Rcpp::not_compatible' inside class__newInstance()

2015-11-19 Thread Dirk Eddelbuettel
Simon, That may be a little tricky for a few reasons: i) We just released Rcpp 0.12.2. I spend a considerable amount of time testing prior to a release. This time we had three full reverse dependency checks totalling over 1500 builds given the 500+ revdeps. Any such issue wo

Re: [Rcpp-devel] package using Rcpp aborting with: terminate called after throwing an instance of 'Rcpp::not_compatible' inside class__newInstance()

2015-11-19 Thread Qiang Kou
Hi, Simon, Is there any specific reason to use this? If you need a binding for libgit2, maybe you can try https://github.com/ropensci/git2r At least it is actively maintained. Best, KK On Thu, Nov 19, 2015 at 3:41 PM, Dirk Eddelbuettel wrote: > > Simon, > > That may be a little tricky for a

Re: [Rcpp-devel] package using Rcpp aborting with: terminate called after throwing an instance of 'Rcpp::not_compatible' inside class__newInstance()

2015-11-19 Thread Dirk Eddelbuettel
On 19 November 2015 at 15:59, Qiang Kou wrote: | Hi, Simon, | | Is there any specific reason to use this? | | If you need a binding for libgit2, maybe you can try https://github.com/ | ropensci/git2r | | At least it is actively maintained. And on CRAN ... Dirk -- http://dirk.eddelbuettel.co

Re: [Rcpp-devel] package using Rcpp aborting with: terminate called after throwing an instance of 'Rcpp::not_compatible' inside class__newInstance()

2015-11-19 Thread Simon Urbanek
> On Nov 19, 2015, at 3:59 PM, Qiang Kou wrote: > > Hi, Simon, > > Is there any specific reason to use this? > This is OT, but, yes, git2r didn't exist when we wrote gitgist so we couldn't use it, obviously. Now, someone would have to re-write gitgist to use git2r - if you want to volunteer