Skip to content

Commit

Permalink
Bump version, update docs, update readme
Browse files Browse the repository at this point in the history
Prepare for new release!
  • Loading branch information
vankesteren committed Apr 9, 2021
1 parent 144d3b2 commit 60d89a6
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 32 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: firatheme
Type: Package
Title: A ggplot2 theme using the Fira Sans font
Version: 0.2.2
Version: 0.2.3
Author: Erik-Jan van Kesteren
Maintainer: Erik-Jan van Kesteren <[email protected]>
Description: Make your graphs pretty with the Fira font, colours and prettified
Expand All @@ -11,4 +11,4 @@ Encoding: UTF-8
LazyData: true
Imports: ggplot2,
extrafont
RoxygenNote: 6.0.1
RoxygenNote: 7.1.1
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export(scale_color_fira)
export(scale_colour_fira)
export(scale_fill_fira)
export(theme_fira)
importFrom(grDevices,pdfFonts)
importFrom(grDevices,windowsFonts)
1 change: 1 addition & 0 deletions R/0tools.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#' @importFrom grDevices pdfFonts windowsFonts
.onAttach <- function(libname, pkgname) {
## Load all fonts
extrafont::loadfonts(quiet = TRUE)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<br>

This is a `ggplot2` theme I use on my [blog](http://erikjanvankesteren.nl/blog/) and elsewhere. You can use it and adapt it if you want. It's designed to be truly plug-and-play. See [below](#example-plots) for examples.
This is a `ggplot2` theme I use for almost all my plots. You can use it and adapt it if you want. It's designed to be truly plug-and-play. See [below](#example-plots) for examples.

<p align="center">
<br/>
Expand All @@ -27,7 +27,7 @@ On mac computers, first install the [`Fira Sans`](https://fonts.google.com/speci


```R
devtools::install_github("vankesteren/firatheme")
remotes::install_github("vankesteren/firatheme")
```

The preferred way to save plots is via the `firaSave()` function. For png output, this works out of the box.
Expand Down
4 changes: 3 additions & 1 deletion man/firaCols.Rd

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

58 changes: 31 additions & 27 deletions man/scale_fira.Rd

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

0 comments on commit 60d89a6

Please sign in to comment.