From 3dcf61aa0a2ba952b727e8e1b7a0000109b5e7f7 Mon Sep 17 00:00:00 2001 From: TroyHernandez Date: Tue, 4 Aug 2026 16:41:26 -0500 Subject: [PATCH 1/3] Prepare CRAN release 0.4.1 Version 0.4.0.2 -> 0.4.1 (patch: two Rd-generation fixes, #29 and #31). Date set, NEWS collapsed under one 0.4.1 heading, cran-comments updated. Verified: local check 0/0/0 on R 4.6.1, R-devel check OK on Windows 10, tinypkgr test suite 45/45 against this version. --- DESCRIPTION | 4 ++-- NEWS.md | 7 +++---- cran-comments.md | 33 +++++++++++++-------------------- 3 files changed, 18 insertions(+), 26 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index c6e6375..5590e82 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: tinyrox Title: Minimal R Documentation Generator -Version: 0.4.0.2 -Date: 2026-06-24 +Version: 0.4.1 +Date: 2026-08-04 Authors@R: c( person("Troy", "Hernandez", email = "troy@cornball.ai", role = c("aut", "cre"), comment = c(ORCID = "0009-0005-4248-604X")), diff --git a/NEWS.md b/NEWS.md index fd4ebf5..95b535e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,10 +1,9 @@ -# tinyrox 0.4.0.2 +# tinyrox 0.4.1 -* An already-escaped `\%` in roxygen source is no longer double-escaped into `\\%` (#31). Both bare `%` and roxygen2-style pre-escaped `\%` now produce a single `\%` in the generated Rd. - -# tinyrox 0.4.0.1 +Two Rd-generation fixes. * `\usage` lines now stay within the 90-character Rd limit (#29). Overlong signatures wrap roxygen2-style: one argument per line, breaking inside a long default when needed, so `R CMD check` no longer NOTEs "Rd line widths". +* An already-escaped `\%` in roxygen source is no longer double-escaped into `\\%` (#31). Both bare `%` and roxygen2-style pre-escaped `\%` now produce a single `\%` in the generated Rd. # tinyrox 0.4.0 diff --git a/cran-comments.md b/cran-comments.md index 3121600..111b45c 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,28 +1,22 @@ ## Submission -This is an update to the CRAN release 0.3.3. +This is a patch update to the CRAN release 0.4.0 with two Rd-generation +fixes. -The notable change is the removal of two exported functions, -`check_description_cran()` and `fix_description_cran()`, which linted the -DESCRIPTION file. DESCRIPTION linting is out of scope for a documentation -generator, and the checks produced false positives (for example, flagging -the ordinary English word "graphics"). The package's only reverse -dependency on CRAN, 'tinypkgr', calls only `tinyrox::document()` and is -unaffected by the removal. +* Overlong `\usage` lines now wrap in roxygen2's style (one argument per + line, breaking inside a long default when needed), so generated pages no + longer trigger the "Rd line widths" NOTE in `R CMD check`. +* An already-escaped `\%` in roxygen source is no longer double-escaped + into `\\%`, which previously produced malformed Rd for packages migrated + from roxygen2. -Other changes: `document()` now prunes stale Rd files for renamed or removed -topics (opt out with `prune_rd = FALSE`), accepts `@returns` as an alias of -`@return`, and warns-and-skips unknown tags instead of aborting; the CRAN -code checker is now token-based. See NEWS.md for the full list. - -This update follows 0.3.3 fairly closely on purpose, to retire the -misfiring DESCRIPTION linter before more users hit its false positives. +No exported interfaces change. ## Test environments -* local: Ubuntu 24.04, R 4.x +* local: Ubuntu 24.04, R 4.6.1 * GitHub Actions: ubuntu-latest, macos-latest -* win-builder: R-devel and R-release +* Windows 10: R-devel ## R CMD check results @@ -30,6 +24,5 @@ misfiring DESCRIPTION linter before more users hit its false positives. ## Reverse dependencies -One reverse dependency on CRAN ('tinypkgr'). It calls only -`tinyrox::document()`, whose interface is unchanged, so the removed exported -functions do not affect it. +One reverse dependency on CRAN ('tinypkgr'). Its test suite passes against +this version; it calls `tinyrox::document()`, whose interface is unchanged. From 7a97c4ac45cb56f28f8db021fc9f2311629bd56d Mon Sep 17 00:00:00 2001 From: TroyHernandez Date: Tue, 4 Aug 2026 16:55:18 -0500 Subject: [PATCH 2/3] cran-comments: Windows checked on R-devel and R 4.6.0 --- cran-comments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cran-comments.md b/cran-comments.md index 111b45c..2725614 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -16,7 +16,7 @@ No exported interfaces change. * local: Ubuntu 24.04, R 4.6.1 * GitHub Actions: ubuntu-latest, macos-latest -* Windows 10: R-devel +* Windows 10: R-devel and R 4.6.0 ## R CMD check results From 53129bbcf24e371b72cb5dcd5cf6f315eb445381 Mon Sep 17 00:00:00 2001 From: TroyHernandez Date: Tue, 4 Aug 2026 17:12:36 -0500 Subject: [PATCH 3/3] cran-comments: add win-builder results --- cran-comments.md | 1 + 1 file changed, 1 insertion(+) diff --git a/cran-comments.md b/cran-comments.md index 2725614..7466c8b 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -17,6 +17,7 @@ No exported interfaces change. * local: Ubuntu 24.04, R 4.6.1 * GitHub Actions: ubuntu-latest, macos-latest * Windows 10: R-devel and R 4.6.0 +* win-builder: R-devel and R-release (4.6.1) ## R CMD check results