Running 'testthat.R' [29s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(scopr)
  Loading required package: behavr
  Loading required package: data.table
  > 
  > test_check("scopr")
  -- 1. Error: link_ethoscope_metadata_remote with date and machine name (@test-li
  Could not find index file: https://raw.githubusercontent.com/rethomics/scopr/master/inst/extdata/ethoscope_results/index.txt
  Backtrace:
   1. scopr:::link_ethoscope_metadata_remote(...)
   2. scopr:::build_query(result_dir = remote_dir, query = query, index_file = index_file)
   3. scopr::list_result_files(result_dir, index_file)
   4. base::tryCatch(...)
   5. base:::tryCatchList(expr, classes, parentenv, handlers)
   6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7. value[[3L]](cond)
  
  -- 2. Error: parse_query with date, machine name, and ROIs (@test-link_ethoscope
  Could not find index file: https://raw.githubusercontent.com/rethomics/scopr/master/inst/extdata/ethoscope_results/index.txt
  Backtrace:
   1. scopr:::link_ethoscope_metadata_remote(...)
   2. scopr:::build_query(result_dir = remote_dir, query = query, index_file = index_file)
   3. scopr::list_result_files(result_dir, index_file)
   4. base::tryCatch(...)
   5. base:::tryCatchList(expr, classes, parentenv, handlers)
   6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7. value[[3L]](cond)
  
  -- 3. Error: list_result_files fails works with remote index? (@test-list_result
  Could not find index file: https://raw.githubusercontent.com/rethomics/scopr/master/inst/extdata/ethoscope_results/index.txt
  Backtrace:
   1. scopr:::list_result_files(dir, index_file = "index.txt")
   2. base::tryCatch(...)
   3. base:::tryCatchList(expr, classes, parentenv, handlers)
   4. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5. value[[3L]](cond)
  
  == testthat results  ===========================================================
  [ OK: 43 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: link_ethoscope_metadata_remote with date and machine name (@test-link_ethoscope_metadata_remote.R#14) 
  2. Error: parse_query with date, machine name, and ROIs (@test-link_ethoscope_metadata_remote.R#51) 
  3. Error: list_result_files fails works with remote index? (@test-list_result_files.R#31) 
  
  Error: testthat unit tests failed
  Execution halted