Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(BootstrapQTL)
  Loading required package: MatrixEQTL
  > 
  > test_check("BootstrapQTL")
  Registering 2 cores for bootstrap procedure.
  Mapping QTLs and obtaining nominal effect size estimates...
  Optimising data for bootstrap procedure...
  Running bootstrap procedure for 10 bootstraps on 2 cores.
  -- Warning (test.R:47:3): Run BootstrapQTL -------------------------------------
  already exporting variable(s): cvrt, snps_boot, gene_boot, snpspos, genepos, bootstrap_file_directory, sig_pairs, tests_per_gene, local_correction, eSNP_threshold, errorCovariance, cisDist, useModel
  
  -- Warning (test.R:47:3): Run BootstrapQTL -------------------------------------
  2/10 bootstraps failed with error 'The number of covariates exceeds the number of samples.
  Linear regression can not be fit.' in the bootstrap estimation group.
  
  Removing winner's curse...
  Restoring global environment...
  Done!
  -- Warning (test.R:53:3): Run BootstrapQTL -------------------------------------
  cannot open file 'D:\temp\RtmpcBK0Gg\file2e53c5d417bf7': No such file or directory
  
  -- ERROR (test.R:53:3): Run BootstrapQTL ---------------------------------------
  Error: cannot open the connection
  Backtrace:
      x
   1. \-BootstrapQTL::BootstrapQTL(...) test.R:53:2
   2.   \-BootstrapQTL:::setupParallel(n_cores, verbose = TRUE, reporterCore = FALSE)
   3.     \-parallel::makeCluster(nCores, type = "PSOCK")
   4.       \-parallel::makePSOCKcluster(names = spec, ...)
   5.         \-base::system(cmd, wait = FALSE, input = "")
   6.           \-base::writeLines(input, f)
   7.             \-base::file(con, "w")
  
  Restoring global environment...
  == testthat results  ===========================================================
  Warning (test.R:47:3): Run BootstrapQTL
  Warning (test.R:47:3): Run BootstrapQTL
  Warning (test.R:53:3): Run BootstrapQTL
  ERROR (test.R:53:3): Run BootstrapQTL
  
  [ FAIL 1 | WARN 3 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted