% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generalFunctions.R
\name{.validateBPPARAM}
\alias{.validateBPPARAM}
\title{Validate or Auto-Select a BiocParallelParam}
\usage{
.validateBPPARAM(BPPARAM = NULL, progressbar = FALSE)
}
\arguments{
\item{BPPARAM}{A \code{BiocParallelParam} or `NULL`.}

\item{progressbar}{Logical; whether to show a progress bar.}
}
\value{
A valid `BiocParallelParam` object.
}
\description{
If `BPPARAM` is `NULL`, picks `SnowParam` or `MulticoreParam` based on env vars
or OS; otherwise checks class and fork compatibility.
}
\author{
Radu Zabet and Young Jun Kim
}
\keyword{internal}
