% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/middleware.R
\name{.ggplotplus_coaching_enabled}
\alias{.ggplotplus_coaching_enabled}
\title{Check whether ggplotplus coaching messages are enabled}
\usage{
.ggplotplus_coaching_enabled()
}
\value{
A logical scalar. Returns \code{TRUE} if coaching messages are
globally enabled for the current R session; otherwise returns
\code{FALSE}.
}
\description{
Internal helper that checks the session-level ggplotplus coaching option.
}
\details{
ggplotplus uses this helper to determine whether advisory or educational
messages ("coaching") should be displayed during plot construction. Coaching
messages can be globally enabled or disabled for the current R session using:

\preformatted{
options(ggplotplus.enable_coaching = TRUE)
options(ggplotplus.enable_coaching = FALSE)
}

User-facing ggplotplus functions additionally expose local
\code{enable_coaching} arguments; both the local setting and the global
option must evaluate to \code{TRUE} for coaching messages to appear.
}
\keyword{internal}
