Skip to content

Commit

Permalink
Prepare for CRAN submission (#167)
Browse files Browse the repository at this point in the history
* Remove WSJ twitpic examples

They are now inaccessible.

* Update highcharts URL

* Fix doc example error

* Fix highcharts links and docs

* Fix spelling

* Increment version number to 4.3.0

* Bump version to past 5.1.0

There was some sort of problem in which local commits that were included in CRAN were not synced with Github and lost.

* CRAN submission
  • Loading branch information
jrnold authored Feb 9, 2024
1 parent 7e94758 commit 635715a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 20 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
^\.github$
^CONTRIBUTING.*$
^\.pre-commit-config\.yaml$
^CRAN-SUBMISSION$
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 5.1.0
Date: 2024-02-09 17:47:33 UTC
SHA: da49e51ae3311cfc9ba469376b7cc35e25e70cbc
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: ggthemes
Version: 4.2.4.9000
Version: 5.1.0
Title: Extra Themes, Scales and Geoms for 'ggplot2'
Authors@R: c(person("Jeffrey B.", "Arnold", role = c("aut", "cre"),
email = "[email protected]",
Expand Down
12 changes: 5 additions & 7 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# ggthemes (development version)
# ggthemes 5.1.0

- Updated `scale_color_gdocs` and `gdocs_pal` to use current colors. Palette extended from 10 to 24 colors.
- Updated tests to be compatible with ggplot 3.5.0 (#153)
- Removed `legend.title.align` and `legend.text.align` from themes. (#153)

# ggthemes 4.2.4
# ggthemes 5.0.0

- Remove deprecated `n3alt` argument from `tremmel_shape_pal`. Use `alt` instead.
- Deprecate `scale_shape_circlefill` and `circlefill_shape_pal`. The unicode characters
used to represent circles in the scale are too often different sizes. Will be removed
in a later version.
- Deprecate `circlefill_shape_pal` and `scale_shape_circlefill`
- Bugfix: Fix failing CRAN tests. Shape scales and palettes could fail if glyphs unavailable in graphics devices.
- Bugfix: Add alias to `ggthemes-package`
- Make `quantreg` package suggested
- Add `quantreg` to suggested packages

# ggthemes 4.2.3

Expand Down
5 changes: 0 additions & 5 deletions R/hc.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ theme_hc <- function(base_size = 12,
#' The Highcharts uses many different color palettes in its
#' plots. This collects a few of them.
#'
#' @section Palettes:
#'
#' The following palettes are defined:
#'
#'
#' @param palette \code{character} The name of the Highcharts theme to use. One of
#' \code{"default"}, or \code{"darkunica"}.
#'
Expand Down
2 changes: 1 addition & 1 deletion R/wsj.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ theme_wsj <- function(base_size = 12,
#'
#' \describe{
#' \item{rgby}{Red/Green/Blue/Yellow theme.}
#' \item{red_green}{Green/red two-color scale for good/bad.}
#' \item{red_green}{Green/red two-color scale for good/bad.}
#' \item{green_black}{Black-green 4-color scale for 'Very negative',
#' 'Somewhat negative', 'somewhat positive', 'very positive'.}
#' \item{dem_rep}{Democrat/Republican/Undecided blue/red/gray scale.}
Expand Down
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ https
impactful
Impactful
InfoVis
Irizarry's
ITC
jbkunst
JS
Expand Down
7 changes: 1 addition & 6 deletions man/hc_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 635715a

Please sign in to comment.