Skip to content

Commit

Permalink
0.1.3 release candidate (#141)
Browse files Browse the repository at this point in the history
Co-authored-by: cpsievert <cpsievert@users.noreply.github.com>
  • Loading branch information
cpsievert and cpsievert authored Aug 11, 2023
1 parent 3183244 commit 6934b4d
Show file tree
Hide file tree
Showing 15 changed files with 86 additions and 24 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Untitled*
^\.github/workflows/R-CMD-check\.yaml$
^\.github/workflows/pr-commands\.yaml$
^CODE_OF_CONDUCT\.md$
^revdep$
^vignettes$
^tests/figs$
^tests/testthat/_snaps$
Expand Down
15 changes: 8 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Package: thematic
Title: Unified and Automatic 'Theming' of 'ggplot2', 'lattice', and 'base' R Graphics
Version: 0.1.2.9000
Version: 0.1.3
Authors@R: c(
person("Carson", "Sievert", role = c("aut", "cre"), email = "carson@rstudio.com", comment = c(ORCID = "0000-0002-4958-2844")),
person("Barret", "Schloerke", email = "barret@rstudio.com", role = "aut", comment = c(ORCID = "0000-0001-9986-114X")),
person("Joe", "Cheng", role = "aut", email = "joe@rstudio.com"),
person(family = "RStudio", role = "cph")
person("Carson", "Sievert", role = c("aut", "cre"), email = "carson@posit.co", comment = c(ORCID = "0000-0002-4958-2844")),
person("Barret", "Schloerke", email = "barret@posit.co", role = "aut", comment = c(ORCID = "0000-0001-9986-114X")),
person("Joe", "Cheng", role = "aut", email = "joe@posit.co"),
person("Posit Software, PBC", role = c("cph", "fnd"))
)
Description:
Theme 'ggplot2', 'lattice', and 'base' graphics based on a few choices, including foreground color, background color, accent color,
and font family. Fonts that aren't available on the system, but are available via download on 'Google Fonts',
can be automatically downloaded, cached, and registered for use with the 'showtext' and 'ragg' packages.
URL: https://rstudio.github.io/thematic/, https://github.com/rstudio/thematic#readme
URL: https://rstudio.github.io/thematic/, https://github.com/rstudio/thematic
Depends: R (>= 3.0.0)
Imports:
utils,
Expand Down Expand Up @@ -57,10 +57,10 @@ Collate:
'ggplot.R'
'globals.R'
'hooks.R'
'imports.R'
'knitr.R'
'lattice.R'
'onLoad.R'
'thematic-package.R'
'thematic-save-plot.R'
'thematic.R'
'utils.R'
Expand All @@ -82,3 +82,4 @@ Config/Needs/check:
tinytex,
devtools,
rversions
BugReports: https://github.com/rstudio/thematic/issues
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# thematic 0.1.2.9000
# thematic 0.1.3

* Closed #129: Fixed a bug with not being able override thematic inside geom_sf(). (#129)
* Closed #120: A warning about a `length-one vector` is no longer thrown on R 4.2. (#121)
Expand Down
5 changes: 5 additions & 0 deletions R/imports.R → R/thematic-package.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @importFrom graphics par plot plot.new
#' @importFrom grid grid.newpage grid.draw grid.text gpar seekViewport pushViewport upViewport
#' @importFrom grDevices col2rgb dev.new dev.cur dev.off dev.set devAskNewPage palette colorRampPalette
#' @importFrom utils capture.output download.file unzip packageVersion modifyList getFromNamespace getS3method assignInNamespace
#' @importFrom rlang is_installed list2 %|%
#' @importFrom rstudioapi getThemeInfo versionInfo readRStudioPreference
## usethis namespace: end
NULL
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ install.packages("ragg")

## Overview

`{thematic}`'s [auto theming](https://rstudio.github.io/thematic/articles/auto.html) gives R plots the ability to style themselves inside [Shiny](#shiny) (via CSS), [RStudio](#rstudio) (via [RStudio themes](https://support.rstudio.com/hc/en-us/articles/115011846747-Using-RStudio-Themes)), and [R Markdown](#rmarkdown) (via [`{bslib}`](https://rstudio.github.io/bslib/)).
`{thematic}`'s [auto theming](https://rstudio.github.io/thematic/articles/auto.html) gives R plots the ability to style themselves inside [Shiny](#shiny) (via CSS), [RStudio](#rstudio) (via [RStudio themes](https://support.posit.co/hc/en-us/articles/115011846747-Using-RStudio-Themes)), and [R Markdown](#rmarkdown) (via [`{bslib}`](https://rstudio.github.io/bslib/)).

### Shiny {#shiny}

Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ install.packages("ragg")
theming](https://rstudio.github.io/thematic/articles/auto.html) gives R
plots the ability to style themselves inside [Shiny](#shiny) (via CSS),
[RStudio](#rstudio) (via [RStudio
themes](https://support.rstudio.com/hc/en-us/articles/115011846747-Using-RStudio-Themes)),
themes](https://support.posit.co/hc/en-us/articles/115011846747-Using-RStudio-Themes)),
and [R Markdown](#rmarkdown) (via
[`{bslib}`](https://rstudio.github.io/bslib/)).

Expand Down Expand Up @@ -205,20 +205,20 @@ learn more about how to customize those defaults.

## Learn more

- See the [auto theming
article](https://rstudio.github.io/thematic/articles/auto.html) to
gain a more detailed understanding of how auto theming make styling
R plots easier in Shiny, R Markdown, and RStudio.
- See the [custom themes
article](https://rstudio.github.io/thematic/articles/custom.html)
for more on `{thematic}`’s theming options as well as how they
interact with `{ggplot2}`, `{lattice}`, and `{base}`.
- See the [fonts
article](https://rstudio.github.io/thematic/articles/fonts.html) for
more on using Google Fonts with `{thematic}`.
- See the [scoping
article](https://rstudio.github.io/thematic/articles/scope.html) for
more about scoping `{thematic}` to individual plots.
- See the [auto theming
article](https://rstudio.github.io/thematic/articles/auto.html) to
gain a more detailed understanding of how auto theming make styling R
plots easier in Shiny, R Markdown, and RStudio.
- See the [custom themes
article](https://rstudio.github.io/thematic/articles/custom.html) for
more on `{thematic}`’s theming options as well as how they interact
with `{ggplot2}`, `{lattice}`, and `{base}`.
- See the [fonts
article](https://rstudio.github.io/thematic/articles/fonts.html) for
more on using Google Fonts with `{thematic}`.
- See the [scoping
article](https://rstudio.github.io/thematic/articles/scope.html) for
more about scoping `{thematic}` to individual plots.

## Run some examples

Expand Down
Binary file modified man/figures/README-ggrepel-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-ggrepel2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-ggrepel3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions man/thematic-package.Rd

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

7 changes: 7 additions & 0 deletions revdep/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
checks
library
checks.noindex*
library.noindex*
cloud.noindex*
data.sqlite
*.html
2 changes: 2 additions & 0 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Revdeps

7 changes: 7 additions & 0 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## revdepcheck results

We checked 5 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

1 change: 1 addition & 0 deletions revdep/failures.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*
1 change: 1 addition & 0 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*

0 comments on commit 6934b4d

Please sign in to comment.