Running ‘testthat.R’ [5s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(WormTensor)
  > 
  > test_check("WormTensor")
  trying URL 'https://figshare.com/ndownloader/files/35963780'
  trying URL 'https://figshare.com/ndownloader/files/35963780'
  trying URL 'https://figshare.com/ndownloader/files/35963777'
  trying URL 'https://figshare.com/ndownloader/files/35963780'
  trying URL 'https://figshare.com/ndownloader/files/35963780'
  trying URL 'https://figshare.com/ndownloader/files/35963780'
  [ FAIL 6 | WARN 9 | SKIP 0 | PASS 31 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-as_worm_tensor.R:2:1'): (code run outside of `test_that()`) ────
  Error in `download.file("https://figshare.com/ndownloader/files/35963780", 
      tempfile1)`: cannot open URL 'https://figshare.com/ndownloader/files/35963780'
  Backtrace:
      ▆
   1. ├─WormTensor::as_worm_tensor(worm_download()$Ds) at test-as_worm_tensor.R:2:1
   2. │ └─WormTensor:::.check_as_worm_tensor(Ds)
   3. │   └─base::lapply(...)
   4. └─WormTensor::worm_download()
   5.   └─utils::download.file(...)
  ── Error ('test-worm_clustering.R:2:1'): (code run outside of `test_that()`) ───
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'object' in selecting a method for function 'worm_membership': cannot open URL 'https://figshare.com/ndownloader/files/35963780'
  Backtrace:
      ▆
   1. ├─WormTensor::worm_membership(...) at test-worm_clustering.R:2:1
   2. ├─WormTensor::as_worm_tensor(worm_download()$Ds)
   3. │ └─WormTensor:::.check_as_worm_tensor(Ds)
   4. │   └─base::lapply(...)
   5. ├─WormTensor::worm_download()
   6. │ └─utils::download.file(...)
   7. └─base::.handleSimpleError(...)
   8.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-worm_download.R:7:1'): (code run outside of `test_that()`) ─────
  Error in `download.file("https://figshare.com/ndownloader/files/35963777", 
      tempfile1)`: cannot open URL 'https://figshare.com/ndownloader/files/35963777'
  Backtrace:
      ▆
   1. └─WormTensor::worm_download("Euclid") at test-worm_download.R:7:1
   2.   └─utils::download.file(...)
  ── Error ('test-worm_evaluate.R:2:1'): (code run outside of `test_that()`) ─────
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'object' in selecting a method for function 'worm_clustering': error in evaluating the argument 'object' in selecting a method for function 'worm_membership': cannot open URL 'https://figshare.com/ndownloader/files/35963780'
  Backtrace:
       ▆
    1. ├─WormTensor::worm_clustering(...) at test-worm_evaluate.R:2:1
    2. ├─WormTensor::worm_membership(...)
    3. ├─WormTensor::as_worm_tensor(worm_download()$Ds)
    4. │ └─WormTensor:::.check_as_worm_tensor(Ds)
    5. │   └─base::lapply(...)
    6. ├─WormTensor::worm_download()
    7. │ └─utils::download.file(...)
    8. ├─base::.handleSimpleError(...)
    9. │ └─base (local) h(simpleError(msg, call))
   10. └─base::.handleSimpleError(...)
   11.   └─base (local) h(simpleError(msg, call))
  ── Error ('test-worm_membership.R:2:1'): (code run outside of `test_that()`) ───
  Error in `download.file("https://figshare.com/ndownloader/files/35963780", 
      tempfile1)`: cannot open URL 'https://figshare.com/ndownloader/files/35963780'
  Backtrace:
      ▆
   1. ├─WormTensor::as_worm_tensor(worm_download()$Ds) at test-worm_membership.R:2:1
   2. │ └─WormTensor:::.check_as_worm_tensor(Ds)
   3. │   └─base::lapply(...)
   4. └─WormTensor::worm_download()
   5.   └─utils::download.file(...)
  ── Error ('test-worm_visualize.R:5:1'): (code run outside of `test_that()`) ────
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'object' in selecting a method for function 'worm_visualize': error in evaluating the argument 'object' in selecting a method for function 'worm_evaluate': error in evaluating the argument 'object' in selecting a method for function 'worm_clustering': error in evaluating the argument 'object' in selecting a method for function 'worm_membership': cannot open URL 'https://figshare.com/ndownloader/files/35963780'
  Backtrace:
       ▆
    1. ├─WormTensor::worm_visualize(...) at test-worm_visualize.R:5:1
    2. ├─WormTensor::worm_evaluate(...)
    3. ├─WormTensor::worm_clustering(...)
    4. ├─WormTensor::worm_membership(...)
    5. ├─WormTensor::as_worm_tensor(worm_download()$Ds)
    6. │ └─WormTensor:::.check_as_worm_tensor(Ds)
    7. │   └─base::lapply(...)
    8. ├─WormTensor::worm_download()
    9. │ └─utils::download.file(...)
   10. ├─base::.handleSimpleError(...)
   11. │ └─base (local) h(simpleError(msg, call))
   12. ├─base::.handleSimpleError(...)
   13. │ └─base (local) h(simpleError(msg, call))
   14. ├─base::.handleSimpleError(...)
   15. │ └─base (local) h(simpleError(msg, call))
   16. └─base::.handleSimpleError(...)
   17.   └─base (local) h(simpleError(msg, call))
  
  [ FAIL 6 | WARN 9 | SKIP 0 | PASS 31 ]
  Error: Test failures
  Execution halted