Skip to content

recipes 1.0.9

Compare
Choose a tag to compare
@topepo topepo released this 14 Dec 12:23
cc984ff

Improvements

  • Minor speed-up and reduced memory consumption for step_pca() in the bake() stage by reducing unused multiplications (@jkennel, #1265)

  • Document that update_role(), add_role() and remove_role() are applied before steps and checks. (#778)

  • Documentation for tidy methods for all steps has been added when missing and improved to describe the return value more accurately. (#936)

  • step_dummy() will now error if passed character instead of loudly ignoring them. Only applicable when setting strings_as_factors = FALSE. (#1233)

  • It is now documented that step_spline_b() can be made periodic. (#1223)

  • prep() now correctly throws a warning when training argument is set when prepping a prepped recipe, telling the user that it will be ignored. (#1244)

  • When errors are thrown about wrongly typed input to steps, the offending variables and their types are now listed. (#1217)

  • All warnings and errors have been updated to use the cli package for increased clarity and consistency. (#1237)

  • Added warnings when step_scale(), step_normalise(), step_center() or step_range() result in NaN columns. (@mastoffel, #1221)

Bug Fixes

  • Fixed bug where step_factor2string() if strings_as_factors = TRUE is set in prep(). (#317)

  • Fixed bug where tidy.step_cut() always returned zero row tibbles for trained recipes. (#1229)