* using log directory ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/mapping.Rcheck’
* using R Under development (unstable) (2025-02-23 r87804)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    Debian clang version 19.1.7 (1+b1)
    Debian flang-new version 19.1.7 (1+b1)
* running under: Debian GNU/Linux trixie/sid
* using session charset: UTF-8
* checking for file ‘mapping/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘mapping’ version ‘1.4.1’
* package encoding: UTF-8
* 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 ‘mapping’ can be installed ... OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/mapping-00install.html' for details.
* checking package directory ... OK
* checking for future file timestamps ... 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/17s] OK
* checking whether the package can be loaded with stated dependencies ... [13s/17s] OK
* checking whether the package can be unloaded cleanly ... [13s/16s] 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/15s] OK
* checking whether startup messages can be suppressed ... [13s/15s] 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 ... [81s/109s] NOTE
mapping_tmap: warning in tm_credits(srcAuth, size =
  options$credits.size, col = options$credits.color, fontface =
  options$credits.fontface, position = options$credits.position):
  partial argument match of 'col' to 'color'
mapping_tmap_US: warning in tm_credits(srcAuth, size =
  options$credits.size, col = options$credits.color, fontface =
  options$credits.fontface, position = options$credits.position):
  partial argument match of 'col' to 'color'
* checking Rd files ... [1s/1s] OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  DE.Rd: st_crs
  EU.Rd: st_crs
  FR.Rd: st_crs
  IT.Rd: st_crs
  UK.Rd: st_crs
  US.Rd: st_crs
  WR.Rd: st_crs
  loadCoordDE.Rd: st_crs
  loadCoordEU.Rd: st_crs
  loadCoordFR.Rd: st_crs
  loadCoordIT.Rd: st_crs
  loadCoordUK.Rd: st_crs
  loadCoordUS.Rd: st_crs
  loadCoordWR.Rd: st_crs
  mapping.options.Rd: tm_layout, tm_borders, tm_fill, tm_style
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
* 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 ... [1s/1s] OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... [32s/46s] ERROR
Running examples in ‘mapping-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: mapping
> ### Title: Static maps
> ### Aliases: mapping
> 
> ### ** Examples
> 
> 
> library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

> library(sf)
Linking to GEOS 3.13.0, GDAL 3.10.2, PROJ 9.5.1; sf_use_s2() is TRUE
> 
> data("popIT")
> popIT <- popIT
> coords <- loadCoordIT(unit = "provincia", year = '2019')
> cr <- left_join(coords, popIT, by = c( "provincia" = "ID"))
> 
> ###############
> #   Statics   #
> ###############
> 
> mapping(cr)

── tmap v3 code detected ───────────────────────────────────────────────────────
[v3->v4] `tm_borders()`: use 'fill' for the fill color of polygons/symbols
(instead of 'col'), and 'col' for the outlines (instead of 'border.col').
This message is displayed once every 8 hours.
[v3->v4] `tm_borders()`: use `fill_alpha` instead of `alpha`.
Error in `<current-expression>` : node stack overflow
Calls: <Anonymous> ... as.data.table -> as.data.table.data.frame -> as.data.table
Execution halted
* checking PDF version of manual ... [9s/11s] OK
* checking HTML version of manual ... [3s/5s] OK
* checking for non-standard things in the check directory ... OK
* DONE
Status: 1 ERROR, 2 NOTEs