From 76bc0238204a9a6d585fc1f995577c778ba61ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 4 Dec 2024 12:32:40 +0100 Subject: [PATCH] Avoid loading rlang unconditionally --- R/zzz.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/zzz.R b/R/zzz.R index 15055e431..a7a7f30a6 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -10,7 +10,7 @@ s3_register("adbcdrivermanager::adbc_connection_init", "duckdb_database_adbc") s3_register("adbcdrivermanager::adbc_statement_init", "duckdb_connection_adbc") - if (!requireNamespace("rlang")) { + if (!requireNamespace("rlang", quietly = TRUE)) { rethrow_restore() }