Re: [Rd] Problems with Rcmd check in rw2000dev

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 17 Sep 2004 - 14:23:26 EST


Your subject is I think misleading as you say

> Just checked: Running Rcmd check under rw1091 gives exactly the same error.

So it appears to be a problem with your package. The version of SenSrivastava on CRAN does work for me on current rw2000dev.

On Thu, 16 Sep 2004, Kjetil Brinchmann Halvorsen wrote:

> Hola!
>
> I am doing some minimal changes on the package SenSrivastava to make it
> fit for
> R2.0.0 (This package passed Rcmd check on earlier versions of R,
> and are passing the CRAN daily checks!) I am using
> rw2000dev from CRAN. Now i get (running in an Xemacs shell):
>
> installing R.css in C:/R/rw2000dev/src/gnuwin32/SenSrivastava.Rcheck
>
>
> ---------- Making package SenSrivastava ------------
> adding build stamp to DESCRIPTION
> no R files in this package
> installing data files
> installing man source files
> installing indices
> Error: restore file may be from a newer version of R -- no data loaded
> Execution halted
> make[2]: *** [indices] Error 1
> make[1]: *** [all] Error 2
> make: *** [pkg-SenSrivastava] Error 2
> *** Installation of SenSrivastava failed ***
>
> Removing 'C:/R/rw2000dev/src/gnuwin32/SenSrivastava.Rcheck/SenSrivastava'
>
> Just checked: Running Rcmd check under rw1091 gives exactly the same error.
>
> What does it mean: Error: restore file may be from a newer version of R
> -- no data loaded
> especially running under rw2000dev this doesn't seem to make sense!

It means a file which you are asking it to load() cannot be loaded. Since this is in the indices, it means one of your data/*.Rdata files, I believe. What it is actually telling you is that it started reading the file and got RD followed by something it did not understand, a format reserved for future formats.

My guess is that a binary .RData file has been transferred in text mode. It's a pity the error message does not tell us the file name.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri Sep 17 14:28:35 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:15 EST