On Jan 8, 2008 1:31 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Hadley sent me the package, and my guess *was* correct. The package is > not using lazy-loading, and early on it has (in aaa-top-level.r) > > TopLevel <- proto(expr = { > ... > > That is 'a top-level computation'. To make this work, you need > require("proto") in that file. It also needs require("grid").
Thanks for looking into it. I must have misinterpreted: The R code files should only create R objects and not call functions with side effects such as require and options. because isn't that expression creating an R object? And something in R CMD check must have changed recently because that code has been there as long as ggplot2 has. Regardless, thanks again for the help as I never would have found that given that my understanding of the problem was clearly flawed. Thanks, Hadley -- http://had.co.nz/ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel