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
> 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 MorettiHi, 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
Le 03/03/2016 03:02 PM, Marc Schwartz a ?crit :> >> 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 SchwartzThanks Marc I will subscribe to R-package-devel and add details to my e-mail. I have already looked at such documentation but they are really not clear for me and my problem. -- S?bastien Moretti