* using log directory ‘/srv/hornik/tmp/CRAN/bispdep.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 ‘bispdep/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘bispdep’ version ‘1.0-0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/5s] NOTE Maintainer: ‘Carlos Melo ’ New submission Possibly misspelled words in DESCRIPTION: Getis (18:58) * 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 serialization versions ... OK * checking whether package ‘bispdep’ can be installed ... [4s/4s] OK * 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [7s/7s] 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 examples ... [1s/1s] ERROR Running examples in ‘bispdep-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: connectivity.map > ### Title: Map of spatial connectivity > ### Aliases: connectivity.map > ### Keywords: spatial connectivity > > ### ** Examples > > library(spdep) > columbus <- st_read(system.file("shapes/columbus.shp", package="spData")[1], quiet=TRUE) > #Queen neighbours > col_nbq1 <- poly2nb(columbus) # queen, order 1 > col.lags10 <- nblag(col_nbq1, 10) # queen, up to order 10 > connectivity.map(col.lags10[[1]],columbus,"COLUMBUS_I",obs=25,col="green",cex=0.5) > > sf_obj <- st_centroid(st_geometry(columbus), of_largest_polygon) > sp_obj <- as(sf_obj, "Spatial") > coords <- st_coordinates(sf_obj) > > col.k4 <- knn2nb(knearneigh(coords,4)) > connectivity.map(col.k4,columbus,"COLUMBUS_I",obs=25,col="green",cex=0.5) > > suppressMessages(trinb <- tri2nb(coords)) Warning in sn2listw(df1) : style is M (missing); style should be set to a valid value > connectivity.map(trinb,columbus,"COLUMBUS_I",obs=25,col="green",cex=0.5) > > soinb=graph2nb(soi.graph(trinb,coords),sym=TRUE) Error in soi.graph(trinb, coords) : dbscan required Calls: graph2nb -> soi.graph Execution halted * checking PDF version of manual ... [4s/4s] 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 NOTE