[R] update of a function

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Apr 18 18:42:54 CEST 2010



On 18.04.2010 13:52, carol white wrote:
> Hi,
> I could finally create an R package. I was suprised to notice that when I want to update a function, even if it is updated in package_name/R/function.R and after build but it is not updated when the package is loaded. I see that the tar.gz file is updated but when I load the package, I get the old version. The only solution that I found was to update in R session and rerun package.skeleton, build etc. Why the update doesn't work directly in R folder?


Well, you need to *install* the package, just *build*ing the source 
tarball is not sufficient here.

Uwe Ligges


> Cheers,
>
> Carol
>
> ______________________________________________
> 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