Re: [R-pkg-devel] Advice on elegant way to alias function name

2022-09-02 Thread John Fox
Dear John, I've used an alternative solution in similar situations, equivalent to defining thefn <- function(...) myfn(...) Then only ... needs to be documented as arguments passed down to myfn(). Maybe that would work for you too. Best, John On 2022-09-02 4:22 p.m., J C Nash

Re: [R-pkg-devel] Advice on elegant way to alias function name

2022-09-01 Thread Sokol Serguei
Le 01/09/2022 à 16:48, J C Nash a écrit : Hi, I've a package where it has been suggested that one of the functions -- call it "myfn()" -- should be called something else, say "thefn()". Of course, I'll need to keep the old name around for a while. Web search has suggested simple assignment

Re: [R-pkg-devel] Advice on elegant way to alias function name

2022-09-01 Thread Uwe Ligges
On 01.09.2022 16:48, J C Nash wrote: Hi, I've a package where it has been suggested that one of the functions -- call it "myfn()" -- should be called something else, say "thefn()". Of course, I'll need to keep the old name around for a while. Web search has suggested simple assignment of