Skip to contents

Complicated workflow sets can become difficult to track. Add a tag to keep track of unique recipes.

Usage

rpwf_tag_recipe(obj, tag)

Arguments

obj

recipes::recipe() object.

tag

Short string description of recipe.

Value

A tagged recipes::recipe() object. Accessible with obj$recipe_tag.

Examples

r <- recipes::recipe(~., data = mtcars)
r <- rpwf_tag_recipe(r, "test recipe")
r$recipe_tag
#> [1] "test recipe"