From a5c4b15599e5ae125b2fb175d1a432c45bc787db Mon Sep 17 00:00:00 2001 From: ZAYED Date: Wed, 9 Oct 2024 12:01:59 +0100 Subject: [PATCH] fixing the example for pretty_table by adding export --- NAMESPACE | 1 + R/pretty.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index 7bad73c..a66005c 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -16,6 +16,7 @@ export(get_clean_sql) export(get_ons_api_data) export(pretty_filesize) export(pretty_num) +export(pretty_table) export(pretty_time_taken) export(round_five_up) export(toggle_message) diff --git a/R/pretty.R b/R/pretty.R index a4f0013..92383f9 100644 --- a/R/pretty.R +++ b/R/pretty.R @@ -340,7 +340,7 @@ pretty_num <- function( #' If none are provided, it checks if columns are specified for exclusion #' via `exclude_columns`. #' If neither is specified, all columns in the data frame are formatted. -#' +#' @export #' @examples #' # Example data frame #' df <- data.frame(