From cf8d3939045fa15ca08ccefcce968e6631857344 Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Thu, 1 Feb 2024 20:49:23 +0100 Subject: [PATCH] silent logger in tests (#353) part of https://github.com/insightsengineering/coredev-tasks/issues/498 --- DESCRIPTION | 2 +- tests/testthat/setup-logger.R | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tests/testthat/setup-logger.R diff --git a/DESCRIPTION b/DESCRIPTION index 27c42177..74209bf9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -75,4 +75,4 @@ Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.1 diff --git a/tests/testthat/setup-logger.R b/tests/testthat/setup-logger.R new file mode 100644 index 00000000..c3000403 --- /dev/null +++ b/tests/testthat/setup-logger.R @@ -0,0 +1 @@ +logger::log_appender(function(...) NULL, namespace = "teal.modules.hermes")