* using log directory ‘/srv/hornik/tmp/CRAN/mapmisc.Rcheck’ * using R Under development (unstable) (2024-01-20 r85814) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (3) Debian flang-new version 17.0.6 (3) * running under: Debian GNU/Linux trixie/sid * 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 ... [4s/5s] 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 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 ... [11s/11s] 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 ... [3s/3s] OK * checking whether the package can be loaded with stated dependencies ... [3s/3s] OK * checking whether the package can be unloaded cleanly ... [3s/3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s/3s] OK * checking whether the namespace can be unloaded cleanly ... [3s/3s] OK * checking loading without being on the library search path ... [3s/3s] OK * checking whether startup messages can be suppressed ... [3s/3s] 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 ... [16s/16s] OK * checking Rd files ... [0s/0s] 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 ... [3s/3s] 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 127Kb 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 ... [9s/11s] 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 ... [48s/48s] OK Running ‘colourScale.R’ [3s/3s] Running ‘omerc.R’ [11s/11s] Running ‘openmap.R’ [24s/25s] Running ‘worldMap.R’ [9s/9s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [15s/15s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING, 1 NOTE