% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/build-run.R
\name{build_constants_from_spec}
\alias{build_constants_from_spec}
\title{Build constants list from a compiled model spec}
\usage{
build_constants_from_spec(spec)
}
\arguments{
\item{spec}{A compiled model specification produced by \code{compile_model_spec()}.}
}
\value{
Named list of constants.
}
\description{
Produces a named list of constants to pass into \code{nimbleModel}.
Constants include core sizes (\code{N}, \code{P}, \code{components}) and
hyperparameters for priors implied by \code{spec$plan}.
}
\details{
This function is pre-run only; it does not compile or execute NIMBLE.
}
\keyword{internal}
