[Rd] checking whether the name space can be loaded with stated dependencies

hadley wickham h.wickham at gmail.com
Tue Jan 8 14:45:49 CET 2008


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/



More information about the R-devel mailing list