Running 'testthat.R' [25s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(malariaAtlas)
  Loading required package: ggplot2
  > 
  > test_check("malariaAtlas")
  [ FAIL 2 | WARN 1 | SKIP 47 | PASS 31 ]
  
  ══ Skipped tests (47) ══════════════════════════════════════════════════════════
  • On CRAN (47): 'test_as.class.R:7:3', 'test_as.class.R:28:3',
    'test_autoplot.MAPraster.R:8:3', 'test_autoplot.MAPraster.R:27:3',
    'test_extractRaster.R:6:3', 'test_extractRaster.R:20:3',
    'test_extractRaster.R:32:3', 'test_extractRaster.R:52:3',
    'test_extractRaster.R:71:3', 'test_extractRaster.R:90:3',
    'test_extractRaster.R:112:3', 'test_extractRaster.R:123:3',
    'test_extractRaster.R:132:3', 'test_extractRaster.R:140:3',
    'test_extractRaster.R:149:3', 'test_extractRaster.R:157:3',
    'test_extractRaster.R:165:3', 'test_extractRaster.R:173:3',
    'test_extractRaster.R:185:3', 'test_extractRaster.R:196:3',
    'test_getPR.R:7:3', 'test_getPR.R:97:3', 'test_getPR.R:109:3',
    'test_getPR.R:121:3', 'test_getRaster.R:5:3', 'test_getRaster.R:77:3',
    'test_getRaster.R:90:3', 'test_getRaster.R:99:3', 'test_getRaster.R:110:3',
    'test_getRaster.R:133:3', 'test_getShp.R:5:3', 'test_getShp.R:47:3',
    'test_getShp.R:54:5', 'test_getShp.R:63:3', 'test_getVecOcc.R:7:4',
    'test_getVecOcc.R:75:3', 'test_getVecOcc.R:85:3', 'test_getVecOcc.R:102:3',
    'test_isAvailable.R:11:3', 'test_listData.R:11:3', 'test_listData.R:46:3',
    'test_listData.R:79:3', 'test_listData.R:106:3', 'test_listData.R:148:3',
    'test_plots.R:8:1', 'test_plots.R:33:1', 'test_plots.R:69:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_extractRaster.R:205:3'): Output in same order as input ─────────
  Error in `names(namespaces) <- rep("", length(namespaces))`: Failed to connect to MAP geoserver. Please try again later. If this error keeps occurring please send us an email at data.malariaatlas.org@telethonkids.org.au
  Backtrace:
      ▆
   1. └─malariaAtlas::getPR(country = c("Nigeria", "Cameroon"), species = "Pf") at test_extractRaster.R:205:3
   2.   └─malariaAtlas:::getLatestPRPointVersion()
   3.     └─malariaAtlas::listPRPointVersions(printed = FALSE)
   4.       └─malariaAtlas:::get_wfs_clients()
   5.         └─base::tryCatch(...)
   6.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   7.             └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   8.               └─value[[3L]](cond)
  ── Error ('test_getPR.R:130:3'): Version works ─────────────────────────────────
  Error in `names(namespaces) <- rep("", length(namespaces))`: Failed to connect to MAP geoserver. Please try again later. If this error keeps occurring please send us an email at data.malariaatlas.org@telethonkids.org.au
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test_getPR.R:130:3
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─malariaAtlas::getPR(species = "both", country = c("Kenya"))
    7.   └─malariaAtlas:::getLatestPRPointVersion()
    8.     └─malariaAtlas::listPRPointVersions(printed = FALSE)
    9.       └─malariaAtlas:::get_wfs_clients()
   10.         └─base::tryCatch(...)
   11.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12.             └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13.               └─value[[3L]](cond)
  
  [ FAIL 2 | WARN 1 | SKIP 47 | PASS 31 ]
  Error: Test failures
  Execution halted