Running 'spelling.R' [0s]
  Running 'testthat.R' [68s]
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, '-'))
  -- Skip (test-2-autoSVD.R:25:3): snp_autoSVD() works ---------------------------
  Reason: is_cran  is TRUE
  
  -- Skip (test-2-autoSVD.R:60:3): bed_autoSVD() works ---------------------------
  Reason: is_cran  is TRUE
  
  -- Skip (test-2-bed-clumping-SVD.R:7:1): (code run outside of `test_that()`) ---
  Reason: is_cran  is TRUE
  
  -- Skipped tests  --------------------------------------------------------------
  * is_cran  is TRUE (3)
  
  -- Skip (test-3-fastImpute.R:12:3): fast imputation (xgboost) works ------------
  Reason: is_cran  is TRUE
  
  -- ERROR (test-3-plink-QC.R:61:1): (code run outside of `test_that()`) ---------
  Error: File 'D:\temp\Rtmp8qqoOm\file22fac43c40d3.bim' doesn't exist.
  Backtrace:
       x
    1. \-`%>%`(...) test-3-plink-QC.R:61:0
    2.   +-base::withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
    3.   \-base::eval(quote(`_fseq`(`_lhs`)), env, env)
    4.     \-base::eval(quote(`_fseq`(`_lhs`)), env, env)
    5.       \-bigsnpr:::`_fseq`(`_lhs`)
    6.         \-magrittr::freduce(value, `_function_list`)
    7.           \-function_list[[i]](value)
    8.             \-bigsnpr::snp_readBed(.)
    9.               \-base::sapply(c(bedfile, bimfile, famfile), assert_exist)
   10.                 \-base::lapply(X = X, FUN = FUN, ...)
   11.                   \-bigassertr:::FUN(X[[i]], ...)
   12.                     \-bigassertr::stop2("File '%s' doesn't exist.", file)
  
  -- Skipped tests  --------------------------------------------------------------
  * is_cran  is TRUE (1)
  
  == testthat results  ===========================================================
  ERROR (test-3-plink-QC.R:61:1): (code run outside of `test_that()`)
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 16 ]
  Error: Test failures
  Execution halted