Re: [Rd] R CMD check warning about boot ?

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Thu 30 Nov 2006 - 14:06:46 GMT

On 30 November 2006 at 12:37, Kurt Hornik wrote:
| >>>>> Uwe Ligges writes:
|
| > Dirk Eddelbuettel wrote:
| >> Running R CMD check on a local package, I get
| >>
| >> * checking Rd files ... OK
| >> * checking Rd cross-references ... WARNING
| >> Error in .find.package(package, lib.loc) :
| >> there is no package called 'boot'

|
| > Probably the boot installation in one of your libraries is corrupted.
|
| Actually, the question is where boot is installed. The code does
|
| aliases <-
| lapply(unlist(.get_standard_package_names()[c("base",
| "recommended")],
| use.names = FALSE),
| Rd_aliases, lib.loc = .Library)
| ********

> LL <- library()
Warning message:
library %G,Ab€˜(B%@/usr/lib/R/site-library%G,Ab€™(B%@ contains no packages in: library() > LL$results[ LL$results[,1]=="boot", 2 ] [1] "/usr/local/lib/R/site-library"
> LL$results[ LL$results[,1]=="boot", 1:2 ]

                        Package                         LibPath 
                         "boot" "/usr/local/lib/R/site-library" 
> dim(LL$results)
[1] 140 3
> .libPaths()
[1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library" "/usr/lib/R/library" >

The boot package loads fine, and is current. Why does R CMD check think it is an error that boot happens to live in a particular directory, for as long as that directory is known to .libPaths() ?

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Fri Dec 01 01:19:19 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 01 Dec 2006 - 21:30:50 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.