Running 'testthat.R' [2s/73s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # Run all unit tests
  > 
  > # This is a wrapper around all the tests specified
  > # in the tests/testthat directory. These tests are visible
  > # to users and serve as small examples as well.
  > testthat::test_check("MODISTools")
  Loading required package: MODISTools
  Error in open.connection(con, "rb") : 
    Timeout was reached: [modis.ornl.gov] Connection timed out after 10001 milliseconds
  -- 1. Error: test coordinate transforms (@test_coordinate_conversions.R#6)  ----
  $ operator is invalid for atomic vectors
  Backtrace:
   1. MODISTools::mt_subset(...)
   2. MODISTools::mt_products()
   4. MODISTools:::`_f`()
  
  Error in open.connection(con, "rb") : 
    Timeout was reached: [modis.ornl.gov] Connection timed out after 10001 milliseconds
  -- 2. Error: test mt_products() (@test_download_functions.R#6)  ----------------
  $ operator is invalid for atomic vectors
  Backtrace:
   1. testthat::expect_is(mt_products(), "data.frame")
   4. MODISTools::mt_products()
   6. MODISTools:::`_f`()
  
  Error in open.connection(con, "rb") : 
    Timeout was reached: [modis.ornl.gov] Connection timed out after 10001 milliseconds
  -- 3. Error: test mt_sites() (@test_download_functions.R#10)  ------------------
  Your requested timed out or the server is unreachable
  Backtrace:
   1. testthat::expect_is(mt_sites(), "data.frame")
   4. MODISTools::mt_sites()
   6. MODISTools:::`_f`()
  
  Error in open.connection(con, "rb") : 
    Timeout was reached: [modis.ornl.gov] Connection timed out after 10001 milliseconds
  -- 4. Error: test mt_bands() (@test_download_functions.R#14)  ------------------
  $ operator is invalid for atomic vectors
  Backtrace:
   1. testthat::expect_is(mt_bands(product = "MOD11A2"), "data.frame")
   4. MODISTools::mt_bands(product = "MOD11A2")
   6. MODISTools:::`_f`(product = product)
   7. MODISTools::mt_products()
   9. MODISTools:::`_f`()
  
  Error in open.connection(con, "rb") : 
    Timeout was reached: [modis.ornl.gov] Connection timed out after 10001 milliseconds
  -- 5. Error: test mt_dates() (@test_download_functions.R#22)  ------------------
  $ operator is invalid for atomic vectors
  Backtrace:
   1. testthat::expect_is(...)
   4. MODISTools::mt_dates(product = "MOD11A2", lat = 40, lon = -110)
   5. MODISTools::mt_products()
   7. MODISTools:::`_f`()
  
  Error in open.connection(con, "rb") : 
    Timeout was reached: [modis.ornl.gov] Connection timed out after 10001 milliseconds
  -- 6. Error: test mt_subset() (@test_download_functions.R#67)  -----------------
  $ operator is invalid for atomic vectors
  Backtrace:
   1. testthat::expect_is(...)
   4. MODISTools::mt_subset(...)
   5. MODISTools::mt_products()
   7. MODISTools:::`_f`()
  
  Error in open.connection(con, "rb") : 
    Timeout was reached: [modis.ornl.gov] Connection timed out after 10001 milliseconds
  -- 7. Error: test mt_batch_subset() (@test_download_functions.R#205)  ----------
  $ operator is invalid for atomic vectors
  Backtrace:
   1. testthat::expect_is(...)
   4. MODISTools::mt_batch_subset(...)
   5. MODISTools::mt_products()
   7. MODISTools:::`_f`()
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: test coordinate transforms (@test_coordinate_conversions.R#6) 
  2. Error: test mt_products() (@test_download_functions.R#6) 
  3. Error: test mt_sites() (@test_download_functions.R#10) 
  4. Error: test mt_bands() (@test_download_functions.R#14) 
  5. Error: test mt_dates() (@test_download_functions.R#22) 
  6. Error: test mt_subset() (@test_download_functions.R#67) 
  7. Error: test mt_batch_subset() (@test_download_functions.R#205) 
  
  Error: testthat unit tests failed
  Execution halted