From 56aac3eaa977fa1c8fc17fca3a52c0ffb7d706a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Thu, 3 Oct 2024 11:34:19 +0200 Subject: [PATCH] isTRUE --- R/centrality.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/centrality.R b/R/centrality.R index 5f19c037ff..27fd283b81 100644 --- a/R/centrality.R +++ b/R/centrality.R @@ -1003,7 +1003,7 @@ eigen_centrality <- function(graph, } if (lifecycle::is_present(scale)) { - if (scale) { + if (isTRUE(scale)) { lifecycle::deprecate_soft( "2.1.1", "eigen_centrality(scale)",