diff --git a/DESCRIPTION b/DESCRIPTION index 854757d..c3f7948 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -19,11 +19,12 @@ LinkingTo: Imports: cli, glue, + grDevices, grid, jpeg, png, rlang (>= 1.1.0), - systemfonts (>= 1.1.0), + systemfonts (>= 1.1.0.9000), textshaping (>= 0.4.1.9000), utils, vctrs @@ -43,4 +44,5 @@ Config/Needs/website: tidyverse/tidytemplate VignetteBuilder: knitr Config/testthat/edition: 3 Remotes: - r-lib/textshaping + r-lib/textshaping, + r-lib/systemfonts diff --git a/R/grob.R b/R/grob.R index 55e8ea6..e000de1 100644 --- a/R/grob.R +++ b/R/grob.R @@ -249,7 +249,7 @@ marquee_grob <- function(text, style = classic_style(), ignore_html = TRUE, #' @export makeContext.marquee_grob <- function(x) { - if (grepl("quartz", names(dev.cur())) && utils::packageVersion("grDevices") < package_version("4.4.2")) { + if (grepl("quartz", names(grDevices::dev.cur())) && utils::packageVersion("grDevices") < package_version("4.4.2")) { cli::cli_abort(c( "The graphics device in use contains a bug that crashes R, when used with modern text features", i = "Consider using the graphics devices provided by the ragg package instead"