Running ‘testthat.R’ [10m/25m]
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(APCalign)
  > 
  > test_check("APCalign")
  Loading resources......done
  Checking alignments of 15 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 15 taxa yet to be checked
  Checking alignments of 15 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 15 taxa yet to be checked
  Checking alignments of 15 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 15 taxa yet to be checked
  Checking alignments of 3 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 3 taxa yet to be checked
  Checking alignments of 3 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 3 taxa yet to be checked
  Checking alignments of 50 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 50 taxa yet to be checked
  Checking alignments of 2 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 2 taxa yet to be checked
  Checking alignments of 2 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 2 taxa yet to be checked
  Checking alignments of 2 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 2 taxa yet to be checked
  Checking alignments of 1 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 1 taxa yet to be checked
  Checking alignments of 1 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 1 taxa yet to be checked
  Checking alignments of 14 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 14 taxa yet to be checked
  Checking alignments of 14 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 14 taxa yet to be checked
  Checking alignments of 4 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 4 taxa yet to be checked
  Checking alignments of 4 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 4 taxa yet to be checked
  Checking alignments of 2 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 2 taxa yet to be checked
  Checking alignments of 3 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 3 taxa yet to be checked
  Checking alignments of 3 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 3 taxa yet to be checked
  Checking alignments of 4 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 4 taxa yet to be checked
  Checking alignments of 4 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 4 taxa yet to be checked
  Checking alignments of 4 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 4 taxa yet to be checked
  Checking alignments of 15 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 15 taxa yet to be checked
  Checking alignments of 45 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 45 taxa yet to be checked
  Checking alignments of 45 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 45 taxa yet to be checked
  Checking alignments of 45 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 45 taxa yet to be checked
  Checking alignments of 45 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 45 taxa yet to be checked
  Checking alignments of 223 taxa
  
    -> 0 names already matched; 0 names checked but without a match; 223 taxa yet to be checked
  API currently down, try again later
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 85 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-connection.R:8:3'): Complains when network is down ─────────────
  <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
  Error in `vec_init()`: `x` must be a vector, not `NULL`.
  Backtrace:
       ▆
    1. ├─testthat::expect_visible(default_version()) at test-connection.R:8:3
    2. │ └─base::withVisible(call)
    3. ├─APCalign:::default_version()
    4. │ └─dplyr::first(versions)
    5. │   └─dplyr::nth(x, 1L, order_by = order_by, default = default, na_rm = na_rm)
    6. │     └─dplyr:::check_nth_default(default, x = x)
    7. │       └─vctrs::vec_init(x)
    8. └─vctrs:::stop_scalar_type(`<fn>`(NULL), "x", `<fn>`(vec_init()))
    9.   └─vctrs:::stop_vctrs(...)
   10.     └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 85 ]
  Error: Test failures
  In addition: There were 18 warnings (use warnings() to see them)
  Execution halted