Running ‘testthat.R’ [6s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(gghdx)
  > 
  > test_check("gghdx")
  Unable to download Source Sans 3 using `sysfonts::font_add_google`, loading the font locally.
  
  Saving _problems/test-theme_hdx-7.R
  Unable to download Source Sans 3 using `sysfonts::font_add_google`, loading the font locally.
  
  Saving _problems/test-theme_hdx-16.R
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 63 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-theme_hdx.R:7:3'): theme_hdx base_family ───────────────────────
  Error: The Source Sans 3 font was not accessible through `sysfonts::font_add_google()`, likely due to connection issues.
  
  If you do not have a connection, ensure the font is installed and the correct `family` and `regular` arguments are passed for use in `sysfonts::font_add()`. Otherwise, use a pre-installed font family such as sans by running `gghdx(showtext = FALSE, base_family = 'sans')`.
  Backtrace:
       ▆
    1. └─gghdx::load_source_sans_3() at test-theme_hdx.R:7:3
    2.   └─base::tryCatch(...)
    3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    5.         └─value[[3L]](cond)
    6.           └─gghdx:::load_source_sans_3_local(family, regular)
    7.             └─base::tryCatch(...)
    8.               └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   └─value[[3L]](cond)
  ── Error ('test-theme_hdx.R:16:3'): theme_hdx horizontal ───────────────────────
  Error: The Source Sans 3 font was not accessible through `sysfonts::font_add_google()`, likely due to connection issues.
  
  If you do not have a connection, ensure the font is installed and the correct `family` and `regular` arguments are passed for use in `sysfonts::font_add()`. Otherwise, use a pre-installed font family such as sans by running `gghdx(showtext = FALSE, base_family = 'sans')`.
  Backtrace:
       ▆
    1. └─gghdx::load_source_sans_3() at test-theme_hdx.R:16:3
    2.   └─base::tryCatch(...)
    3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    5.         └─value[[3L]](cond)
    6.           └─gghdx:::load_source_sans_3_local(family, regular)
    7.             └─base::tryCatch(...)
    8.               └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   └─value[[3L]](cond)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 63 ]
  Error:
  ! Test failures.
  Execution halted