[R] make check fails tools-Ex in 2.5.0

Pacey, Mike m.pacey at lancaster.ac.uk
Wed May 23 15:16:27 CEST 2007


Hi folks,

I'm attempting to compile and install 2.5.0, and "make check" is failing
one of the earlier sanity tests. I'll append the relevant portion of the
Rout.fail file below, but I've narrowed it down manually to a single
command:

> sessionInfo()
R version 2.5.0 (2007-04-23) 
x86_64-unknown-linux-gnu 

locale:
LC_CTYPE=en_US.iso88591;LC_NUMERIC=C;LC_TIME=en_US.iso88591;LC_COLLATE=e
n_US.iso88591;LC_MONETARY=en_US.iso88591;LC_MESSAGES=en_US.iso88591;LC_P
APER=en_US.iso88591;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT
=en_US.iso88591;LC_IDENTIFICATION=C

attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"
"methods"  
[7] "base"     
> library('tools')
> db <- Rd_db("base")
> db
list()

Earlier versions I've compiled and installed (2.3.1, 2.4.0) populate db
with a lot of information. Any suggestions on what might be wrong here?

Regards,
Mike.

-----

Dr Mike Pacey,                         Email: M.Pacey at lancaster.ac.uk
High Performance Systems Support,      Phone: 01524 593543
Information Systems Services,            Fax: 01524 594459
Lancaster University,
Lancaster LA1 4YW

-----

Tail end of tools-Ex.Rout.fail:

> library('tools')
> 
> assign(".oldSearch", search(), pos = 'CheckExEnv')
> assign(".oldNS", loadedNamespaces(), pos = 'CheckExEnv')
> cleanEx(); nameEx("Rdutils");
> ### * Rdutils
> 
> flush(stderr()); flush(stdout())
> 
> ### Name: Rdutils
> ### Title: Rd Utilities
> ### Aliases: Rd_db Rd_parse
> ### Keywords: utilities documentation
> 
> ### ** Examples
> 
> ## Build the Rd db for the (installed) base package.
> db <- Rd_db("base")
> ## Run Rd_parse on all entries in the Rd db.
> db <- lapply(db, function(txt) Rd_parse(text = txt))
> ## Extract the metadata.
> meta <- lapply(db, "[[", "meta")
> 
> ## Keyword metadata per Rd file.
> keywords <- lapply(meta, "[[", "keywords")
> ## Tabulate the keyword entries.
> kw_table <- sort(table(unlist(keywords)))
Error in as.vector(x, mode) : invalid argument 'mode'
Execution halted



More information about the R-help mailing list