Running ‘test_constructors.R’ [7s/13s]
  Running ‘test_csr_filter.R’ [53s/112s]
  Running ‘test_ext_data.R’ [9s/46s]
  Running ‘test_global_ref_filter.R’ [71s/114s]
  Running ‘test_pixel_count_filter.R’ [84s/137s]
Running the tests in ‘tests/test_ext_data.R’ failed.
Complete output:
  > # Test external data
  > 
  > library(testthat)
  > library(SPUTNIK)
  > 
  > # MALDI-MSI example
  > 
  > test_that("bladder MALDI-MSI", {
  +   x <- bladderMALDIRompp2010(verbose = TRUE)
  +   expect_equal(length(attr(x, "mass")), 1175)
  +   expect_equal(attr(x, "size"), c(260, 134))
  +   expect_equal(dim(x), c(34840, 1175))
  + })
  Downloading the data from the repository...
  trying URL 'https://raw.github.com/paoloinglese/SPUTNIKexamples/master/data/maldiData.rda'
  Content type 'application/octet-stream' length 6306944 bytes (6.0 MB)
  ==================================================
  downloaded 6.0 MB
  
  Loading the data in the R environment...
  Test passed 🥇
  > 
  > test_that("ovarian DESI-MSI", {
  +   x <- ovarianDESIDoria2016(verbose = TRUE)
  +   expect_equal(length(attr(x, "mass")), 1375)
  +   expect_equal(attr(x, "size"), c(73, 118))
  +   expect_equal(dim(x), c(8614, 1375))
  + })
  Downloading the data from the repository...
  trying URL 'https://raw.github.com/paoloinglese/SPUTNIKexamples/master/data/desiData.rda'
  ── Warning (???): ovarian DESI-MSI ─────────────────────────────────────────────
  downloaded length 0 != reported length 0
  Backtrace:
      ▆
   1. └─SPUTNIK::ovarianDESIDoria2016(verbose = TRUE)
   2.   ├─base::tryCatch(...)
   3.   │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.   │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.   │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   6.   └─utils::download.file(addr, z, mode = "wb")
  
  ── Warning (???): ovarian DESI-MSI ─────────────────────────────────────────────
  cannot open URL 'https://raw.githubusercontent.com/paoloinglese/SPUTNIKexamples/master/data/desiData.rda': HTTP status was '503 Service Unavailable'
  Backtrace:
      ▆
   1. └─SPUTNIK::ovarianDESIDoria2016(verbose = TRUE)
   2.   ├─base::tryCatch(...)
   3.   │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.   │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.   │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   6.   └─utils::download.file(addr, z, mode = "wb")
  
  ── Error (???): ovarian DESI-MSI ───────────────────────────────────────────────
  Error in `download.file(addr, z, mode = "wb")`: cannot open URL 'https://raw.github.com/paoloinglese/SPUTNIKexamples/master/data/desiData.rda'
  Backtrace:
      ▆
   1. └─SPUTNIK::ovarianDESIDoria2016(verbose = TRUE)
   2.   └─base::tryCatch(...)
   3.     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   4.       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5.         └─value[[3L]](cond)
  
  Error in reporter$stop_if_needed() : Test failed
  Calls: test_that -> <Anonymous>
  Execution halted