Peter Dunn
2007-May-03 00:43 UTC
[R] Building package: What does this message about rcompgen imply?
Hi all
I'm updating a package for submission to CRAN, and I am getting
an error message I never have seen before, and can't find out
what it implies or means (and hence, what I need to do to fix
it).
After running R CMD check, I get this:
<snip>
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd cross-references ... WARNING
Error in .find.package(package, lib.loc) :
there is no package called 'rcompgen'
Execution halted
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
<snip>
I am informed: There is no package called 'rcompgen'. True;
I never knew there was one, so I certainly never asked for
it to be loaded. (I can search all the files in the package directory
and the string rcompgen never appears either, and nor does the
string find.package.) So somewhere, this package must be deemed
necessary to install. (I have checked all dependencies too: none of
those packages need rcompgen either.)
I can get this package from CRAN and install it of course, but I
don't think I need it. (Not that I fully understand what it is for
or what it does...). I'm sure it implies there is a problem in
my package, but i don't know what problem that is.
So can anyone help me: Why does R think I need package rcompgen?
What error/mistake in my Rd files would invoke this? Where should
I be looking, and what sort of problem might I be looking for?
Thanks as always.
P.
--
Dr Peter Dunn | dunn <at> usq.edu.au
Faculty of Sciences, USQ; http://www.sci.usq.edu.au/staff/dunn
Aust. Centre for Sustainable Catchments: www.usq.edu.au/acsc
This email (including any attached files) is confidential an...{{dropped}}
Prof Brian Ripley
2007-May-03 02:15 UTC
[R] Building package: What does this message about rcompgen imply?
We don't have any of the basic details the posting guide asks for! If this is R 2.5.0, rcompgen is a recommended package and ought to be installed. If it is not, then .check_Rd_refs cannot cross-check references against all the standard and recommended packages, and that looks like the cause of the error. If it is an earler version of R, the advice in the posting guide to update applies. CRAN will be checking on 2.5.0 and later. On Thu, 3 May 2007, Peter Dunn wrote:> Hi all > > I'm updating a package for submission to CRAN, and I am getting > an error message I never have seen before, and can't find out > what it implies or means (and hence, what I need to do to fix > it). > > After running R CMD check, I get this: > > <snip> > * checking foreign function calls ... OK > * checking R code for possible problems ... OK > * checking Rd files ... OK > * checking Rd cross-references ... WARNING > Error in .find.package(package, lib.loc) : > there is no package called 'rcompgen' > Execution halted > * checking for missing documentation entries ... OK > * checking for code/documentation mismatches ... OK > * checking Rd \usage sections ... OK > <snip> > > > I am informed: There is no package called 'rcompgen'. True; > I never knew there was one, so I certainly never asked for > it to be loaded. (I can search all the files in the package directory > and the string rcompgen never appears either, and nor does the > string find.package.) So somewhere, this package must be deemed > necessary to install. (I have checked all dependencies too: none of > those packages need rcompgen either.) > > I can get this package from CRAN and install it of course, but I > don't think I need it. (Not that I fully understand what it is for > or what it does...). I'm sure it implies there is a problem in > my package, but i don't know what problem that is. > > So can anyone help me: Why does R think I need package rcompgen? > What error/mistake in my Rd files would invoke this? Where should > I be looking, and what sort of problem might I be looking for? > > Thanks as always. > > P. > >-- Brian D. Ripley, ripley at 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
Dirk Eddelbuettel
2007-May-03 02:16 UTC
[R] Building package: What does this message about rcompgen imply?
Peter,
On 3 May 2007 at 10:43, Peter Dunn wrote:
| After running R CMD check, I get this:
|
| <snip>
| * checking foreign function calls ... OK
| * checking R code for possible problems ... OK
| * checking Rd files ... OK
| * checking Rd cross-references ... WARNING
| Error in .find.package(package, lib.loc) :
| there is no package called 'rcompgen'
| Execution halted
Are you by chance on Debian (or Ubuntu)?
I couldn't make r-recommended 'Depends:' on r-cran-rcompgen because
the later
was taking some time to come throught the 'new package' queue that has
to be
manually inspected, checked, approved, ... by the Debian ftpmaster. It is
now in unstable.
In any event, with R 2.5.0, and with or without Debian,
> install.packages("rcompgen")
from within R (possibly running as root) should install it for you.
Subsequent Debian R packages will have r-recommended depends on
r-cran-rcompgen, and r-cran-codetools (which is delayed a bit more as I made
a mistake in the very first version I uploaded).
Regards, Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thomas A. Edison
Reasonably Related Threads
- Bug/Error in formatC? (Was: Why doesn't formatC( x, digits=2, format= "g")...)
- Adding LaTeX cross-references into Sweave plots
- sma package, and MouseArray data set
- Sweave issue: quotes in verbatim-like output print incorrectly
- Why doesn't formatC( x, digits=2, format="g") doesn't always give 2 sig figs?