% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/context.R
\name{validate_gwpr_context}
\alias{validate_gwpr_context}
\title{Validate a gwpr_context object}
\usage{
validate_gwpr_context(context)
}
\arguments{
\item{context}{A list (typically of class `"gwpr_context"`) to validate.}
}
\value{
Invisibly returns `TRUE` when all core fields are present.
}
\description{
Checks that all core fields required for model fitting are non-`NULL`.
Stops with an informative message listing every missing field.
}
\details{
Core fields: `formula`, `family`, `id`, `time`, `model`, `effect`,
`kernel`, `adaptive`, `threshold`, `workers`.
}
\keyword{internal}
