[R-sig-Debian] Xenial rpart package on CRAN built with wrong R version?

Ulrich KELLER ulrich@keller @ending from uni@lu
Tue Aug 14 12:42:20 CEST 2018


I’m not using the PPA, but the CRAN mirror from https://cran.r-project.org/bin/linux/ubuntu/#installation:

deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/

On 14 Aug 2018, at 12:25, George N. White III <gnwiii using gmail.com<mailto:gnwiii using gmail.com>> wrote:

qOn Tue, 14 Aug 2018 at 05:04, Ulrich KELLER <ulrich.keller using uni.lu<mailto:ulrich.keller using uni.lu>> wrote:
Hello,

I just upgraded my Ubuntu Xenial system to R 3.5.1 (from 3.4.?) by changing the sources.list entry and doing an "apt-get dist-upgrade". Everything works except loading the rpart package in R:

What sources.list entry did you use?

> library(rpart)
Error: package or namespace load failed for ‘rpart’:
 package ‘rpart’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version
[...]
Package r-cran-rpart was updated though, as "apt-cache show r-cran-rpart" lists the package file as "xenial-cran35/r-cran-rpart_4.1-13-1cran1xenial0_amd64.deb". No other version of rpart is installed. It seems that this Ubuntu Xenial package has to be updated with a version of rpart what was built with R 3.5 (instead of 3.4.3).

I have a working rpart:

Filename: pool/main/r/rpart/r-cran-rpart_4.1-13-3cran1ppa0xenial0_amd64.deb

--
George N. White III



	[[alternative HTML version deleted]]



More information about the R-SIG-Debian mailing list