Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [129s/146s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(tidypopgen)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Loading required package: tibble
  > 
  > test_check("tidypopgen")
  Adding missing grouping variables: `population`
  
  gen_backing files updated, now
  using FBM RDS: /tmp/RtmpHkmcSi/missing_imputed_1e65693b7526a2.rds
  with FBM backing file: /tmp/RtmpHkmcSi/missing_imputed_1e65693b7526a2.bk
  make sure that you do NOT delete those files!
  to reload the gen_tibble in another session, use:
  gt_load('/tmp/RtmpHkmcSi/missing_imputed_1e65693b7526a2.gt')
  
  gen_backing files updated, now
  using FBM RDS: /tmp/RtmpHkmcSi/missing_imputed_1e65691552869d.rds
  with FBM backing file: /tmp/RtmpHkmcSi/missing_imputed_1e65691552869d.bk
  make sure that you do NOT delete those files!
  to reload the gen_tibble in another session, use:
  gt_load('/tmp/RtmpHkmcSi/missing_imputed_1e65691552869d.gt')
  
  gen_backing files updated, now
  using FBM RDS: /tmp/RtmpHkmcSi/file1e656960bbe19b_v2.rds
  with FBM backing file: /tmp/RtmpHkmcSi/file1e656960bbe19b_v2.bk
  make sure that you do NOT delete those files!
  to reload the gen_tibble in another session, use:
  gt_load('/tmp/RtmpHkmcSi/file1e656960bbe19b_v2.gt')
  Saving _problems/test_pairwise_pop_fst-161.R
  [ FAIL 1 | WARN 6 | SKIP 3 | PASS 1049 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • (system2("which", args = "admixture", stdout = NULL) != 0) &&
    !requireNamespace("tidygenclust", quietly = TRUE) is TRUE (2):
    'test_gt_admix_methods.R:9:1', 'test_gt_admixture.R:2:1'
  • On CRAN (1): 'test_gt_pca.R:416:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_pairwise_pop_fst.R:156:5'): pairwise_pop_fst WC84 ──────────────
  Error in `gzfile(file, mode)`: cannot open the connection
  Backtrace:
      ▆
   1. ├─tidypopgen::gen_tibble(...) at test_pairwise_pop_fst.R:156:5
   2. └─tidypopgen:::gen_tibble.matrix(...)
   3.   └─tidypopgen::gt_save(new_gen_tbl, quiet = quiet)
   4.     └─base::saveRDS(x, file_name)
   5.       └─base::gzfile(file, mode)
  
  [ FAIL 1 | WARN 6 | SKIP 3 | PASS 1049 ]
  Error:
  ! Test failures.
  Execution halted