* using log directory 'd:/RCompile/CRANincoming/R-devel/bispdep.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 'bispdep/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'bispdep' version '1.0-0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [14s] NOTE Maintainer: 'Carlos Melo ' New submission Possibly misspelled words in DESCRIPTION: Autocorrelation (4:9) Bivariate (3:8, 3:53) Getis (18:58) autocorrelation (18:306) autocorrelations (18:74) bivariate (18:64, 18:288) * 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 serialization versions ... OK * checking whether package 'bispdep' can be installed ... OK * checking installed package size ... 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 ... 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 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 ... [10s] 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 examples ... 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 ... [18s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE