File: check_new_data.Rd

package info (click to toggle)
r-cran-recipes 1.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,636 kB
  • sloc: sh: 37; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 605 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{check_new_data}
\alias{check_new_data}
\title{Check for required column at bake-time}
\usage{
check_new_data(req, object, new_data)
}
\arguments{
\item{req}{A character vector of required columns.}

\item{object}{A step object.}

\item{new_data}{A tibble of data being baked.}
}
\value{
Invisible NULL. Side effects are the focus of the function.
}
\description{
When baking a step, create an information error message when a column that
is used by the step is not present in \code{new_data}.
}
\keyword{internal}