% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/run-classify-app.R
\name{run_classify_app}
\alias{run_classify_app}
\title{Launch the soilKey interactive classification Shiny app}
\usage{
run_classify_app(
  ui = c("pro", "classic"),
  lang = c("en", "pt"),
  port = NULL,
  launch.browser = TRUE,
  ...
)
}
\arguments{
\item{ui}{Kept for back-compatibility. \code{"pro"} (default) launches the
professional multi-tab app. \code{"classic"} -- the original single-page
uploader -- was \strong{retired in v0.9.117}; passing it now emits a
deprecation warning and launches the Pro app instead.}

\item{lang}{Initial interface language: \code{"en"} (default) or \code{"pt"}
(Brazilian Portuguese). Can also be switched live from the app's navbar.}

\item{port}{Port for the local server. Default lets Shiny choose.}

\item{launch.browser}{Whether to open the app in the default
browser (default \code{TRUE}).}

\item{...}{Additional arguments passed to \code{\link[shiny]{runApp}}.}
}
\value{
Invisibly the value returned by \code{shiny::runApp()}.
}
\description{
Opens a local Shiny app ("Pro") that drives the soilKey pipeline from a
browser -- no R code required: build a pedon from a canonical fixture, a CSV
upload, or an interactive horizon editor; classify under WRB 2022 / SiBCS 5 /
USDA ST 13 with the full key trace; run VLM photo extraction, OSSL spectral
gap-fill, the SoilGrids spatial prior, an interactive \pkg{leaflet} map that
queries the class prior at a clicked point, and a Monte-Carlo robustness
analysis; and download a cross-system HTML or PDF report. The interface is
bilingual (English / Portuguese; see \code{lang}).
}
\details{
Needs the optional packages \pkg{bslib}, \pkg{shinyWidgets}, \pkg{plotly}
and \pkg{leaflet} (all in \code{Suggests}); the function raises a clear,
copy-pasteable error if any are missing.
}
\examples{
\dontrun{
run_classify_app()              # professional multi-tab app (English)
run_classify_app(lang = "pt")   # interface em portugues
}
}
