% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PM_report.R
\name{PM_report}
\alias{PM_report}
\title{Generate a report}
\usage{
PM_report(x, template, path, show = TRUE, quiet = TRUE)
}
\arguments{
\item{x}{A \link{PM_result} object obtained from \link{PM_load}.}

\item{template}{Report mode. One of \code{"app"}, \code{"plotly"}, \code{"ggplot"},
\code{"ggplot_rust"}, or \code{"none"}. If omitted, uses the \code{report_template}
Pmetrics option. An invalid value falls back to that saved default.}

\item{path}{Output directory for HTML reports.}

\item{show}{Controls whether the report should be opened automatically,
defaults to \code{TRUE}.}

\item{quiet}{Suppress output from HTML report rendering.}
}
\value{
Invisibly returns \code{1} on success, \code{0} when reporting is disabled,
and \code{-1} when no report can be generated.
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#stable}{\figure{lifecycle-stable.svg}{options: alt='[Stable]'}}}{\strong{[Stable]}}

Generates a report for a completed run
}
\seealso{
\link{PM_load}
}
\author{
Markus Hovd, Julian Otalvaro, and Michael Neely
}
