Skip to content

NAMESPACES for data only packages

3 messages · Michael Friendly, Joshua Wiley, Brian Ripley

#
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, Michael Friendly <friendly at yorku.ca> wrote:

  
    
#
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 a 
transition (e.g. many of the BioC 2.9 binary data-only packages did 
not have a namespace at the time).
On Tue, 8 Nov 2011, Joshua Wiley wrote: