From 203c137df837bdb98f46cf52f433b99ebe397f80 Mon Sep 17 00:00:00 2001 From: Grant McDermott Date: Sun, 27 Sep 2026 13:57:35 -0700 Subject: [PATCH 1/5] chore: prepare v0.8.0 CRAN release Bump version to 0.8.0, rename the NEWS development heading, and update cran-comments.md for this release. The revdep section is a placeholder until the revdep-v0.8.0 workflow finishes. --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- cran-comments.md | 25 +++++++++++++------------ 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index c523db088..60c115117 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: tinyplot Type: Package Title: Lightweight Extension of the Base R Graphics System -Version: 0.7.0.99 -Date: 2026-07-02 +Version: 0.8.0 +Date: 2026-09-27 Authors@R: c( person( diff --git a/NEWS.md b/NEWS.md index 3113e37d8..18e23871b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,7 +4,7 @@ _If you are viewing this file on CRAN, please check the [latest NEWS](https://grantmcdermott.com/tinyplot/NEWS.html) on our website where the formatting is also better._ -## Development version +## v0.8.0 ### Breaking changes diff --git a/cran-comments.md b/cran-comments.md index 494a3b9df..ef5868c71 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,12 +1,18 @@ ## Overview -**tinyplot** v0.7.0 is a feature release. It brings major updates to our theming -logic and aesthetic stylings, several new plot types and `tinyplot.*` methods, -and various other enhancements and bug fixes. See NEWS.md for the full list of -changes. +**tinyplot** v0.8.0 is a feature release. It adds several new plot types +(hexbin, tile, heatmap, sina), a new `tinyplot.array()` method, substantial +facet enhancements, new arguments for ordering and labelling categorical +variables, performance improvements, and many bug fixes. See NEWS.md for the +full list of changes. + +This release includes one minor breaking change: line types now order +categorical `x` data by factor levels, rather than order of appearance, for +consistency with other plot types. The old behaviour remains available via +an explicit argument. ## Test environments -macOS (local) +Arch Linux (local) GitHub Actions (ubuntu-24.04): release, devel Win Builder @@ -16,15 +22,10 @@ Win Builder ## Reverse dependency checks -We ran reverse-dependency checks on all 12 CRAN revdeps. All packages that -could be checked showed no status change from the current CRAN version of -tinyplot. One package, 'RTMB', failed to install in our CI environment under -both the old and new versions of tinyplot (identical ERROR, unrelated to this -submission -- RTMB requires a TMB/C++ toolchain build that did not complete in -our runner). +TODO: fill in after revdep-v0.8.0 workflow completes. P.S. We continue to run a comprehensive test suite comprising hundreds of test snapshots (i.e., SVG images) as part of our CI development workflow. See: https://github.com/grantmcdermott/tinyplot/tree/main/inst/tinytest/_tinysnapshot However, we have removed these test snapshots from our CRAN submission to reduce -the size of of install target and stay within CRAN's recommend size limits. +the size of the install target and stay within CRAN's recommended size limits. From bb8786ca69cd7df771d2fbfca3269f9d47c184e6 Mon Sep 17 00:00:00 2001 From: Grant McDermott Date: Sun, 27 Sep 2026 14:19:48 -0700 Subject: [PATCH 2/5] docs: add v0.8.0 revdep results to cran-comments --- cran-comments.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cran-comments.md b/cran-comments.md index ef5868c71..da0f90590 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -22,7 +22,12 @@ Win Builder ## Reverse dependency checks -TODO: fill in after revdep-v0.8.0 workflow completes. +We ran reverse-dependency checks on all 16 CRAN revdeps. All packages that +could be checked showed no status change from the current CRAN version of +tinyplot. One package, 'RTMB', failed to install in our CI environment under +both the old and new versions of tinyplot (identical ERROR, unrelated to this +submission -- RTMB requires a TMB/C++ toolchain build that did not complete in +our runner). P.S. We continue to run a comprehensive test suite comprising hundreds of test snapshots (i.e., SVG images) as part of our CI development workflow. See: From cf38e5506f8a0723b9ac992e3c34f85eda7decba Mon Sep 17 00:00:00 2001 From: Grant McDermott Date: Sun, 27 Sep 2026 14:21:02 -0700 Subject: [PATCH 3/5] chore: exclude tests from CRAN tarball --- .Rbuildignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.Rbuildignore b/.Rbuildignore index b0f1774f1..532b48d0d 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -22,7 +22,7 @@ vignettes/ ^CRAN-SUBMISSION$ inst/user2025 inst/Psychoco2026 -#inst/tinytest/ +inst/tinytest/ Makefile ^.devcontainer Rplots.pdf From 77fa3d7cbcfd3cfd6a286984e783161ee67fcc83 Mon Sep 17 00:00:00 2001 From: Grant McDermott Date: Sun, 27 Sep 2026 14:24:40 -0700 Subject: [PATCH 4/5] fix: namespace utils::type.convert in array_plot Clears the R CMD check NOTE about an undefined global function, introduced with tinyplot.array() in #746. --- R/tinyplot.matrix.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/tinyplot.matrix.R b/R/tinyplot.matrix.R index d8ca68767..f7aa16141 100644 --- a/R/tinyplot.matrix.R +++ b/R/tinyplot.matrix.R @@ -144,7 +144,7 @@ array_plot = function(x, y = NULL, type = NULL, legend = NULL, facet = NULL, lvls = if (is.null(lvls)) { seq_len(dims[1]) } else { - type.convert(lvls, as.is = TRUE) + utils::type.convert(lvls, as.is = TRUE) } by = if (is.numeric(lvls)) { lvls[as.vector(slice.index(x, 1))] From 2ec187f6a7ac5a947854349114a89789a758382b Mon Sep 17 00:00:00 2001 From: Grant McDermott Date: Sun, 27 Sep 2026 15:48:31 -0700 Subject: [PATCH 5/5] submission note and revert rbuildignore --- .Rbuildignore | 2 +- CRAN-SUBMISSION | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.Rbuildignore b/.Rbuildignore index 532b48d0d..b0f1774f1 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -22,7 +22,7 @@ vignettes/ ^CRAN-SUBMISSION$ inst/user2025 inst/Psychoco2026 -inst/tinytest/ +#inst/tinytest/ Makefile ^.devcontainer Rplots.pdf diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 5d787bd84..2ee2532b5 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.7.0 -Date: 2026-07-03 02:03:54 UTC -SHA: 421110cd2d7a1d282ec6d81f195a50de4d2ce752 +Version: 0.8.0 +Date: 2026-09-27 22:46:58 UTC +SHA: 77fa3d7cbcfd3cfd6a286984e783161ee67fcc83