In one of my R packages, I have some silly examples of data that I would like to delete. To do this, I would like to first follow the generally accepted principle in order to condemn it, and then stop it.
To remove functions from the R-package, I found a way as follows:
oldFunc <- function() { .Deprecated("newFunc") }
followed by (say 6 months)
oldFunc <- function() { .Defunct("newFunc") }
And then after another 6 months I could remove the function from the package.
However, how do I delete a data object saved as /data/myData.rda in a package, and which also has a description of myData.Rd ?
source share