diff --git a/DESCRIPTION b/DESCRIPTION index 5ab6837..69d59d8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: philsfmisc Type: Package Title: philsf's miscellaneous R functions -Version: 0.6.6.9001 +Version: 0.6.6.9002 Authors@R: person("Felipe", "Figueiredo", email = "philsf79@gmail.com", role = c("aut", "cre")) Description: Miscellaneous R functions for convenient data analyses. License: file LICENSE diff --git a/NAMESPACE b/NAMESPACE index f6868f6..5757576 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -13,6 +13,8 @@ export(logsd2cv) export(logvar2cv) export(predint) export(theme_ff) +importFrom(ggplot2,`%+replace%`) +importFrom(ggplot2,theme) export(theme_ff_gtsummary) importFrom(ggplot2,theme_classic) importFrom(gtsummary,add_stat_label) diff --git a/NEWS.md b/NEWS.md index e11d57e..4d0ee28 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ # philsfmisc (development version) - created gtsummary theme_ff_gtsummary() #75 +- fix warning in theme_ff() #76 # philsfmisc 0.6.6 diff --git a/R/theme_ff.R b/R/theme_ff.R index 3c324fe..1ebc047 100644 --- a/R/theme_ff.R +++ b/R/theme_ff.R @@ -13,7 +13,7 @@ #' \code{\link[ggplot2]{ggtheme}} #' @rdname theme_ff #' @export -#' @importFrom ggplot2 theme_classic +#' @importFrom ggplot2 theme_classic theme `%+replace%` theme_ff <- function(...) { ggplot2::theme_classic( ...,