Running 'colourScale.R' [6s]
  Running 'omerc.R' [19s]
  Running 'openmap.R' [64s]
  Running 'worldMap.R' [13s]
Running the tests in 'tests/worldMap.R' failed.
Complete output:
  > #+ setup
  > options(warn=1)
  > 
  > library('mapmisc')
  Loading required package: terra
  terra 1.9.1
  map images will be cached in  D:\temp\2026_03_10_01_50_00_7065\RtmpQJuZt8/mapmiscCache
  > 
  > #if(!exists('mapmiscCachePath'))
  > #  mapmiscCachePath = system.file('extdata', package='mapmisc')
  > 
  > #if(!exists('mapmiscCacheReadOnly'))
  > #  mapmiscCacheReadOnly = TRUE
  > 
  > #mapmiscCachePath
  > 
  > #options(
  > #  mapmiscCachePath = mapmiscCachePath,
  > #  mapmiscCacheReadOnly = mapmiscCacheReadOnly,
  > #  mapmiscVerbose=TRUE)
  > 
  > getOption("mapmiscCachePath")
  [1] "D:\\temp\\2026_03_10_01_50_00_7065\\RtmpQJuZt8/mapmiscCache"
  > #'
  > 
  > #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
  > 
  > 
  > 		data("worldMap")
  > 		worldMap = unwrap(worldMap)
  > 
  > 		world = project(worldMap, crsLL)
  > 		country='Japan'
  > 		x=world[grep(country, world$NAME)]
  > 
  > 		myCrsO = moll(x)
  > if(!interactive()) pdf("worldMap.pdf")
  > 
  >  plot(world, ylim = 90.5*c(-1,1))
  >  plot(attributes(myCrsO)$crop, 
  +  	border='red', col='#0000FF10', add=TRUE)
  > 
  > #x = myCrsO;zoom=1;fact=0.7;path='osm';crs = crs(x);buffer=0;verbose=TRUE;cachePath = tempdir();suffix=NULL  
  > 
  >  myMap = openmap(myCrsO, zoom=1, fact=0.7, verbose=TRUE)
  http://tile.openstreetmap.org/ 
  http://tile.openstreetmap.org/ 
  downloading  http://tile.openstreetmap.org/1/0/0.png 
  trying URL 'http://tile.openstreetmap.org/1/0/0.png'
  Content type 'image/png' length 8947 bytes
  ==================================================
  downloaded 8947 bytes
  
  downloading  http://tile.openstreetmap.org/1/0/1.png 
  trying URL 'http://tile.openstreetmap.org/1/0/1.png'
  Content type 'image/png' length 2984 bytes
  ==================================================
  downloaded 2984 bytes
  
  downloading  http://tile.openstreetmap.org/1/1/0.png 
  trying URL 'http://tile.openstreetmap.org/1/1/0.png'
  Content type 'image/png' length 9509 bytes
  ==================================================
  downloaded 9509 bytes
  
  downloading  http://tile.openstreetmap.org/1/1/1.png 
  trying URL 'http://tile.openstreetmap.org/1/1/1.png'
  Content type 'image/png' length 3368 bytes
  ==================================================
  downloaded 3368 bytes
  
  reprojecting
  reprojecting:   5  cycles:1  2  3  4  4 
  poles:  north 
  poles:  south 
  > 
  >  plot(myMap)
  >  plot(attributes(myCrsO)$ellipse, add=TRUE, border='black')
  >  gridlinesWrap(myCrsO, lty=2, col='orange')
  > 
  >  xTcrop = wrapPoly(x=world, crs=myCrsO)