From ligges at statistik.uni-dortmund.de  Wed Sep 12 11:31:55 2007
From: ligges at statistik.uni-dortmund.de (Uwe Ligges)
Date: Wed, 12 Sep 2007 11:31:55 +0200
Subject: [Rd] "could not find function" in R CMD check
In-Reply-To: <1189555373.21055.111.camel@iron.psg.net>
References: <1189555373.21055.111.camel@iron.psg.net>
Message-ID: <46E7B20B.1020609@statistik.uni-dortmund.de>

Perhaps Namespace issues? But no further ideas. You might want to make 
your package available at some URL so that people can look at it and help...

Uwe Ligges


Ross Boylan wrote:
> During R CMD check I get this:
> ** building package indices ...
> Error in eval(expr, envir, enclos) : could not find function
> "readingError"
> Execution halted
> ERROR: installing package indices failed
> 
> The check aborts there.  readingError is a function I just added; for
> reference
> setClass("readingError", contains="matrix")
> readingError <- function(...) new("readingError", matrix(...))
> which is in readingError.R in the project's R subdirectory.
> 
> Some code in the data directory invokes readingError, and the .Rd file
> includes \alias{readingError}, \alias{readingError-class},
> \name{readingError-class} and an example invoking readingError.
> 
> I'm using R 2.5.1 as packaged for Debian GNU/Linux.
> 
> Does anyone have an idea what's going wrong here, or how to fix or debug
> it?
> 
> The code seems to work OK when I use it from ESS.



[Rd] "could not find function" in R CMD check
Uwe Ligges