From ligges at statistik.tu-dortmund.de  Tue Nov  8 16:25:11 2011
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Tue, 08 Nov 2011 16:25:11 +0100
Subject: [Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze
In-Reply-To: <CACb17F4vRs0_VtHG+NvPkhu6ho6T3Qh9qgpLu8vN+Dy2N4Ti+w@mail.gmail.com>
References: <CACb17F4vRs0_VtHG+NvPkhu6ho6T3Qh9qgpLu8vN+Dy2N4Ti+w@mail.gmail.com>
Message-ID: <4EB949D7.80507@statistik.tu-dortmund.de>

I think many people like to help, but we cannot:

You say you are under R-2.14.0 and whn you R CMD INSTALL a package with 
that version of R, it does not have a NAMESPACE in the end?
Then

  - your R installation is broken or
  - you are looking into a library where you have old versios of the 
packages or
  - you belive you are using R-2.14.0 but you are actually using an 
older version.

Uwe ligges


On 08.11.2011 10:49, Art Eschenlauer wrote:
> When I did install.packages("sqldf") on Windows and Mac OSX, it installed
> fine.
> However, when I did it on my Debian Squeeze box under R 2.14.0, it failed.
> I discovered that three of the dependent packages, chron, proto, and
> gsubfn, do not include a NAMESPACE file in their distribution tar.gz files.
> I contacted the developer, who told me that, for packages without a
> NAMESPACE file, R 2.14 (but not early versions of R) generates a NAMESPACE
> file.
>
> My workaround to get sqldf installed was to copy the generated NAMESPACE
> files from my Mac to my Debian squeeze box and use R CMD INSTALL to install
> the packages.
>
> Although I read
>     "As from R 2.14.0 all packages will be installed with a namespace:
>     rather than relying on this mechanism authors are strongly
>     encouraged to add a namespace for themselves."
> on
>     http://cran.r-project.org/doc/manuals/R-exts.html#Package-namespaces
> it nevertheless appears to me that this behavior (not generating NAMESPACE
> files) is peculiar to my Debian installation (since it worked on the
> Windows and Mac machines).
>
> Please let me know if you need more details or further research.
>
> R totally ROCKS!
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] NAMESPACE file generation issue R 2.14.0 on Debian Squeeze
Uwe Ligges