- using R Under development (unstable) (2025-12-21 r89215)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘mapmisc/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘mapmisc’ version ‘2.1.0’
- 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 ... [50s/63s] OK
See the install log for details.
- 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [13s/18s] OK
- checking whether the package can be loaded with stated dependencies ... [12s/17s] OK
- checking whether the package can be unloaded cleanly ... [13s/15s] OK
- checking whether the namespace can be loaded with stated dependencies ... [13s/18s] OK
- checking whether the namespace can be unloaded cleanly ... [13s/16s] OK
- checking loading without being on the library search path ... [13s/16s] OK
- checking whether startup messages can be suppressed ... [13s/17s] 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 ... [70s/91s] OK
- checking Rd files ... 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 ... [13s/19s] 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 ... [42s/60s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [220s/283s] ERROR
Running ‘colourScale.R’ [17s/23s]
Running ‘omerc.R’ [24s/30s]
Running ‘openmap.R’ [126s/165s]
Running ‘worldMap.R’ [53s/64s]
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 /tmp/RtmpKIot4C/working_dir/RtmpNnj4ob/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 ... [270s/348s] OK
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR