Running ‘testthat.R’ [4s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rsoi)
  > 
  > test_check("rsoi")
  ── 1. Error: Does download_npgo download a data.frame? (@test_download_.R#13)  ─
  Non successful http request. Target server returning a 403 error code
  Backtrace:
   1. testthat::expect_is(fun(), "data.frame")
   4. rsoi:::fun()
   5. rsoi:::with_cache(...)
   6. rsoi:::unmemoised(...)
   7. rsoi:::check_response(npgo_link)
  
  ── 2. Error: read_npgo recovers data (@test_download_.R#34)  ───────────────────
  Non successful http request. Target server returning a 403 error code
  Backtrace:
   1. rsoi:::download_fun(use_cache = FALSE, file = file)
   2. rsoi:::with_cache(...)
   3. rsoi:::unmemoised(...)
   4. rsoi:::check_response(npgo_link)
  
  ── 3. Error: Does download_enso() download a data.frame? (@test_download_enso.R#
  Non successful http request. Target server returning a 403 error code
  Backtrace:
   1. testthat::expect_is(download_enso(), "data.frame")
   4. rsoi::download_enso()
   5. rsoi::download_npgo()
   6. rsoi:::with_cache(...)
   7. rsoi:::unmemoised(...)
   8. rsoi:::check_response(npgo_link)
  
  ── 4. Error: Does download_enso() save to a file? (@test_download_enso.R#16)  ──
  Non successful http request. Target server returning a 403 error code
  Backtrace:
   1. testthat::expect_is(download_enso(create_csv = TRUE), "data.frame")
   4. rsoi::download_enso(create_csv = TRUE)
   5. rsoi::download_npgo()
   6. rsoi:::with_cache(...)
   7. rsoi:::unmemoised(...)
   8. rsoi:::check_response(npgo_link)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 22 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: Does download_npgo download a data.frame? (@test_download_.R#13) 
  2. Error: read_npgo recovers data (@test_download_.R#34) 
  3. Error: Does download_enso() download a data.frame? (@test_download_enso.R#6) 
  4. Error: Does download_enso() save to a file? (@test_download_enso.R#16) 
  
  Error: testthat unit tests failed
  Execution halted