Running 'spelling.R' [0s]
  Running 'testthat.R' [70s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bigsnpr)
  Loading required package: bigstatsr
  > 
  > for (k in 1:9)
  +   test_check("bigsnpr", filter = paste0(k, '-'))
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 224 ]
  == Skipped tests ===============================================================
  * is_cran is TRUE (3)
  
  [ FAIL 0 | WARN 0 | SKIP 3 | PASS 32 ]
  == Skipped tests ===============================================================
  * is_cran is TRUE (1)
  
  == Warnings ====================================================================
  -- Warning (test-3-plink-QC.R:70:3): relatedness QC (IBD) ----------------------
  File 'D:\temp\RtmpsBES6y\filedc541c0212df.fam' has size 0. Returning a NULL data.frame.
  Backtrace:
   1. `%>%`(...) test-3-plink-QC.R:70:2
   5. bigsnpr::snp_readBed(.)
   6. bigreadr::fread2(famfile, col.names = NAMES.FAM)
   7. data.table::fread(input, ..., data.table = data.table, nThread = nThread)
  -- Warning (test-3-plink-QC.R:70:3): relatedness QC (IBD) ----------------------
  File 'D:\temp\RtmpsBES6y\filedc541c0212df.bim' has size 0. Returning a NULL data.frame.
  Backtrace:
   1. `%>%`(...) test-3-plink-QC.R:70:2
   5. bigsnpr::snp_readBed(.)
   6. bigreadr::fread2(bimfile, col.names = NAMES.MAP)
   7. data.table::fread(input, ..., data.table = data.table, nThread = nThread)
  
  == Failed tests ================================================================
  -- Error (test-3-plink-QC.R:70:3): relatedness QC (IBD) ------------------------
  Error: Dimensions should be at least 1.
  Backtrace:
       x
    1. +-`%>%`(...) test-3-plink-QC.R:70:2
    2. +-bigsnpr::snp_attach(.)
    3. | \-bigassertr::assert_exist(rdsfile)
    4. |   \-base::file.exists(file)
    5. \-bigsnpr::snp_readBed(.)
    6.   \-bigstatsr::FBM.code256(...)
    7.     +-base::do.call(...)
    8.     \-(function (Class, ...) ...
    9.       +-methods::initialize(value, ...)
   10.       \-methods::initialize(value, ...)
   11.         \-.Object$initialize(...)
   12.           \-bigstatsr:::callSuper(...)
   13.             \-bigstatsr:::createFile(bkfile, nrow, ncol, ALL.TYPES[[type]])
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 17 ]
  Error: Test failures
  Execution halted