- using R Under development (unstable) (2025-12-07 r89119)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.6 (2)
Debian flang version 21.1.6 (2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘mapmisc/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘mapmisc’ version ‘2.1.0’
- checking CRAN incoming feasibility ... [1s/1s] OK
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘mapmisc’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [7s/9s] OK
- checking whether the package can be loaded with stated dependencies ... [7s/8s] OK
- checking whether the package can be unloaded cleanly ... [7s/9s] OK
- checking whether the namespace can be loaded with stated dependencies ... [7s/8s] OK
- checking whether the namespace can be unloaded cleanly ... [8s/10s] OK
- checking loading without being on the library search path ... [7s/9s] OK
- checking whether startup messages can be suppressed ... [7s/10s] 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 ... [42s/55s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [8s/9s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in Makefiles ... OK
- checking for GNU extensions in Makefiles ... OK
- checking include directives in Makefiles ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [25s/32s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [124s/152s] ERROR
Running ‘colourScale.R’ [9s/10s]
Running ‘omerc.R’ [14s/17s]
Running ‘openmap.R’ [70s/85s]
Running ‘worldMap.R’ [30s/39s]
Running the tests in ‘tests/omerc.R’ failed.
Complete output:
> options(warn=1)
>
> library('mapmisc')
Loading required package: terra
terra 1.8.86
map images will be cached in /home/hornik/tmp/scratch/RtmpDHeGqK/mapmiscCache
> data('netherlands')
>
> nldCities = unwrap(nldCities)
>
>
> x=nldCities
> xbox = as.polygons(ext(nldCities), crs = crs(nldCities))
>
> bob=function(angle, ...){
+ y = project(x, omerc(x, angle, ellipse=FALSE, ...))
+ nld2 = project(xbox, crs(y))
+ map.new(nld2)
+ abline(v=0, col='grey')
+ abline(h=0, col='grey')
+ plot(nld2,add=TRUE, lwd=2, lty=3)
+ plot(ext(y), add=TRUE, col='orange')
+ plot(y,cex=0.2, col='red',add=TRUE)
+ text(y,labels=y$name, cex=0.5, col=col2html('blue',0.4))
+ mtext(paste(angle,collapse=' '),side=3,outer=FALSE,line=-1)
+ scaleBar(y,'topright')
+ return(invisible(crs(y)))
+
+ }
>
>
>
> if(!interactive()) pdf("omerc.pdf")
>
> par(mfrow=c(3,3))
>
>
> bob(0)
>
> bob(89)
>
> bob(45)
>
> bob(-45)
>
> bob(180-45)
>
>
> bob(-180-45, post=-45)
>
> bob(45, post='north')
> bob(45, post='wide')
> bob(45, post='tall')
>
>
>
>
> par(mfrow=c(3,2))
> bob((-10):10)
Error in r[i1] : object of type 'S4' is not subsettable
Calls: bob ... omerc -> mapply -> <Anonymous> -> diff -> diff.default
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [37s/51s] OK
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR