Dear R community, what would be the proper R way to handle obsolete function names? I have created several packages with functions and sometimes would like to change the name of a function but would like to create a mechanism that other scripts of functions using the old name still work. Cheers Jannis
R. Michael Weylandt <michael.weylandt@gmail.com>
2013-Apr-17 17:36 UTC
[R] proper way to handle obsolete function names
On Apr 17, 2013, at 10:17 AM, Jannis <bt_jannis at yahoo.de> wrote:> Dear R community, > > > what would be the proper R way to handle obsolete function names? I have created several packages with functions and sometimes would like to change the name of a function but would like to create a mechanism that other scripts of functions using the old name still work.It sounds like you want .Deprecate ?.Deprecate Michael> > > Cheers > Jannis > > ______________________________________________ > 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.