* using log directory 'd:/RCompile/CRANincoming/R-devel/mapmisc.Rcheck' * using R Under development (unstable) (2024-01-20 r85814 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.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.0.5' * checking CRAN incoming feasibility ... NOTE Maintainer: 'Patrick Brown ' Found the following (possibly) invalid URLs: URL: https://mc.bbbike.org/mc (moved to https://mc.bbbike.org/mc/) From: man/openmap.Rd Status: 301 Message: Moved Permanently URL: https://spatialreference.org/ref/sr-org/modis-sinusoidal/ From: man/modis.Rd Status: 404 Message: Not Found For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. The Date field is over a month old. * 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 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... 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 ... 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' ... WARNING 'gs+qpdf' made some significant size reductions: compacted 'mapmisc.pdf' from 456Kb to 128Kb consider running tools::compactPDF(gs_quality = "ebook") on these files, or build the source package with --compact-vignettes=both * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [15s] ERROR Running examples in 'mapmisc-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: tonerToTrans > ### Title: Convert RGB maps to semi-transparent > ### Aliases: tonerToTrans > > ### ** Examples > > > data('worldMap');worldMap = unwrap(worldMap) > > origMap = openmap(worldMap[worldMap$NAME == 'Sierra Leone',], + path='stamen-toner', + buffer=100*1000 + ) Warning in utils::download.file(...) : downloaded length 0 != reported length 10779 Warning in utils::download.file(...) : cannot open URL 'https://tiles.stadiamaps.com/tiles/stamen_toner/6/29/29.png': HTTP status was '401 Unauthorized' Warning in utils::download.file(...) : downloaded length 0 != reported length 10779 Warning in utils::download.file(...) : cannot open URL 'https://tiles.stadiamaps.com/tiles/stamen_toner/6/29/30.png': HTTP status was '401 Unauthorized' Warning in utils::download.file(...) : downloaded length 0 != reported length 10779 Warning in utils::download.file(...) : cannot open URL 'https://tiles.stadiamaps.com/tiles/stamen_toner/6/29/31.png': HTTP status was '401 Unauthorized' Warning in utils::download.file(...) : downloaded length 0 != reported length 10779 Warning in utils::download.file(...) : cannot open URL 'https://tiles.stadiamaps.com/tiles/stamen_toner/6/30/29.png': HTTP status was '401 Unauthorized' Warning in utils::download.file(...) : downloaded length 0 != reported length 10779 Warning in utils::download.file(...) : cannot open URL 'https://tiles.stadiamaps.com/tiles/stamen_toner/6/30/30.png': HTTP status was '401 Unauthorized' Warning in utils::download.file(...) : downloaded length 0 != reported length 10779 Warning in utils::download.file(...) : cannot open URL 'https://tiles.stadiamaps.com/tiles/stamen_toner/6/30/31.png': HTTP status was '401 Unauthorized' > # path = 'https://tiles.stadiamaps.com/tiles/stamen_toner/') > # suffix = '@2x.png') > oldpar= map.new(origMap, bg='green') > plot(origMap, add=TRUE) > > transMap = tonerToTrans(origMap) Warning in tonerToTrans(origMap) : cant find RGB columns Error in if (threshold < maxColorValue) xMax[which(xMax > threshold)] = maxColorValue : missing value where TRUE/FALSE needed Calls: tonerToTrans Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [77s] OK Running 'colourScale.R' Running 'omerc.R' [13s] Running 'openmap.R' [45s] Running 'worldMap.R' [15s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [32s] OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING, 1 NOTE