We'll be releasing a new version of recipes in the next week and there are a few breaking changes. See the news file for details. We are trying to get the breaking changes out in one release; some are for upcoming features that aren't implemented yet and we didn't want to stagger them.
The biggest changes are the differences in argument names in the new version, the most significant is new_data instead of newdata in prep.
I've made a fork at https://github.com/topepo/healthcareai-r It isn't passing all tests but I think that those that fail are (probably) unrelated to the recipes changes. A summary of the changes are:
Import tidy from the generics package. It was added to that package to reduce broom dependencies. I also added some exports of specific tidy methods to make them more easily found (and documented).
There are a lot of argument name changes (e.g. step_pca(num) is not step_pca(num_comp)). You may or may not want to leave your argument names the same.
All steps are required to have an id argument. That is for a future feature where you could be able to undo the effects of previous steps (e.g. uncentering).
Remotes were added to the description file. Those will be needed for things to work before new versions of recipes and caret hit CRAN.
The plan is to send recipes to CRAN next week (I hope) and send caret in once that is accepted. I will alert CRAN that other packages are affected and the maintainers have been notified. I'll update this thread once that process starts.
In the meantime, I could do a PR based on the fork if you are ok with some failures coming along for the ride.
We'll be releasing a new version of
recipes
in the next week and there are a few breaking changes. See the news file for details. We are trying to get the breaking changes out in one release; some are for upcoming features that aren't implemented yet and we didn't want to stagger them.The biggest changes are the differences in argument names in the new version, the most significant is
new_data
instead ofnewdata
inprep
.I've made a fork at https://github.com/topepo/healthcareai-r It isn't passing all tests but I think that those that fail are (probably) unrelated to the
recipes
changes. A summary of the changes are:Import
tidy
from thegenerics
package. It was added to that package to reducebroom
dependencies. I also added some exports of specifictidy
methods to make them more easily found (and documented).There are a lot of argument name changes (e.g.
step_pca(num)
is notstep_pca(num_comp)
). You may or may not want to leave your argument names the same.All steps are required to have an
id
argument. That is for a future feature where you could be able to undo the effects of previous steps (e.g. uncentering).Remotes were added to the description file. Those will be needed for things to work before new versions of
recipes
andcaret
hit CRAN.The plan is to send
recipes
to CRAN next week (I hope) and sendcaret
in once that is accepted. I will alert CRAN that other packages are affected and the maintainers have been notified. I'll update this thread once that process starts.In the meantime, I could do a PR based on the fork if you are ok with some failures coming along for the ride.