% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validation.R
\name{validate_formula}
\alias{validate_formula}
\title{Validate a model formula against a data frame}
\usage{
validate_formula(formula, data)
}
\arguments{
\item{formula}{A formula object.}

\item{data}{A data frame containing the model variables.}
}
\value{
Invisibly returns `TRUE` when valid; stops with an informative message
  when a problem is detected.
}
\description{
Validate a model formula against a data frame
}
\keyword{internal}
