Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Jun 14, 2024
1 parent df5c33c commit 2bd377f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ggblanket
Title: Simplify 'ggplot2' Visualisation
Version: 9.1.0.9000
Version: 9.1.1
Authors@R:
person("David", "Hodge", , "davidhodge931@gmail.com", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0002-3868-7501"))
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ggblanket 9.1.0.9000
# ggblanket 9.1.1

* Forced user argument naming for `set_blanket()`, `*_mode_*()` and `aes_contrast()`.
* Fixed bug in colouring more discrete values than the set `col_palette_d`.
Expand Down
8 changes: 4 additions & 4 deletions R/gg_blanket.R
Original file line number Diff line number Diff line change
Expand Up @@ -401,17 +401,17 @@ gg_blanket <- function(data = NULL,
##############################################################################

if (!flipped & stat_name != "sf" & (!rlang::is_null(y_limits) | !rlang::is_null(y_expand))) {
rlang::warn("y 'symmetric' scale cannot be constructed unless `y_limits = NULL` & `y_expand = NULL`")
rlang::inform("y 'symmetric' scale cannot be constructed unless `y_limits = NULL` & `y_expand = NULL`")
}
if (!any(y_transform_name %in% c("identity", "reverse", "date", "time", "hms")) & !flipped) {
rlang::warn("y 'symmetric' scale cannot be constructed with non-linear y_transform`")
rlang::inform("y 'symmetric' scale cannot be constructed with non-linear y_transform`")
}

if (flipped & stat_name != "sf" & (!rlang::is_null(x_limits) | !rlang::is_null(x_expand))) {
rlang::warn("x 'symmetric' scale cannot be constructed unless `x_limits = NULL` & `x_expand = NULL`")
rlang::inform("x 'symmetric' scale cannot be constructed unless `x_limits = NULL` & `x_expand = NULL`")
}
if (!any(x_transform_name %in% c("identity", "reverse", "date", "time", "hms")) & flipped) {
rlang::warn("x 'symmetric' scale cannot be constructed with non-linear x_transform`")
rlang::inform("x 'symmetric' scale cannot be constructed with non-linear x_transform`")
}

##############################################################################
Expand Down

0 comments on commit 2bd377f

Please sign in to comment.