Running ‘colourScale.R’ [16s/42s]
  Running ‘omerc.R’ [37s/98s]
  Running ‘openmap.R’ [16s/43s]
  Running ‘worldMap.R’ [15s/16s]
Running the tests in ‘tests/openmap.R’ failed.
Complete output:
  > #+ setup
  > options("rgdal_show_exportToProj4_warnings"="none") 
  > library('mapmisc')
  Loading required package: sp
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  Loading required package: raster
  map images will be cached in  /tmp/RtmpZZC3Ni/working_dir/RtmpI4qi0R/mapmiscCache
  > 
  > if(!exists('mapmiscCachePath'))
  +   mapmiscCachePath = system.file('extdata', package='mapmisc')
  > 
  > if(!exists('mapmiscCacheReadOnly'))
  +   mapmiscCacheReadOnly = TRUE
  > 
  > 
  > options(
  +   mapmiscCachePath = mapmiscCachePath,
  +   mapmiscCacheReadOnly = mapmiscCacheReadOnly,
  +   mapmiscVerbose=TRUE)
  > 
  > getOption("mapmiscCachePath")
  [1] "/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/mapmisc/extdata"
  > getOption("mapmiscCacheReadOnly")
  [1] TRUE
  > #'
  > 
  > 
  > #+ simplePlot
  > myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10, 
  +   crs=mapmisc::crsLL)
  > values(myraster) = seq(0,1,len=ncell(myraster))
  > 
  > myPoints = as(myraster,'SpatialPoints')[
  +   seq(1,ncell(myraster),len=5)]
  > 
  > plot(myraster)
  > points(myPoints)
  > #'
  > #' 
  > #' only do the following if rgdal is available
  > #+ africaPlots 
  > if(require('rgdal', quietly=TRUE)) {
  +   
  +   # utm zone 32
  +   utmproj = CRS("+init=epsg:3064") 
  +   myrasterUTM = projectRaster(myraster, crs=utmproj)
  +   myPointsUTM = spTransform(myPoints, utmproj)
  +   plot(myrasterUTM)
  +   points(myPointsUTM)
  +   
  +   myPointsMercator = spTransform(myPoints, 
  +     crsMerc)
  +   
  +   
  +   myplot = function(first,second=first) {
  +     par(mar=c(0,0,0,0))
  +     plot(first)
  +     plot(mytiles, add=TRUE)
  +     plot(second,add=TRUE,col='blue')
  + #	points(mycities,col='red')
  + #	text(mycities, labels=mycities$name, col='red',pos=4)
  +     scaleBar(first)
  +   }
  + }  
  Please note that rgdal will be retired during October 2023,
  plan transition to sf/stars/terra functions using GDAL and PROJ
  at your earliest convenience.
  See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
  rgdal: version: 1.6-7, (SVN revision 1203)
  Geospatial Data Abstraction Library extensions to R successfully loaded
  Loaded GDAL runtime: GDAL 3.4.3, released 2022/04/22
  Path to GDAL shared files: /usr/local/clang/share/gdal
  GDAL binary built with GEOS: TRUE 
  Loaded PROJ runtime: Rel. 8.2.1, January 1st, 2022, [PJ_VERSION: 821]
  Path to PROJ shared files: /data/gannet/ripley/.local/share/proj:/usr/local/share/proj:/usr/local/share/proj
  PROJ CDN enabled: TRUE
  Linking to sp version:2.0-0
  To mute warnings of possible GDAL/OSR exportToProj4() degradation,
  use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
  proj_create: unrecognized format / unknown name
  Error in spTransform(myPoints, utmproj) : 
    target crs creation failed: Unknown error (code 4096)
  Calls: spTransform -> spTransform
  In addition: Warning messages:
  1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
  2: In spTransform(myPoints, utmproj) :
    NULL source CRS comment, falling back to PROJ string
  3: In spTransform(myPoints, utmproj) :
    NULL target CRS comment, falling back to PROJ string
  4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
  5: In is.projected(p4str) : Package sf not available
  Execution halted
Running the tests in ‘tests/worldMap.R’ failed.
Complete output:
  > #+ setup
  > options("rgdal_show_exportToProj4_warnings"="none") 
  > library('mapmisc')
  Loading required package: sp
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  Loading required package: raster
  map images will be cached in  /tmp/RtmpZZC3Ni/working_dir/Rtmpvzh6OS/mapmiscCache
  > 
  > if(!exists('mapmiscCachePath'))
  +   mapmiscCachePath = system.file('extdata', package='mapmisc')
  > 
  > if(!exists('mapmiscCacheReadOnly'))
  +   mapmiscCacheReadOnly = TRUE
  > 
  > mapmiscCachePath
  [1] "/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/mapmisc/extdata"
  > 
  > options(
  +   mapmiscCachePath = mapmiscCachePath,
  +   mapmiscCacheReadOnly = mapmiscCacheReadOnly,
  +   mapmiscVerbose=TRUE)
  > 
  > getOption("mapmiscCachePath")
  [1] "/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/mapmisc/extdata"
  > getOption("mapmiscCacheReadOnly")
  [1] TRUE
  > #'
  > 
  > 
  > #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
  > Spackages = c('rgdal', 'rgeos', 'geosphere')
  > 
  > #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
  > #	library('rgdal')
  > 
  > 		data("worldMap")
  > 
  > 		world = spTransform(worldMap, crsLL)
  Error in spTransform(worldMap, crsLL) : 
    sf required for evolution_status==2L
  Calls: spTransform -> spTransform
  Execution halted