[CWB] rcqp removed from CRAN

Blätte, Andreas andreas.blaette at uni-due.de
Tue Mar 13 20:18:57 CET 2018


Dear Stefan, dear all,

great to hear/see that rcqp is back on CRAN!  As I said, RcppCWB is not really a replacement for rcqp. Its prime purpose is to achieve Windows compatibility for polmineR, and it adds some Rcpp functions for performance critical tasks. I fully acknowledge that Bernard Desgraupes and Sylvain Loiseau's command of C in combination with R is far superior to my hacks.

Indeed, glib2 is not present on CRAN servers, and this is the only reason I can see why a macOS build is not available via CRAN. In my last submission of RcppCWB, I asked them if they can install glib. If not, it is not really a big problem. 

If you want to compile yourself on Mac, you need Xcode and Ruby, then in the terminal:
brew install glib
brew install pcre # do not even know whether this is necessary. 
Then you can proceed with install.packages("rcqp") in an R session.

For my students, I have created a binary version of rcqp for macOS. It is available via a 'drat' repo. In an R session:
install.packages("drat")
drat::addRepo("polmine")
install.packages("rcqp", type = "mac.binary")
This is still rcqp v0.4.0 - I'll try to update that in March.

Kind regards
Andreas (Blätte)



Am 13.03.18, 12:28 schrieb "cwb-bounces at sslmit.unibo.it im Auftrag von Stefan Evert" <cwb-bounces at sslmit.unibo.it im Auftrag von stefanML at collocations.de>:

    
    > On 12 Mar 2018, at 17:07, Thilo Wiertz <thilo.wiertz at geographie.uni-freiburg.de> wrote:
    > 
    > I just realized that rcqp was removed from CRAN "for policy violation". Does anyone know details or has been in touch with the authors (if they are not themselves on this list)? It has not been maintained for a few years, but it works, I regularly use it, and it is a dependency of polmineR. While it is of course not necessary to have it on CRAN it surely makes it easier to find and install.
    
    I don't see that rcqp has been archived (except in Google's cache):
    
    	https://cran.r-project.org/web/packages/rcqp/index.html
    
    shows version 0.5 released yesterday.  Of course, it only builds successfully on 64-bit Linux, so it's not clear how long this will be tolerated by CRAN maintainers.
    
    AFAIK, the only problem with MacOS builds is that Glib2 isn't installed on the build servers.  Has anybody tried to get CRAN to provide this prerequisite?
    
    Best,
    Stefan
    
    
    _______________________________________________
    CWB mailing list
    CWB at sslmit.unibo.it
    http://liste.sslmit.unibo.it/mailman/listinfo/cwb
    



More information about the CWB mailing list