[R] "Warning message: package '...' was built under R version 2.3.0"

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Nov 16 22:21:01 CET 2005


"Tuszynski, Jaroslaw W." <JAROSLAW.W.TUSZYNSKI at saic.com> writes:

> I do have single version of R (2.2.0) and all packages I have were installed
> by downloading precompiled packages from PA or NC repositories within last
> month. 
> 
> I also just managed to download 'modeltools' from PA2 and its DESCRIPTION
> says:
> Built: R 2.3.0; ; 2005-11-04 20:47:47; windows
> 
> R console:
> 
> 	> utils:::menuInstallPkgs()
> 	--- Please select a CRAN mirror for use in this session ---
> 	trying URL
> 'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.2/modeltools_0.2-0.zip
> '
> 	Content type 'application/zip' length 64426 bytes
> 	opened URL
> 	downloaded 62Kb
> 
> 	package 'modeltools' successfully unpacked and MD5 sums checked
> 
> 	The downloaded packages are in
> 	        C:\Documents and Settings\tuszynskij\Local
> Settings\Temp\Rtmp4458\downloaded_packages
> 	updating HTML package descriptions
> 	> library(modeltools)
> 	Error in load(dataFile, ns) : ReadItem: unknown type 241
> 	In addition: Warning message:
> 	package 'modeltools' was built under R version 2.3.0 
> 	Error: unable to load R code in package 'modeltools'
> 	Error: package/namespace load failed for 'modeltools'
> 
> The same package downloaded from PA1 does not give me any warnings or
> errors.
> 
> Jarek Tuszynski

Yes. The Statlib mirror (which I suppose is what you call PA2) appears
to be badly messed up.

The packages under 

http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib

seem not to have been updated since 2004, whereas (e.g.)

http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/r-release/gRbase_0.1.23.zip

carries the Built: 2.3.0 line in the DESCRIPTION file.

Even stranger, looking in R/CRAN/bin/windows/contrib shows no
subfolder r-release, and R/CRAN/bin/windows/contrib/r-release contains
version 0.1.13 of gRbase!

In short, use another mirror until this one gets sorted out...



> 
> -----Original Message-----
> From: ligges at statistik.uni-dortmund.de
> [mailto:ligges at statistik.uni-dortmund.de] 
> Sent: Wednesday, November 16, 2005 1:04 PM
> To: Tuszynski, Jaroslaw W.
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] "Warning message: package '...' was built under R version
> 2.3.0"
> 
> 
> Tuszynski, Jaroslaw W. wrote:
> 
> > Uwe,
> > 
> > I think I used following repositories: PA1, PA2 and NC, which are the 
> > closest to me and I think I got the same results in all. The package I 
> > downloaded was "coin" which downloaded other packages. The consol 
> > printout
> > follows:
> > 
> > 
> > 
> >>chooseCRANmirror()
> >>utils:::menuInstallPkgs()
> > 
> > trying URL 
> > 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2/c
> > oin_0.
> > 3-3.zip'
> > Content type 'application/zip' length 793299 bytes
> > opened URL
> > downloaded 774Kb
> > 
> > package 'coin' successfully unpacked and MD5 sums checked
> > 
> > The downloaded packages are in
> >         C:\Documents and Settings\tuszynskij\Local 
> > Settings\Temp\Rtmp7594\downloaded_packages
> > updating HTML package descriptions
> > 
> >>library(coin)
> > 
> > Loading required package: survival
> > Loading required package: splines
> > Loading required package: mvtnorm
> > Loading required package: modeltools
> > Error in load(dataFile, ns) : ReadItem: unknown type 241
> > In addition: Warning messages:
> > 1: package 'mvtnorm' was built under R version 2.3.0
> 
> 
> I have just downloaded
> http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.2/mvtnorm_
> 0.7-2.zip
> and its DESCRIPTION file correctly has:
> "Built: R 2.2.0; i386-pc-mingw32; 2005-10-14 14:44:12; windows"
> 
> 
> My guess is that you are using one library for two different R versions 
> and you have installed some R-devel package into the library you are now 
> using with R-2.2.0 ...
> 
> You cannot mix binary packages for R < 2.3.0 with those for R-devel due 
> to changes in environment handling.
> 
> Uwe Ligges
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907




More information about the R-help mailing list