From 78dfe9d45e4c59849b4037802619ec94d46b6872 Mon Sep 17 00:00:00 2001 From: Emily de la Rua Date: Fri, 19 Jan 2024 20:13:15 -0500 Subject: [PATCH] Import ggplot2, cowplot functions --- NAMESPACE | 3 +++ R/falcon.R | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index 1d5e6285..cb754a74 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -33,11 +33,14 @@ export(make_table_35) export(split_cols_by_arm) import(Tplyr) import(dplyr) +import(ggplot2) import(gt) import(gtsummary) import(rtables) import(tern) import(tfrmt) +importFrom(cowplot,get_legend) +importFrom(cowplot,plot_grid) importFrom(formatters,var_labels) importFrom(formatters,var_relabel) importFrom(formatters,with_label) diff --git a/R/falcon.R b/R/falcon.R index 957d9a43..02acbd7b 100644 --- a/R/falcon.R +++ b/R/falcon.R @@ -6,7 +6,7 @@ "_PACKAGE" -#' @import dplyr gt gtsummary rtables tern tfrmt Tplyr +#' @import dplyr ggplot2 gt gtsummary rtables tern tfrmt Tplyr #' @importFrom rlang .data := #' @importFrom magrittr %>% #' @importFrom purrr walk @@ -14,6 +14,7 @@ #' @importFrom tidyr pivot_longer separate_rows pivot_wider #' @importFrom formatters with_label var_labels var_relabel #' @importFrom rlistings as_listing +#' @importFrom cowplot plot_grid get_legend NULL # Fix R CMD check warning for missing global definitions