From c2e03f69d82d1084004e75afff7bbc082962a250 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Tue, 6 Jan 2026 19:45:07 -0500 Subject: [PATCH 1/3] Increment version number to 1.3.0 --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 69cf21f..8745c7c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: r2rtf Title: Easily Create Production-Ready Rich Text Format (RTF) Tables and Figures -Version: 1.2.0 +Version: 1.3.0 Authors@R: c( person("Yilong", "Zhang", role = "aut"), person("Siruo", "Wang", role = "aut"), From 723919abb7b46c0a3d09a5b30067e76274f9f875 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Tue, 6 Jan 2026 19:45:20 -0500 Subject: [PATCH 2/3] Update changelog for v1.3.0 --- NEWS.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index baa2d57..7debc92 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,9 +1,28 @@ -# r2rtf 1.2.0.9000 +# r2rtf 1.3.0 + +## New features + +- Add `write_docx()` and `write_html()` to output encoded RTF to DOCX/HTML + via LibreOffice (@elong0527, #281). +- Add `\\pagenumber_hardcoding` control word for table-relative page numbering + in multi-page tables (@wangben718, #283). ## Bug fixes -- `strwidth()` and `par()` calls no longer leak a graphics device when - no device is active, preventing unwanted `Rplots.pdf` output (#285). +- Remove trailing whitespace after `\\totalpage` to avoid emitting extra spaces + and support page-aware substitution (@elong0527, #280). +- `strwidth()` and `par()` calls no longer leak a graphics device when no device + is active, preventing unwanted `Rplots.pdf` output (@nanxstats, #285). + +## Improvements + +- Update vignette examples to avoid misleading footer/source labels (#286). + +## Maintenance + +- Include `tests/testthat/_snaps/` in the built package to satisfy testthat + snapshot requirements and fix `R CMD check` with testthat >= 3.3.0 + (@elong0527, #282). # r2rtf 1.2.0 From 1c2b3722764ee3c9f9480b2a9eaebebf223b6ac1 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Tue, 6 Jan 2026 19:47:57 -0500 Subject: [PATCH 3/3] Tag contributor in changelog --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 7debc92..fdf4651 100644 --- a/NEWS.md +++ b/NEWS.md @@ -16,7 +16,7 @@ ## Improvements -- Update vignette examples to avoid misleading footer/source labels (#286). +- Update vignette examples to avoid misleading footer/source labels (@wangben718, #286). ## Maintenance