diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 834c70aa..eeb1ea4f 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,6 @@ repos: - ggplot2 - grDevices - lifecycle - - logger - methods - rlang - shinyjs diff --git a/DESCRIPTION b/DESCRIPTION index 105e1117..bf634096 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -42,14 +42,13 @@ Imports: ggplot2, grDevices, lifecycle, - logger (>= 0.2.0), methods, rlang, shinyjs, shinyvalidate, stats, teal.code (>= 0.4.1.9009), - teal.logger (>= 0.1.1), + teal.logger (>= 0.1.3.9013), teal.reporter (>= 0.2.0), teal.widgets (>= 0.4.0), tidyr diff --git a/R/tm_g_gh_boxplot.R b/R/tm_g_gh_boxplot.R index 1d463e48..9d4691c7 100644 --- a/R/tm_g_gh_boxplot.R +++ b/R/tm_g_gh_boxplot.R @@ -172,7 +172,7 @@ tm_g_gh_boxplot <- function(label, alpha = c(0.8, 0.0, 1.0), pre_output = NULL, post_output = NULL) { - logger::log_info("Initializing tm_g_gh_boxplot") + message("Initializing tm_g_gh_boxplot") checkmate::assert_string(label) checkmate::assert_string(dataname) checkmate::assert_string(param_var) diff --git a/R/tm_g_gh_correlationplot.R b/R/tm_g_gh_correlationplot.R index 9b661014..d9b7bd5c 100644 --- a/R/tm_g_gh_correlationplot.R +++ b/R/tm_g_gh_correlationplot.R @@ -224,7 +224,7 @@ tm_g_gh_correlationplot <- function(label, reg_text_size = c(3, 3, 10), pre_output = NULL, post_output = NULL) { - logger::log_info("Initializing tm_g_gh_correlationplot") + message("Initializing tm_g_gh_correlationplot") checkmate::assert_class(xaxis_param, "choices_selected") checkmate::assert_class(yaxis_param, "choices_selected") checkmate::assert_class(xaxis_var, "choices_selected") diff --git a/R/tm_g_gh_density_distribution_plot.R b/R/tm_g_gh_density_distribution_plot.R index 86fc2322..2d91bd86 100644 --- a/R/tm_g_gh_density_distribution_plot.R +++ b/R/tm_g_gh_density_distribution_plot.R @@ -132,7 +132,7 @@ tm_g_gh_density_distribution_plot <- function(label, # nolint rotate_xlab = FALSE, pre_output = NULL, post_output = NULL) { - logger::log_info("Initializing tm_g_gh_density_distribution_plot") + message("Initializing tm_g_gh_density_distribution_plot") checkmate::assert_string(label) checkmate::assert_string(dataname) checkmate::assert_string(param_var) diff --git a/R/tm_g_gh_lineplot.R b/R/tm_g_gh_lineplot.R index 492edd93..15c1bf5b 100644 --- a/R/tm_g_gh_lineplot.R +++ b/R/tm_g_gh_lineplot.R @@ -156,7 +156,7 @@ tm_g_gh_lineplot <- function(label, count_threshold = 0, table_font_size = c(12, 4, 20), plot_relative_height_value = 1000) { - logger::log_info("Initializing tm_g_gh_lineplot") + message("Initializing tm_g_gh_lineplot") checkmate::assert_class(param, "choices_selected") checkmate::assert_class(xaxis_var, "choices_selected") checkmate::assert_class(yaxis_var, "choices_selected") diff --git a/R/tm_g_gh_scatterplot.R b/R/tm_g_gh_scatterplot.R index f36d3314..4623dc68 100644 --- a/R/tm_g_gh_scatterplot.R +++ b/R/tm_g_gh_scatterplot.R @@ -147,7 +147,7 @@ tm_g_gh_scatterplot <- function(label, details = "You should use teal.goshawk::tm_g_gh_correlationplot instead of teal.goshawk::tm_g_gh_scatterplot" ) - logger::log_info("Initializing tm_g_gh_scatterplot") + message("Initializing tm_g_gh_scatterplot") checkmate::assert_class(param, "choices_selected") checkmate::assert_class(xaxis_var, "choices_selected") checkmate::assert_class(yaxis_var, "choices_selected") diff --git a/R/tm_g_gh_spaghettiplot.R b/R/tm_g_gh_spaghettiplot.R index 4f5d42e2..93c37dd6 100644 --- a/R/tm_g_gh_spaghettiplot.R +++ b/R/tm_g_gh_spaghettiplot.R @@ -189,7 +189,7 @@ tm_g_gh_spaghettiplot <- function(label, hline_vars_labels = hline_vars, pre_output = NULL, post_output = NULL) { - logger::log_info("Initializing tm_g_gh_spaghettiplot") + message("Initializing tm_g_gh_spaghettiplot") checkmate::assert_class(param, "choices_selected") checkmate::assert_class(xaxis_var, "choices_selected") checkmate::assert_class(yaxis_var, "choices_selected") diff --git a/R/zzz.R b/R/zzz.R index 5e5f1b6e..e225bcae 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -1,3 +1,4 @@ .onLoad <- function(libname, pkgname) { # nolint teal.logger::register_logger(namespace = "teal.goshawk") + teal.logger::register_handlers("teal.goshawk") }