Running 'testthat.R' [20m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rsoi)
  > 
  > test_check("rsoi")
  -- 1. Error: Does download_ao download a data.frame? (@test_download_.R#13)  ---
  Non successful http request. Target server returning a 502 error code
  Backtrace:
   1. testthat::expect_is(fun(), "data.frame")
   4. rsoi:::fun()
   5. rsoi:::with_cache(...)
   6. rsoi:::unmemoised(...)
   7. rsoi:::check_response(ao_link)
  
  -- 2. Error: Does download_nao download a data.frame? (@test_download_.R#13)  --
  Non successful http request. Target server returning a 502 error code
  Backtrace:
   1. testthat::expect_is(fun(), "data.frame")
   4. rsoi:::fun()
   5. rsoi:::with_cache(...)
   6. rsoi:::unmemoised(...)
   7. rsoi:::check_response(nao_link)
  
  -- 3. Error: Does download_soi download a data.frame? (@test_download_.R#13)  --
  Non successful http request. Target server returning a 502 error code
  Backtrace:
   1. testthat::expect_is(fun(), "data.frame")
   4. rsoi:::fun()
   5. rsoi:::with_cache(...)
   6. rsoi:::unmemoised(...)
   7. rsoi:::check_response(soi_link)
  
  -- 4. Error: Does download_pdo download a data.frame? (@test_download_.R#13)  --
  Non successful http request. Target server returning a 503 error code
  Backtrace:
   1. testthat::expect_is(fun(), "data.frame")
   4. rsoi:::fun()
   5. rsoi:::with_cache(...)
   6. rsoi:::unmemoised(...)
   7. rsoi:::check_response(pdo_link)
  
  -- 5. Error: read_ao recovers data (@test_download_.R#34)  ---------------------
  Non successful http request. Target server returning a 503 error code
  Backtrace:
   1. rsoi:::download_fun(use_cache = FALSE, file = file)
   2. rsoi:::with_cache(...)
   3. rsoi:::unmemoised(...)
   4. rsoi:::check_response(ao_link)
  
  -- 6. Error: read_nao recovers data (@test_download_.R#34)  --------------------
  Non successful http request. Target server returning a 503 error code
  Backtrace:
   1. rsoi:::download_fun(use_cache = FALSE, file = file)
   2. rsoi:::with_cache(...)
   3. rsoi:::unmemoised(...)
   4. rsoi:::check_response(nao_link)
  
  -- 7. Error: read_soi recovers data (@test_download_.R#34)  --------------------
  Non successful http request. Target server returning a 503 error code
  Backtrace:
   1. rsoi:::download_fun(use_cache = FALSE, file = file)
   2. rsoi:::with_cache(...)
   3. rsoi:::unmemoised(...)
   4. rsoi:::check_response(soi_link)
  
  -- 8. Error: read_pdo recovers data (@test_download_.R#34)  --------------------
  Non successful http request. Target server returning a 503 error code
  Backtrace:
   1. rsoi:::download_fun(use_cache = FALSE, file = file)
   2. rsoi:::with_cache(...)
   3. rsoi:::unmemoised(...)
   4. rsoi:::check_response(pdo_link)
  
  -- 9. Error: Does download_enso() download a data.frame? (@test_download_enso.R#
  Non successful http request. Target server returning a 503 error code
  Backtrace:
   1. testthat::expect_is(download_enso(), "data.frame")
   4. rsoi::download_enso()
   5. rsoi::download_soi()
   6. rsoi:::with_cache(...)
   7. rsoi:::unmemoised(...)
   8. rsoi:::check_response(soi_link)
  
  -- 10. Error: Does download_enso() save to a file? (@test_download_enso.R#16)  -
  Non successful http request. Target server returning a 503 error code
  Backtrace:
   1. testthat::expect_is(download_enso(create_csv = TRUE), "data.frame")
   4. rsoi::download_enso(create_csv = TRUE)
   5. rsoi::download_soi()
   6. rsoi:::with_cache(...)
   7. rsoi:::unmemoised(...)
   8. rsoi:::check_response(soi_link)
  
  == testthat results  ===========================================================
  [ OK: 16 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 10 ]
  1.  Error: Does download_ao download a data.frame? (@test_download_.R#13) 
  2.  Error: Does download_nao download a data.frame? (@test_download_.R#13) 
  3.  Error: Does download_soi download a data.frame? (@test_download_.R#13) 
  4.  Error: Does download_pdo download a data.frame? (@test_download_.R#13) 
  5.  Error: read_ao recovers data (@test_download_.R#34) 
  6.  Error: read_nao recovers data (@test_download_.R#34) 
  7.  Error: read_soi recovers data (@test_download_.R#34) 
  8.  Error: read_pdo recovers data (@test_download_.R#34) 
  9.  Error: Does download_enso() download a data.frame? (@test_download_enso.R#6) 
  10. Error: Does download_enso() save to a file? (@test_download_enso.R#16) 
  
  Error: testthat unit tests failed
  Execution halted