% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics-rsg-tier2.R
\name{vertisol}
\alias{vertisol}
\title{Vertisol RSG gate (WRB 2022 Ch 4, p 101)}
\usage{
vertisol(pedon, strict = NULL)
}
\arguments{
\item{pedon}{A \code{\link{PedonRecord}}.}

\item{strict}{Logical or \code{NULL}. When \code{NULL} (default) it
resolves via \code{getOption("soilKey.rsg_strict", FALSE)}.
\code{TRUE} applies the Tier-3 strengthened threshold.}
}
\value{
A \code{\link{DiagnosticResult}}.
}
\description{
WRB-canonical: vertic horizon \\<= 100 cm AND \\>= 30\% clay between
the surface and the vertic horizon throughout AND shrink-swell cracks
that start at the surface (or below a plough layer / below a self-
mulching surface / below a surface crust) and extend to the vertic
horizon.
}
\details{
v0.3.4 enforces (1) vertic horizon, (2) all overlying layers \\>= 30\%
clay, and (3) shrink-swell cracks that start within the upper 20 cm.
"Cracks extending to the vertic horizon" is enforced indirectly by the
test_shrink_swell_cracks test that already requires an explicit
\code{cracks_width_cm} value.
}
\section{Tier-3 strict mode (v0.9.98)}{

With \code{strict = TRUE} the overlying-clay threshold is raised from
30\% to 35\%, tightening the gate against marginally clayey profiles
that satisfy the vertic horizon but sit close to the Vertisol cut-off.
}

