% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/documentation_metrics.R
\name{rd_examples_to_text}
\alias{rd_examples_to_text}
\title{Flatten example nodes to a text block}
\usage{
rd_examples_to_text(node)
}
\arguments{
\item{node}{An Rd node.}
}
\value{
Character scalar containing example text or `""` if none.
}
\description{
Recursively collects example text from nodes that carry R code or text,
unwrapping containers such as `\\dontrun{}`, `\\donttest{}`, and `\\dontshow{}`.
}
\keyword{internal}
