On Jan 8, 2008 1:31 AM, Prof Brian Ripley <ripley_at_stats.ox.ac.uk> 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_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-develReceived on Tue 08 Jan 2008 - 13:51:39 GMT
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Jan 2008 - 05:30:08 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.