Skip to content

step_range() fails when baking old recipe #1090

Description

@AshesITR

I have stored pre-trained recipes with recipes version <= 1.0.2 (when step_range() had no clipping = TRUE argument).
These stored recipes can no longer be baked because the old data structure contains no information on clipping, causing

Error in if (object$clipping) {: argument is of length zero

I can manually fix these old recipes by setting recipe$steps[[...]]$clipping <- TRUE, but it would be nice if there was backward compatibility out of the box.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions