% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/infra__build_backend.R
\name{check_backend}
\alias{check_backend}
\title{Check Python Backend Availability}
\usage{
check_backend(conda_env = NULL, conda = "auto", strict = FALSE)
}
\arguments{
\item{conda_env}{Name of the Conda environment. Defaults to the package
option \code{asa.default_conda_env} (or \code{"asa_env"} if unset).}

\item{conda}{Path to conda executable (default: "auto")}

\item{strict}{If TRUE, also require optional packages used for Tor control and
stealth Chrome support (e.g., \code{stem}, \code{undetected_chromedriver}).}
}
\value{
A list with components:
\itemize{
  \item available: Logical, TRUE if environment is ready
  \item conda_env: Name of the environment checked
  \item python_version: Python version if available
  \item missing_packages: Character vector of missing required packages (if any)
  \item missing_optional_packages: Character vector of missing optional packages (if any)
  \item strict: Logical, whether optional packages were required
}
}
\description{
Checks whether the configured Conda environment exists and can import the
Python modules required by the ASA backend, without initializing reticulate's
Python session for the current R process.
}
\examples{
\dontrun{
status <- check_backend()
if (!status$available) {
  build_backend()
}
}

}
