* using log directory 'd:/Rcompile/CRANpkg/local/4.6/mapmisc.Rcheck' * using R Under development (unstable) (2025-12-06 r89118 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'mapmisc' can be installed ... OK * checking installed package size ... OK * 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 ... [6s] OK * checking whether the package can be loaded with stated dependencies ... [5s] OK * checking whether the package can be unloaded cleanly ... [5s] OK * checking whether the namespace can be loaded with stated dependencies ... [6s] OK * checking whether the namespace can be unloaded cleanly ... [5s] OK * checking loading without being on the library search path ... [6s] OK * checking whether startup messages can be suppressed ... [5s] 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 ... [18s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [5s] 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 ... [26s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [150s] ERROR Running 'colourScale.R' [6s] Running 'omerc.R' [11s] Running 'openmap.R' [102s] Running 'worldMap.R' [30s] 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 D:\temp\2025_12_07_01_50_00_14651\RtmpmSZPC8/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 -> -> diff -> diff.default Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [52s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [5s] OK * DONE Status: 1 ERROR