From d19a522127932052ad2a79d38193718ffdc6cb68 Mon Sep 17 00:00:00 2001 From: Ramesh R Date: Thu, 14 Nov 2024 11:30:25 +0530 Subject: [PATCH] initial commit --- R/check_extrafont.R | 1 - 1 file changed, 1 deletion(-) diff --git a/R/check_extrafont.R b/R/check_extrafont.R index 0ece006..eb5a4f0 100644 --- a/R/check_extrafont.R +++ b/R/check_extrafont.R @@ -9,7 +9,6 @@ check_extrafont <- function() { if (!requireNamespace("extrafont", quietly = TRUE)) { stop("The 'extrafont' package is required. Please install it with install.packages('extrafont').") } - if (length(extrafont::fonts()) == 0) { stop("Fonts are not imported yet. Please run 'extrafont::font_import()' and 'extrafont::loadfonts()' (requires administrator privileges).") }