From jwiley.psych at gmail.com  Tue Nov  8 18:49:21 2011
From: jwiley.psych at gmail.com (Joshua Wiley)
Date: Tue, 8 Nov 2011 09:49:21 -0800
Subject: [Rd] NAMESPACES for data only packages
In-Reply-To: <4EB962CE.6020707@yorku.ca>
References: <4EB962CE.6020707@yorku.ca>
Message-ID: <CANz9Z_JH5ss-NvkfywHx1uiiE41YFXfxEEOKFfG27Uy3aamuzg@mail.gmail.com>

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:
> 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
>
> --
> Michael Friendly ? ? Email: friendly AT yorku DOT ca
> Professor, Psychology Dept.
> York University ? ? ?Voice: 416 736-5115 x66249 Fax: 416 736-5814
> 4700 Keele Street ? ?Web: ? http://www.datavis.ca
> Toronto, ONT ?M3J 1P3 CANADA
>
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
Programmer Analyst II, ATS Statistical Consulting Group
University of California, Los Angeles
https://joshuawiley.com/



[Rd] NAMESPACES for data only packages
Joshua Wiley