Running 'testthat.R' [287s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(malariaAtlas)
  Loading required package: ggplot2
  > 
  > test_check("malariaAtlas")
  -- 1. Error: (unknown) (@test_autoplot.MAPraster.R#5)  -------------------------
  cannot open the connection
  1: getShp(ISO = "MDG", admin_level = "admin0") at testthat/test_autoplot.MAPraster.R:5
  2: listShp(printed = FALSE)
  3: rbind(utils::read.csv(URL_admin0, encoding = "UTF-8"), utils::read.csv(URL_admin1, 
         encoding = "UTF-8"))
  4: utils::read.csv(URL_admin0, encoding = "UTF-8")
  5: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, 
         comment.char = comment.char, ...)
  6: file(file, "rt")
  
  trying URL 'https://map.ox.ac.uk/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&outputFormat=shape-zip&srsName=EPSG:4326&TypeName=mapadmin_0_2013&cql_filter=country_id%20IN%20(%27MDG%27)'
  Content type 'application/zip' length unknown
  .......... .......... .......... .......... ..........
  .......... .......... .........
  downloaded 79 KB
  
  OGR data source with driver: ESRI Shapefile 
  Source: "D:\temp\RtmpYTWCMr\shp\mapadmin_0_2013.shp", layer: "mapadmin_0_2013"
  with 1 features
  It has 9 fields
  trying URL 'https://map.ox.ac.uk/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&outputFormat=shape-zip&srsName=EPSG:4326&TypeName=mapadmin_0_2013&cql_filter=country_id%20IN%20(%27BDI%27)'
  Content type 'application/zip' length unknown
  .......... .......... .......
  downloaded 27 KB
  
  OGR data source with driver: ESRI Shapefile 
  Source: "D:\temp\RtmpYTWCMr\shp\mapadmin_0_2013.shp", layer: "mapadmin_0_2013"
  with 1 features
  It has 9 fields
  trying URL 'https://map.ox.ac.uk/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&outputFormat=shape-zip&srsName=EPSG:4326&TypeName=mapadmin_0_2013&cql_filter=country_id%20IN%20(%27BDI%27)'
  Content type 'application/zip' length unknown
  .......... .......... .......
  downloaded 27 KB
  
  OGR data source with driver: ESRI Shapefile 
  Source: "D:\temp\RtmpYTWCMr\shp\mapadmin_0_2013.shp", layer: "mapadmin_0_2013"
  with 1 features
  It has 9 fields
  trying URL 'https://map.ox.ac.uk/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&outputFormat=shape-zip&srsName=EPSG:4326&TypeName=mapadmin_0_2013&cql_filter=country_id%20IN%20(%27BDI%27,%27RWA%27)'
  Content type 'application/zip' length unknown
  .......... .......... .......... .......... .........
  downloaded 49 KB
  
  OGR data source with driver: ESRI Shapefile 
  Source: "D:\temp\RtmpYTWCMr\shp\mapadmin_0_2013.shp", layer: "mapadmin_0_2013"
  with 2 features
  It has 9 fields
  trying URL 'https://map.ox.ac.uk/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&outputFormat=shape-zip&srsName=EPSG:4326&TypeName=mapadmin_1_2013&cql_filter=country_id%20IN%20(%27BDI%27)'
  Content type 'application/zip' length unknown
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .........
  downloaded 159 KB
  
  OGR data source with driver: ESRI Shapefile 
  Source: "D:\temp\RtmpYTWCMr\shp\mapadmin_1_2013.shp", layer: "mapadmin_1_2013"
  with 17 features
  It has 6 fields
  trying URL 'https://map.ox.ac.uk/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&outputFormat=shape-zip&srsName=EPSG:4326&TypeName=mapadmin_1_2013&cql_filter=country_id%20IN%20(%27BDI%27,%27RWA%27)'
  Content type 'application/zip' length unknown
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... .......... ..........
  .......... .......... .......... ....
  downloaded 584 KB
  
  OGR data source with driver: ESRI Shapefile 
  Source: "D:\temp\RtmpYTWCMr\shp\mapadmin_1_2013.shp", layer: "mapadmin_1_2013"
  with 22 features
  It has 6 fields
  == testthat results  ===========================================================
  OK: 127 SKIPPED: 3 FAILED: 1
  1. Error: (unknown) (@test_autoplot.MAPraster.R#5) 
  
  Error: testthat unit tests failed
  Execution halted