Running 'run_tests.r' [95s]
Running the tests in 'tests/run_tests.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: Connection timed out after 10000 milliseconds
  Error in mt_bands(product = "MOD11A2") : 
    Your requested timed out or the server is unreachable
  Error in mt_bands(product = "MOD11A6") : 
    please specify a product, or check your product name...
  -- 1. Failure: test mt_bands() (@test_main_functions.r#38)  --------------------
  `check` isn't true.
  
  Error in mt_dates(product = "MOD11A6", lat = 40, lon = -110) : 
    please specify a product, or check your product name...
  Error in mt_dates(product = "MOD11A6", lat = NULL, lon = -110) : 
    please specify a product, or check your product name...
  Error in open.connection(con, "rb") : 
    Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  Error in MODISTools::mt_products() : 
    Your requested timed out or the server is unreachable
  Error in open.connection(con, "rb") : 
    Timeout was reached: Operation timed out after 10015 milliseconds with 0 out of 0 bytes received
  Error in MODISTools::mt_products() : 
    Your requested timed out or the server is unreachable
  Error in mt_batch_subset(df = "fail.csv", product = "MOD11A2", band = "LST_Day_1km",  : 
    specified batch file does not exist
  -- 2. Failure: test mt_batch_subset() (@test_main_functions.r#147)  ------------
  `check` isn't true.
  
  == testthat results  ===========================================================
  OK: 5 SKIPPED: 0 FAILED: 2
  1. Failure: test mt_bands() (@test_main_functions.r#38) 
  2. Failure: test mt_batch_subset() (@test_main_functions.r#147) 
  
  Error: testthat unit tests failed
  Execution halted