Running 'testthat.R' [13s]
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")
  == Warnings ====================================================================
  -- Warning (test-link_ethoscope_metadata_remote.R:14:3): link_ethoscope_metadata_remote with date and machine name --
  URL 'https://raw.githubusercontent.com/rethomics/scopr/master/inst/extdata/ethoscope_results/014/E_014/2016-01-25_21-46-14/2016-01-25_21-46-14_014.db': status was 'SSL connect error'
  Backtrace:
   1. scopr:::link_ethoscope_metadata_remote(...) test-link_ethoscope_metadata_remote.R:14:2
   4. scopr:::mirror_ethoscope_results(...)
   5. scopr:::download_create_dir(remote, local)
   8. utils::download.file(...)
  -- Warning (test-link_ethoscope_metadata_remote.R:51:3): parse_query with date, machine name, and ROIs --
  URL 'https://raw.githubusercontent.com/rethomics/scopr/master/inst/extdata/ethoscope_results/014/E_014/2016-01-25_21-46-14/2016-01-25_21-46-14_014.db': status was 'SSL connect error'
  Backtrace:
   1. scopr:::link_ethoscope_metadata_remote(...) test-link_ethoscope_metadata_remote.R:51:2
   4. scopr:::mirror_ethoscope_results(...)
   5. scopr:::download_create_dir(remote, local)
   8. utils::download.file(...)
  
  == Failed tests ================================================================
  -- Error (test-link_ethoscope_metadata_remote.R:14:3): link_ethoscope_metadata_remote with date and machine name --
  Error: cannot open URL 'https://raw.githubusercontent.com/rethomics/scopr/master/inst/extdata/ethoscope_results/014/E_014/2016-01-25_21-46-14/2016-01-25_21-46-14_014.db'
  Backtrace:
      x
   1. +-scopr:::link_ethoscope_metadata_remote(...) test-link_ethoscope_metadata_remote.R:14:2
   2. | +-...[]
   3. | \-data.table:::`[.data.table`(...)
   4. \-scopr:::mirror_ethoscope_results(...)
   5.   \-scopr:::download_create_dir(remote, local)
   6.     +-base::tryCatch(...)
   7.     | \-base:::tryCatchList(expr, classes, parentenv, handlers)
   8.     \-utils::download.file(...)
  -- Error (test-link_ethoscope_metadata_remote.R:51:3): parse_query with date, machine name, and ROIs --
  Error: cannot open URL 'https://raw.githubusercontent.com/rethomics/scopr/master/inst/extdata/ethoscope_results/014/E_014/2016-01-25_21-46-14/2016-01-25_21-46-14_014.db'
  Backtrace:
      x
   1. +-scopr:::link_ethoscope_metadata_remote(...) test-link_ethoscope_metadata_remote.R:51:2
   2. | +-...[]
   3. | \-data.table:::`[.data.table`(...)
   4. \-scopr:::mirror_ethoscope_results(...)
   5.   \-scopr:::download_create_dir(remote, local)
   6.     +-base::tryCatch(...)
   7.     | \-base:::tryCatchList(expr, classes, parentenv, handlers)
   8.     \-utils::download.file(...)
  
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 44 ]
  Error: Test failures
  Execution halted