forked from tidymodels/recipes
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for legacy recipes in
bake.step_log()
method
- legacy recipes index the `columns` entry of `object` whereas newer recipes index `names(object$columns)` - this breaks backward compatibility - This bugfix prefers the 'new' syntax, but if `names(object)` is `NULL`, reverts to the 'old' syntax - fixes tidymodels#1284
- Loading branch information
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters