% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fit_utils.R
\name{quiet_fit}
\alias{quiet_fit}
\title{Fit a model with selective warning suppression}
\usage{
quiet_fit(expr, verbose = FALSE)
}
\arguments{
\item{expr}{An unevaluated expression (model fitting call) to execute.}

\item{verbose}{Logical. If \code{TRUE}, all warnings are shown. If \code{FALSE},
routine fitting warnings are suppressed. Default is \code{FALSE}.}
}
\value{
The result of evaluating \code{expr}.
}
\description{
Wraps model fitting expressions to suppress routine warnings from mixed-effects
and GLM fitting (\emph{e.g.,} singular fits, convergence messages, separation
warnings) while allowing unexpected warnings through. When \code{verbose = TRUE},
all warnings are displayed.
}
\keyword{internal}
