Skip to content

Commit

Permalink
chore: remove ggthemes to avoid archiving
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed Nov 14, 2023
1 parent fcb6ad0 commit 234a4b3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: insane
Title: INsulin Secretion ANalysEr
Version: 1.0.2
Version: 1.0.3
Authors@R:
person(given = "Mickaël",
family = "Canouil",
Expand Down Expand Up @@ -30,7 +30,6 @@ Imports:
DT (>= 0.13),
ggplot2 (>= 3.3.2),
ggpubr (>= 0.3.0),
ggthemes (>= 4.2.0),
glue (>= 1.4.1),
patchwork (>= 1.0.1),
purrr (>= 0.3.4),
Expand Down
17 changes: 12 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# insane 1.0.3

## Chores

- In `DESCRIPTION`, `inst/app/app.R`, and `R/go_insane.R`,
- chore: remove `ggthemes` to avoid archiving.

# insane 1.0.2

## Chores
Expand Down Expand Up @@ -32,8 +39,8 @@

## New features

* New Shiny app in `inst/app/`.
* New `deploy()` (`R/deploy.R`) function to easily deploy (copy) the shiny app to a specified directory.
* New `go_insane()` (`R/go_insane.R`) function to easily run (`shiny::runApp()`) the shiny app.
* New vignette `insane` describing the Shiny app.
* New vignette `protocol`, describing the experimental protocol on which the Shiny app is built on.
- New Shiny app in `inst/app/`.
- New `deploy()` (`R/deploy.R`) function to easily deploy (copy) the shiny app to a specified directory.
- New `go_insane()` (`R/go_insane.R`) function to easily run (`shiny::runApp()`) the shiny app.
- New vignette `insane` describing the Shiny app.
- New vignette `protocol`, describing the experimental protocol on which the Shiny app is built on.
1 change: 0 additions & 1 deletion R/go_insane.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#' @importFrom DT dataTableOutput renderDataTable
#' @import ggplot2
#' @import ggpubr
#' @import ggthemes
#' @importFrom patchwork plot_annotation wrap_plots
#' @importFrom glue glue glue_collapse
#' @importFrom purrr set_names pmap map map2 map2_dbl map2_chr map2_df
Expand Down
4 changes: 1 addition & 3 deletions inst/app/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ suppressPackageStartupMessages({
library("DT")
library("ggplot2")
library("ggpubr")
library("ggthemes")
library("glue")
library("purrr")
library("readxl")
Expand All @@ -23,8 +22,7 @@ percent <- function(x) paste(round(x * 100, digits = 0), " %")

ggplot2_themes <- c(
paste0("ggplot2::", grep("^theme_", ls("package:ggplot2"), value = TRUE), "()"),
paste0("ggpubr::", grep("^theme_", ls("package:ggpubr"), value = TRUE), "()"),
paste0("ggthemes::", grep("^theme_", ls("package:ggthemes"), value = TRUE), "()")
paste0("ggpubr::", grep("^theme_", ls("package:ggpubr"), value = TRUE), "()")
) %>%
setdiff(paste0("ggplot2::theme_", c("get", "set", "replace", "update"), "()")) %>%
setdiff(paste0("ggpubr::theme_", c("cleveland"), "()")) %>%
Expand Down

0 comments on commit 234a4b3

Please sign in to comment.