Re: [Rd] codetools really optional for R CMD check?

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Wed, 25 Jul 2007 22:20:42 +0000

On Wed, Jul 25, 2007 at 01:29:24PM -0700, Ross Boylan wrote:
> After upgrading to R 2.5.1 on Debian, R CMD check gives
> * checking Rd cross-references ... WARNING
> Error in .find.package(package, lib.loc) :
> there is no package called 'codetools'
> Execution halted
> * checking for missing documentation entries ... WARNING
> etc
>
> The NEWS file says (for 2.5.0; I was on 2.4 before the recent upgrade)
> o New recommended package 'codetools' by Luke Tierney provides
> code-analysis tools. This can optionally be used by 'R CMD
> check' to detect problems, especially symbols which are not
> visible.
>
> This sounds as if R CMD check should run OK without the package, and it
> doesn't seem to.
>
> Have I misunderstood something, or is their a problem with R CMD check's
> handling of the case with missing codetools.
>
> I don't have codetools installed because the Debian r-recommended
> package was missing a dependency; I see that's already been fixed
> (wow!).

Yes, there was a transition problem. When R 2.5.0 was released, I was unaware of the need to prepare packages for codetools and rcompgen __early enough so that they would migrate through the NEW queue in Debian__ and hence be available upon the day of the R release. Otherwise a Depends is no good if it can't be fulfilled.

So yes, for a while we had an implied Depends, but nothing formal. All this has now been rectified and installing or upgrading r-recommended will get you the new packages as it should.

Prior to another R releases with new recommended packages, I should either pay closer attention to the relevant subdirectory in the sources, and hope for a friendly heads-up from R Core (hint, ...)

Dirk

-- 
Three out of two people have difficulties with fractions.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 25 Jul 2007 - 22:23:26 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 26 Jul 2007 - 04:39:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.