CRAN Package Check Results for Maintainer ‘Roger Bivand <Roger.Bivand at nhh.no>’

Last updated on 2025-01-15 05:51:04 CET.

Package ERROR NOTE OK
classInt 13
rgrass 13
spatialreg 13
spdep 1 6 6
spgwr 13
splancs 13

Package classInt

Current CRAN status: OK: 13

Package rgrass

Current CRAN status: OK: 13

Package spatialreg

Current CRAN status: OK: 13

Package spdep

Current CRAN status: ERROR: 1, NOTE: 6, OK: 6

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

Package spgwr

Current CRAN status: OK: 13

Package splancs

Current CRAN status: OK: 13