From edd at debian.org  Sun Aug 26 18:32:33 2012
From: edd at debian.org (Dirk Eddelbuettel)
Date: Sun, 26 Aug 2012 11:32:33 -0500
Subject: [Rd] Package "datasets" not exporting anything on a
	recent	R-2.15.1-patched
In-Reply-To: <503A4DEB.2090605@gmail.com>
References: <503A4DEB.2090605@gmail.com>
Message-ID: <20538.20385.717692.171873@max.nulle.part>


On 26 August 2012 at 18:25, Laurent Gautier wrote:
| Hi,
| 
| I just stumbled on the following apparent oddity: the package "datasets" 
| does not appear to export anything out of its namespace:
| 
|  > ns_datasets <- getNamespace('datasets')
|  > getNamespaceExports(ns_datasets)
| character(0)
| 
| Not the case with other packages (example here with "utils"):
|  > ns_utils <- getNamespace('utils')
|  > head(getNamespaceExports(ns_utils))
| [1] "?"            ".DollarNames" "adist"        "alarm" "apropos"
| [6] "aregexec"
| 
| Is this a temporary glitch, or is there something new and specific to 
| "datasets" ?

Seems to be on purpose -- here is its NAMESPACE file

   # This package exports nothing (it uses lazydata)
   # exportPattern(".")

ie nuttin' gets exported. It also has no R/ directory.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



[Rd] Package "datasets" not exporting anything on a recent R-2.15.1-patched
Dirk Eddelbuettel