Re: [R] Building package: What does this message about rcompgen imply?

From: Prof Brian Ripley <>
Date: Thu, 03 May 2007 03:15:28 +0100 (BST)

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,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 03 May 2007 - 02:29:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 03 May 2007 - 02:31:36 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.