r-lib / marquee

Markdown Parser and Renderer for R Graphics
https://marquee.r-lib.org
Other
85 stars 1 forks source link

as_font_weight error #31

Closed alejandrohagan closed 5 months ago

alejandrohagan commented 5 months ago

Hi

Love the package!

For some reason it doesn't work on my work computer, I get the below error:

Error: 'as_font_weight' is not an exported object from 'namespace:systemfonts'

R version 4.4.0 (2024-04-24 ucrt) Platform: x86_64-w64-mingw32/x64 Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 LC_NUMERIC=C LC_TIME=English_United States.utf8

time zone: America/Chicago tzcode source: internal

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] marquee_0.1.0 ggdist_3.3.2 ufo_0.0.0.9000 wci_0.0.0.9000 patchwork_1.2.0 scales_1.3.0 gt_0.10.1 lubridate_1.9.3 forcats_1.0.0 stringr_1.5.1 dplyr_1.1.4 purrr_1.0.2
[13] readr_2.1.5 tidyr_1.3.1 tibble_3.2.1 ggplot2_3.5.0 tidyverse_2.0.0

loaded via a namespace (and not attached): [1] utf8_1.2.4 generics_0.1.3 xml2_1.3.6 stringi_1.8.3 hms_1.1.3 digest_0.6.35 magrittr_2.0.3 grid_4.4.0 timechange_0.2.0.9000 [10] fastmap_1.1.1 ggrepel_0.9.5 monochromeR_0.2.0 ggtext_0.1.2 fansi_1.0.6 cli_3.6.2 crayon_1.5.2 rlang_1.1.3 munsell_0.5.0
[19] withr_3.0.0 tools_4.4.0 tzdb_0.4.0 colorspace_2.1-0 pacman_0.5.1 vctrs_0.6.5 R6_2.5.1 lifecycle_1.0.4 pkgconfig_2.0.3
[28] pillar_1.9.0 gtable_0.3.4 glue_1.7.0 Rcpp_1.0.12 systemfonts_1.0.6 xfun_0.43 tidyselect_1.2.1 rstudioapi_0.16.0 knitr_1.45
[37] htmltools_0.5.8 compiler_4.4.0 distributional_0.4.0 gridtext_0.1.5

thomasp85 commented 5 months ago

You'll need to update systemfonts and restart your session. marquee requires v1.1 of systemfonts