diff --git a/.Rbuildignore b/.Rbuildignore index 292a130..27b73f0 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -10,3 +10,5 @@ ^CODE_OF_CONDUCT\.md$ ^LICENSE\.md$ ^README\.Rmd$ + +^tools$ diff --git a/NEWS.md b/NEWS.md index 3473e45..256ff96 100644 --- a/NEWS.md +++ b/NEWS.md @@ -15,6 +15,11 @@ Also improves graphical appearance of the examples by using a minimalist theme with alternative data subsets (#61). +## Maintenance + +- Refactor the logo generation script from an R script to a shell script + and move it into `tools/` (#66). + # ggsci 3.2.0 ## New features @@ -71,7 +76,7 @@ [customizing color selection and ordering in a palette](https://nanx.me/ggsci/articles/ggsci-faq.html#customize-color-ordering-in-a-palette) with self-defined color scale functions (#23). - Fix "lost braces" check notes on r-devel by using Unicode characters - ([a91faf1](https://github.com/nanxstats/ggsci/commit/a91faf183ae44fe43355283c173a1e2de70de6d2)). + (nanxstats/ggsci@a91faf1). # ggsci 3.0.0 diff --git a/inst/WORDLIST b/inst/WORDLIST index ad94f45..2edbf0a 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -1,4 +1,5 @@ AAAS +Atlassian BMJ Bioinformatics CMD @@ -22,6 +23,7 @@ Morty NEJM NPG ORCID +Pettiross Pruim RStudio SSL @@ -41,4 +43,5 @@ js pandoc pngquant ragg -viridis +roxygen +staticimports diff --git a/inst/logo/logo.R b/inst/logo/logo.R deleted file mode 100644 index 5cd06dc..0000000 --- a/inst/logo/logo.R +++ /dev/null @@ -1,15 +0,0 @@ -library("magick") -library("showtext") - -font_add_google("Zilla Slab", "pf", regular.wt = 500) - -hexSticker::sticker( - subplot = ~ plot.new(), s_x = 1, s_y = 1, s_width = 0.1, s_height = 0.1, - package = "ggsci", p_x = 1, p_y = 1, p_size = 12, h_size = 1.2, p_family = "pf", - p_color = "#F06060", h_fill = "#FFF9F2", h_color = "#F06060", - dpi = 320, filename = "man/figures/logo.png" -) - -image_read("man/figures/logo.png") - -rstudioapi::restartSession() diff --git a/man/figures/logo.png b/man/figures/logo.png index 3fdc1ec..36bf9d1 100644 Binary files a/man/figures/logo.png and b/man/figures/logo.png differ diff --git a/pkgdown/favicon/apple-touch-icon.png b/pkgdown/favicon/apple-touch-icon.png index 9fd3f71..eb2a514 100644 Binary files a/pkgdown/favicon/apple-touch-icon.png and b/pkgdown/favicon/apple-touch-icon.png differ diff --git a/pkgdown/favicon/favicon-96x96.png b/pkgdown/favicon/favicon-96x96.png index 4017d86..02f843d 100644 Binary files a/pkgdown/favicon/favicon-96x96.png and b/pkgdown/favicon/favicon-96x96.png differ diff --git a/pkgdown/favicon/favicon.ico b/pkgdown/favicon/favicon.ico index d5e4fbe..dd69b96 100644 Binary files a/pkgdown/favicon/favicon.ico and b/pkgdown/favicon/favicon.ico differ diff --git a/pkgdown/favicon/favicon.svg b/pkgdown/favicon/favicon.svg index aedeeea..238e951 100644 --- a/pkgdown/favicon/favicon.svg +++ b/pkgdown/favicon/favicon.svg @@ -1,3 +1,3 @@ -