CRAN Package Check Results for Package spdep

Last updated on 2026-04-13 03:53:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4-2 23.38 263.48 286.86 OK
r-devel-linux-x86_64-debian-gcc 1.4-2 16.28 181.37 197.65 ERROR
r-devel-linux-x86_64-fedora-clang 1.4-2 39.00 406.79 445.79 OK
r-devel-linux-x86_64-fedora-gcc 1.4-2 44.00 421.69 465.69 OK
r-devel-macos-arm64 1.4-2 6.00 67.00 73.00 OK
r-devel-windows-x86_64 1.4-2 41.00 305.00 346.00 OK
r-patched-linux-x86_64 1.4-2 25.46 255.26 280.72 OK
r-release-linux-x86_64 1.4-2 21.86 241.85 263.71 OK
r-release-macos-arm64 1.4-2 5.00 76.00 81.00 OK
r-release-macos-x86_64 1.4-2 21.00 496.00 517.00 OK
r-release-windows-x86_64 1.4-2 35.00 0.00 35.00 OK
r-oldrel-macos-arm64 1.4-2 6.00 76.00 82.00 NOTE
r-oldrel-macos-x86_64 1.4-2 21.00 469.00 490.00 NOTE
r-oldrel-windows-x86_64 1.4-2 47.00 390.00 437.00 NOTE

Check Details

Version: 1.4-2
Check: examples
Result: ERROR Running examples in ‘spdep-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: set.mcOption > ### Title: Options for parallel support > ### Aliases: set.ClusterOption get.ClusterOption set.mcOption > ### get.coresOption set.coresOption get.mcOption > ### Keywords: spatial > > ### ** Examples > > ls(envir=spdep:::.spdepOptions) [1] "cluster" "cores" "listw_is_CsparseMatrix" [4] "mc" "nb_subgraphs_N+E" "report_nb_noneighs" [7] "report_nb_subgraphs" "rlecuyerSeed" "spChkID" [10] "verbose" "zeroPolicy" > if (require(parallel, quietly=TRUE)) { + nc <- max(2L, detectCores(logical=FALSE), na.rm = TRUE)-1L + nc + # set nc to 1L here + if (nc > 1L) nc <- 1L + #nc <- ifelse(nc > 2L, 2L, nc) + coresOpt <- get.coresOption() + coresOpt + if (!is.na(nc)) { + invisible(set.coresOption(nc)) + print(exists("moran.mc")) + if(.Platform$OS.type == "windows") { + # forking not permitted on Windows - start cluster + print(get.mcOption()) + cl <- makeCluster(get.coresOption()) + print(clusterEvalQ(cl, exists("moran.mc"))) + set.ClusterOption(cl) + clusterEvalQ(get.ClusterOption(), library(spdep)) + print(clusterEvalQ(cl, exists("moran.mc"))) + clusterEvalQ(get.ClusterOption(), detach(package:spdep)) + set.ClusterOption(NULL) + print(clusterEvalQ(cl, exists("moran.mc"))) + stopCluster(cl) + } else { + mcOpt <- get.mcOption() + print(mcOpt) + print(mclapply(1:get.coresOption(), function(i) exists("moran.mc"), + mc.cores=get.coresOption())) + invisible(set.mcOption(FALSE)) + cl <- makeCluster(nc) + print(clusterEvalQ(cl, exists("moran.mc"))) + set.ClusterOption(cl) + clusterEvalQ(get.ClusterOption(), library(spdep)) + print(clusterEvalQ(cl, exists("moran.mc"))) + clusterEvalQ(get.ClusterOption(), detach(package:spdep)) + set.ClusterOption(NULL) + print(clusterEvalQ(cl, exists("moran.mc"))) + stopCluster(cl) + invisible(set.mcOption(mcOpt)) + } + invisible(set.coresOption(coresOpt)) + } + } [1] TRUE [1] TRUE [[1]] [1] TRUE Error in serverSocket(port = port) : creation of server socket failed: port 11829 cannot be opened Calls: makeCluster -> makePSOCKcluster -> serverSocket Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.4-2
Check: installed package size
Result: NOTE installed size is 9.8Mb sub-directories of 1Mb or more: doc 6.0Mb etc 2.0Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64