Martin Maechler <[EMAIL PROTECTED]> writes:

> I'm quite similar to Seth here. For that reason (and because
> Doug Bates also behaves similarly here, and we talked about it !),
> if you use  R 2.3.0 or newer,
>     example(source)
> will provide the function  sourceDir(),  so you can do
>
>    example(source)
>    sourceDir("<mypackage_SOURCE_dir>/R")

I wonder if a nice improvement would be to provide a package source
directory and have the function parse the DESCRIPTION file in case
there is a Collate field.  In that case, sourceDir() will get the
right order... But maybe it doesn't matter if you have already loaded
the package and are doing development...

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to