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:
18 files changed
+670
-660
No files matched your search
+8
-8
@@ -14,22 +14,22 @@ cog_mirror(
|
||||
\arguments{
|
||||
\item{dest}{Destination directory. Created if missing.}
|
||||
|
||||
\item{include}{Subset of `c("long", "metadata", "docs")` controlling
|
||||
\item{include}{Subset of \code{c("long", "metadata", "docs")} controlling
|
||||
which manifest sections to mirror.}
|
||||
|
||||
\item{overwrite}{If `TRUE`, re-copy even when the local SHA matches.}
|
||||
\item{overwrite}{If \code{TRUE}, re-copy even when the local SHA matches.}
|
||||
|
||||
\item{progress}{If `TRUE`, show a cli progress bar.}
|
||||
\item{progress}{If \code{TRUE}, show a cli progress bar.}
|
||||
}
|
||||
\value{
|
||||
Invisibly, a tibble of `(path, sha256, size_bytes, status)`
|
||||
rows where `status` is `"downloaded"` or `"cached"`.
|
||||
Invisibly, a tibble of \verb{(path, sha256, size_bytes, status)}
|
||||
rows where \code{status} is \code{"downloaded"} or \code{"cached"}.
|
||||
}
|
||||
\description{
|
||||
Downloads (or copies, for local-path fixture URLs) every file listed in
|
||||
the session's `manifest.json` into `dest`, preserving the relative path
|
||||
the session's \code{manifest.json} into \code{dest}, preserving the relative path
|
||||
structure. Files already present with a matching SHA-256 hash are
|
||||
skipped unless `overwrite = TRUE`. The resulting directory can be
|
||||
pointed at via `options(uscogdata.url = paste0(dest, "/"))` for offline
|
||||
skipped unless \code{overwrite = TRUE}. The resulting directory can be
|
||||
pointed at via \code{options(uscogdata.url = paste0(dest, "/"))} for offline
|
||||
analysis.
|
||||
}
|
||||
Reference in new issue
Block a user