From 73f25fc5e9d2f8fa018713a5cafe8c0db57e4048 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Thu, 22 Jan 2026 09:40:59 -0600 Subject: [PATCH] Drop last `usethis::ui_` helper Fixes #2585 --- tests/testthat/helper.R | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/testthat/helper.R b/tests/testthat/helper.R index d21415f0a..7caf1b9bd 100644 --- a/tests/testthat/helper.R +++ b/tests/testthat/helper.R @@ -2,9 +2,8 @@ local_package_create <- function(envir = parent.frame()) { dir <- withr::local_tempdir(.local_envir = envir) - usethis::ui_silence({ - create_package(dir, rstudio = FALSE, open = FALSE, check_name = FALSE) - }) + withr::local_options(usethis.quiet = TRUE) + create_package(dir, rstudio = FALSE, open = FALSE, check_name = FALSE) dir }