Add a Tag to a Recipe
rpwf_tag_recipe.RdComplicated workflow sets can become difficult to track. Add a tag to keep track of unique recipes.
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"