1% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/prepper.R
3\name{prepper}
4\alias{prepper}
5\title{Wrapper function for preparing recipes within resampling}
6\usage{
7prepper(split_obj, recipe, ...)
8}
9\arguments{
10\item{split_obj}{An \code{rplit} object}
11
12\item{recipe}{An untrained \code{recipe} object.}
13
14\item{...}{Arguments to pass to \code{prep} such as \code{verbose} or \code{retain}.}
15}
16\description{
17When working with the \pkg{rsample} package, a simple recipe
18must be \emph{prepared} using the \code{prep}
19function first. When using recipes with \pkg{rsample} it
20is helpful to have a function that can prepare a recipe
21across a series of \code{split} objects that are produced
22in this package. \code{prepper} is a wrapper function
23around \code{prep} that can be used to do
24this. See the vignette on "Recipes and rsample" for an
25example.
26}
27\details{
28\code{prepper()} sets the underlying \code{prep()} argument \code{fresh} to \code{TRUE}.
29}
30