* using log directory 'd:/Rcompile/CRANpkg/local/4.3/malariaAtlas.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'malariaAtlas/DESCRIPTION' ... OK * this is package 'malariaAtlas' version '1.6.1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'malariaAtlas' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking startup messages can be suppressed ... [2s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [10s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [4s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [22s] ERROR Running 'testthat.R' [21s] 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [21s] ERROR Error(s) in re-building vignettes: --- re-building 'overview.Rmd' using rmarkdown Quitting from lines 42-43 [unnamed-chunk-1] (overview.Rmd) Error: processing vignette 'overview.Rmd' failed with diagnostics: 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 --- failed re-building 'overview.Rmd' SUMMARY: processing the following file failed: 'overview.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [10s] OK * DONE Status: 2 ERRORs