From 169c47e85db3a95c6ce116dec1fc230f90f86dc4 Mon Sep 17 00:00:00 2001 From: Carl Suster Date: Wed, 15 May 2024 16:56:27 +1000 Subject: [PATCH] Add missing import --- NAMESPACE | 1 + R/plot_calendar.R | 1 + 2 files changed, 2 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index 6700753..5178ab0 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -29,6 +29,7 @@ export(week_breaks) importFrom(ape,as.phylo) importFrom(ggplot2,aes) importFrom(ggplot2,autoplot) +importFrom(ggplot2,rel) importFrom(ggplot2,waiver) importFrom(grid,unit) importFrom(rlang,"%||%") diff --git a/R/plot_calendar.R b/R/plot_calendar.R index e7736be..53da6fb 100644 --- a/R/plot_calendar.R +++ b/R/plot_calendar.R @@ -76,6 +76,7 @@ plot_calendar <- function( if (missing(phylepic)) wrapper else wrapper(phylepic) } +#' @importFrom ggplot2 rel theme_plot_calendar <- function() { ggplot2::theme( axis.title.y = ggplot2::element_blank(),