Skip to content
Back to formatted view

Raw Message

Message-ID: <49078CFF-BFBF-4C05-BD48-11B638646E68@me.com>
Date: 2016-03-03T14:02:36Z
From: Marc Schwartz
Subject: Namespace problem with pre-R 3.0.0 package
In-Reply-To: <56D83EC5.5000007@unil.ch>

> On Mar 3, 2016, at 7:40 AM, Sebastien Moretti <sebastien.moretti at unil.ch> wrote:
> 
> Hi
> 
> I have issues with an R package developed in 2004.
> It works perfectly in R < 3.
> It can be installed in R > 3 but functions are not in the namespace.
> 
> Do you know a good - and simple - documentation to help me to solve that?
> 
> I have already fixed some problems with R CMD check but remaining ones are less trivial.
> 
> Regards
> 
> --
> S?bastien Moretti


Hi,

First, this is really more of a question for R-package-devel:

  https://stat.ethz.ch/mailman/listinfo/r-package-devel)

not R-Help. :-)

Starting with R 3.0.0 (April of 2013), NAMESPACE files for packages were mandatory, whereas before that, they were optional. That is the primary issue.

If the original package author/maintainer has ceased to update the package, thus not available to assist, the primary documentation that you would need is in the R-Exts manual, specifically:

  https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Package-namespaces

Depending upon the residual errors that you are getting, if you can provide additional details so that folks can provide better assistance, subscribe to and post to R-package-devel for further discussion.

Regards,

Marc Schwartz