% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validate.R
\name{plot_check}
\alias{plot_check}
\title{Print a plot's validation findings and return the plot, unchanged}
\usage{
plot_check(plot)
}
\arguments{
\item{plot}{A \link{GgnextPlot} object.}
}
\value{
\code{plot}, invisibly.
}
\description{
A pipe-friendly wrapper around \code{\link[=validate_plot]{validate_plot()}}: prints the report as a
side effect and returns \code{plot} invisibly, so it can sit inside a pipeline
without interrupting it.
}
\examples{
ggnext(cars, aes(speed, dist)) |>
  geom_point() |>
  plot_check() |>
  invisible()
}
