Re: [Rd] NAMESPACES for data only packages

2011-11-08 Thread Prof Brian Ripley
Can we clarify: As the NEWS says, to install a data-only package under 2.14.0 you need a namespace. And if you do not give one installation will create one. However, you can use an already-installed data-only package without a namespace under 2.14.x, but not under R-devel. This is to allow

Re: [Rd] NAMESPACES for data only packages

2011-11-08 Thread Joshua Wiley
Hi Michael, You are correct that data does not *have* to be exported. For example, here is the contents of NAMESPACE for the datasets package from a recent devel version: # This package exports nothing (it uses lazydata) # exportPattern(".") Cheers, Josh On Tue, Nov 8, 2011 at 9:11 AM, Michae

[Rd] NAMESPACES for data only packages

2011-11-08 Thread Michael Friendly
the NEWS file for R-devel says * Even data-only packages without *R* code need a namespace and so may need to be installed under *R* 2.14.0 or later. but what should this contain? Can it simply be an empty NAMESPACE file? I assume that data does not have to be exported. -Michael