[R] How to update an old unsupported package

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Sep 26 19:27:08 CEST 2010



On 26.09.2010 19:19, Neotropical bat risk assessments wrote:
> Hi all,
>
> I have a package that is specific to a task I was repetitively using a
> few years ago.
> I now needed to run it again with new data.
>
> However I am told it was built with an older version or R and will not
> work.
> How can I tweak the package so it will run on 11.1?


You probably mean R-2.11.1?


> It was a one-off product and has not been maintained.
> Is there a way to "unpackage" it and repackage it to work?

Well, take the source package, run
   tar xfz packagename_version.tar.gz
and you have the sources that you can modify and repackage and reinstall 
afterwards.

See the manual "Writing R Extensions" fir detaiks.

Best,
Uwe Ligges



> I tried just changing the date and R version in the DESCRIPTION file but
> that did not help.
>
> Tnx
>
> Bruce
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list