Hi Seth,

> It would be much cleaner to put this environment in your package name
> space and not muck with the globalenv.  How about putting this in one
> of your .R files:
>
>   .yaqcEnv <- new.env(parent=emptyenv(), hash=TRUE)
>   data(morespikes, envir = .yaqcEnv)

Done.

> Are you still seeing the same error messages or are things working 
> better/different now?

Unfortunately I still get the same error. I added the complete output below.
Hm, I am a quite lost now, I must admit... don't know what to do next.

Laurent


-- 
Laurent Gatto
www.dnavision.be



lgatto@marvin:~/dev$ R CMD check yaqcaffy
* checking for working latex ... OK
* using log directory '/home/lgatto/dev/yaqcaffy.Rcheck'
* using R version 2.5.0 beta (2007-04-11 r41127)
* checking for file 'yaqcaffy/DESCRIPTION' ... OK
* this is package 'yaqcaffy' version '0.0.12'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking whether package 'yaqcaffy' can be installed ... OK
* checking package directory ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... ERROR
Loading required package: simpleaffy
Loading required package: affy
Loading required package: Biobase
Loading required package: tools

Welcome to Bioconductor

    Vignettes contain introductory material. To view, type
    'openVignette()' or start with 'help(Biobase)'. For details
    on reading vignettes, see the openVignette help page.

Loading required package: affyio
Loading required package: genefilter
Loading required package: survival
Loading required package: splines
KernSmooth 2.22 installed
Copyright M. P. Wand 1997
Error in setIs(Class, class2, classDef = classDef, where = where) :
        Unable to find package environment for class "QCStats" to revise subclass information
Error in setClass("YAQCStats", contains = "QCStats", representation(average.noise = "numeric",  :
        error in contained classes ("QCStats") for class "YAQCStats"; class definition removed from "yaqcaffy"
In addition: Warning message:
Couldn't find superclass "QCStats" to clean up when removing subclass references to class "YAQCStats" in: .removeSuperclassBackRefs(Class, classDef, classWhere)
Error : unable to load R code in package 'yaqcaffy'
Error: package/namespace load failed for 'yaqcaffy'
Execution halted

It looks like this package has a loading problem: see the messages for
details.

	[[alternative HTML version deleted]]

