% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility.R
\name{check_ok}
\alias{check_ok}
\title{Check whether a plausibility condition is satisfied}
\usage{
check_ok(data, col)
}
\arguments{
\item{data}{A data frame containing plausibility check variables.}

\item{col}{A character string specifying the column name to check for "ok" entries (case-sensitive).}
}
\value{
A logical vector of length \code{nrow(data)}.
}
\description{
Returns a logical vector indicating whether a given check column equals \code{"ok"}.
If the column does not exist in the data, all cases are treated as passing.
}
\details{
Used inside the \code{plausicheck()} function.
}
\examples{
example_df <- data.frame(check_ip = c("ok", "nope", "ok", "OK"))
check_ok(example_df, "check_ip")
}
