Skip to content

Commit c277b74

Browse files
CRAN v0.4.0 (#412)
* news and version bump * fix check * cran submission * revert to altdoc remote * uncomment test suite
1 parent c589109 commit c277b74

5 files changed

Lines changed: 10 additions & 14 deletions

File tree

CRAN-SUBMISSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Version: 0.3.0
2-
Date: 2025-02-05 18:38:56 UTC
3-
SHA: 82e684b890294ccb2259743d8a7dd6981b8c4c07
1+
Version: 0.4.0
2+
Date: 2025-05-22 22:37:12 UTC
3+
SHA: 2c2598cb19b9c4b23879cd02fe306104a731d473

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: tinyplot
22
Type: Package
33
Title: Lightweight Extension of the Base R Graphics System
4-
Version: 0.3.0.99
5-
Date: 2025-02-05
4+
Version: 0.4.0
5+
Date: 2025-05-22
66
Authors@R:
77
c(
88
person(

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ _If you are viewing this file on CRAN, please check the
44
[latest NEWS](https://grantmcdermott.com/tinyplot/NEWS.html) on our website
55
where the formatting is also better._
66

7-
## 0.3.0.99 (dev version)
7+
## 0.4.0
88

99
### New features:
1010

R/by_aesthetics.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ by_col = function(ngrps = 1L, col = NULL, palette = NULL, gradient = NULL, order
158158
palette_fun = gen_pal_fun(palette, gradient = gradient, alpha = alpha, n = ngrps)
159159
args = list(n = ngrps, palette = palette, alpha = alpha)
160160
}
161-
} else if (class(palette) %in% c("call", "name")) {
161+
} else if (inherits(palette, c("call", "name"))) {
162162
# catch for when using passes palette as named object (e.g,
163163
# pal26 = palette.colors("Alphabet"))
164-
if (class(palette) == "name" && is.character(eval(palette))) {
164+
if (inherits(palette, "name") && is.character(eval(palette))) {
165165
args = as.list(eval(palette))
166166
palette_fun = "c"
167167
} else {

cran-comments.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
## Overview
22

3-
_Note: this is a resubmission after the previous CRAN precheck caught a minor
4-
issue related to author meta-information in the DESCRIPTION file._
5-
6-
**tinyplot** v0.3.0 is a major release with many new features, including a
7-
revamped type processing system, support for additional plot types, and a new
8-
plotting theme framework.
3+
**tinyplot** v0.4.0 is a minor release that introduces several new features
4+
and addresses a variety of bugs.
95

106
As per our earlier submissions, we continue to run a comprehensive test suite
117
comprising hundreds of test snapshots (i.e., SVG images) as part of our CI

0 commit comments

Comments
 (0)