Message-ID: <5c2aadd0-aac9-bff2-57d9-5440ffcc9ab8@statistik.tu-dortmund.de>
Date: 2018-02-07T15:54:29Z
From: Uwe Ligges
Subject: [R-pkg-devel] Depreciate Function
In-Reply-To: <CADjaWvRc8i9ZLijjeYVAyus5mK436FT88Fd_nLkSi2x7o1_hkQ@mail.gmail.com>
Not sure where you get the warning. I guess only at places where you
still use the old variant?
Best,
Uwe Ligges
On 07.02.2018 16:38, Rami Krispin wrote:
> Hello all,
>
> I am trying to depreciate functions and replace them with a different
> function in the new version of the package, using the Depreciate function
> which triggers warnings during the package submission to CRAN. For example,
> I am replacing the function seasonal_ly with the function ts_seasonal using
> the following method:
>
> - export both of the functions
> - aliases seasonal_ly
> - pass the arguments of the new function to the old function and use the
> Depreciate function to trigger a warning about the depreciating of the
> function and the name of the new function.
>
> The code is available over here:
> https://github.com/RamiKrispin/TSstudio/blob/master/R/ts_seasonal.R
>
> Any suggestions?
>
> Thank you in advance!
>
> Best regards,
> Rami Krispin
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>