docs: render the roxygen markdown the reference pages are written in

The roxygen comments use markdown (**bold**, `code`, [cog_x()] links,
bullet lists) but DESCRIPTION had no `Roxygen: list(markdown = TRUE)`,
so the generated .Rd files carried that syntax literally. It also meant
a bare `%` started an Rd comment and silently cut the rest of its line
from seven places in the rendered pages, including "7% of the no-filter
floor", "-32.7% to +251.0% across 24 years" and the `filter(role %in%
...)` line of cog_peer_compare()'s example.

Adds the setting and regenerates man/ with roxygen2 7.3.3 (matching
RoxygenNote). The only source change is escaping one literal
"[min year, max year]" in an @noRd block in R/balance_caveats.R, which
markdown mode otherwise reads as a link. No wording or code changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qbe6u2h83wgZdTgJgE4Xh5
This commit is contained in:
Claude committed 2026-11-04 20:21:24 +00:00
1 parent 6d2e644ef8
commit 19b5b02d2f
18 files changed
+670 -660

No files matched your search

+7 -7
View File
@@ -7,21 +7,21 @@
cog_basket_resolution(x, expand_candidates = FALSE)
}
\arguments{
\item{x}{A tibble returned by basket-mode [cog_gov_search()].}
\item{x}{A tibble returned by basket-mode \code{\link[=cog_gov_search]{cog_gov_search()}}.}
\item{expand_candidates}{Logical. If `TRUE`, keeps the `candidates`
\item{expand_candidates}{Logical. If \code{TRUE}, keeps the \code{candidates}
list-column (full-schema match candidates per input row). Default
`FALSE`.}
\code{FALSE}.}
}
\value{
A tibble with the resolution audit trail.
}
\description{
Returns the resolution tibble attached to a basket-mode result of
[cog_gov_search()]. One row per input entry; `status` is one of
`"resolved"`, `"largest_pop"`, `"ambiguous"`, `"no_match"`. By default
the `candidates` list-column is dropped for readable printing; pass
`expand_candidates = TRUE` to keep it.
\code{\link[=cog_gov_search]{cog_gov_search()}}. One row per input entry; \code{status} is one of
\code{"resolved"}, \code{"largest_pop"}, \code{"ambiguous"}, \code{"no_match"}. By default
the \code{candidates} list-column is dropped for readable printing; pass
\code{expand_candidates = TRUE} to keep it.
}
\examples{
\dontrun{