CRAN Package Check Results for Package spdep

Last updated on 2025-01-15 12:48:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3-8 22.36 254.00 276.36 OK
r-devel-linux-x86_64-debian-gcc 1.3-8 15.75 177.37 193.12 ERROR
r-devel-linux-x86_64-fedora-clang 1.3-8 469.20 OK
r-devel-linux-x86_64-fedora-gcc 1.3-8 462.86 OK
r-devel-windows-x86_64 1.3-8 34.00 272.00 306.00 OK
r-patched-linux-x86_64 1.3-8 25.01 242.03 267.04 OK
r-release-linux-x86_64 1.3-8 19.78 243.21 262.99 OK
r-release-macos-arm64 1.3-8 126.00 NOTE
r-release-macos-x86_64 1.3-8 240.00 NOTE
r-release-windows-x86_64 1.3-8 35.00 276.00 311.00 NOTE
r-oldrel-macos-arm64 1.3-8 128.00 NOTE
r-oldrel-macos-x86_64 1.3-8 233.00 NOTE
r-oldrel-windows-x86_64 1.3-8 36.00 357.00 393.00 NOTE

Check Details

Version: 1.3-8
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 11461 cannot be opened Calls: makeCluster -> makePSOCKcluster -> serverSocket Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.3-8
Check: installed package size
Result: NOTE installed size is 9.7Mb sub-directories of 1Mb or more: doc 6.0Mb etc 2.1Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64