CRAN Package Check Results for Package spatialreg

Last updated on 2026-07-21 06:50:25 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4-3 23.31 391.70 415.01 OK
r-devel-linux-x86_64-debian-gcc 1.4-3 17.16 245.88 263.04 ERROR
r-devel-linux-x86_64-fedora-clang 1.4-3 41.00 532.82 573.82 OK
r-devel-linux-x86_64-fedora-gcc 1.4-3 20.00 284.24 304.24 OK
r-devel-windows-x86_64 1.4-3 31.00 362.00 393.00 OK
r-patched-linux-x86_64 1.4-3 23.98 373.99 397.97 OK
r-release-linux-x86_64 1.4-3 25.38 376.16 401.54 OK
r-release-macos-arm64 1.4-3 7.00 86.00 93.00 OK
r-release-macos-x86_64 1.4-3 19.00 413.00 432.00 OK
r-release-windows-x86_64 1.4-3 32.00 371.00 403.00 OK
r-oldrel-macos-arm64 1.4-3 6.00 84.00 90.00 OK
r-oldrel-macos-x86_64 1.4-3 20.00 436.00 456.00 OK
r-oldrel-windows-x86_64 1.4-3 41.00 523.00 564.00 OK

Check Details

Version: 1.4-3
Check: examples
Result: ERROR Running examples in ‘spatialreg-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=spatialreg:::.spatialregOptions) [1] "cluster" "cores" "mc" "rlecuyerSeed" "verbose" [6] "zeroPolicy" > library(parallel) > nc <- max(2L, detectCores(logical=FALSE), na.rm = TRUE)-1L > nc [1] 63 > # set nc to 1L here > if (nc > 1L) nc <- 1L > #nc <- ifelse(nc > 2L, 2L, nc) > coresOpt <- get.coresOption() > coresOpt NULL > if (!is.na(nc)) { + invisible(set.coresOption(nc)) + print(exists("mom_calc")) + if(.Platform$OS.type == "windows") { + # forking not permitted on Windows - start cluster + # removed for Github actions 210502 + ## Not run: + ##D print(get.mcOption()) + ##D cl <- makeCluster(get.coresOption()) + ##D print(clusterEvalQ(cl, exists("mom_calc"))) + ##D set.ClusterOption(cl) + ##D clusterEvalQ(get.ClusterOption(), library(spatialreg)) + ##D print(clusterEvalQ(cl, exists("mom_calc"))) + ##D clusterEvalQ(get.ClusterOption(), detach(package:spatialreg)) + ##D set.ClusterOption(NULL) + ##D print(clusterEvalQ(cl, exists("mom_calc"))) + ##D stopCluster(cl) + ## End(Not run) + } else { + mcOpt <- get.mcOption() + print(mcOpt) + print(mclapply(1:get.coresOption(), function(i) exists("mom_calc"), + mc.cores=get.coresOption())) + invisible(set.mcOption(FALSE)) + cl <- makeCluster(nc) + print(clusterEvalQ(cl, exists("mom_calc"))) + set.ClusterOption(cl) + clusterEvalQ(get.ClusterOption(), library(spatialreg)) + print(clusterEvalQ(cl, exists("mom_calc"))) + clusterEvalQ(get.ClusterOption(), detach(package:spatialreg)) + set.ClusterOption(NULL) + print(clusterEvalQ(cl, exists("mom_calc"))) + 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 11508 cannot be opened Calls: makeCluster -> makePSOCKcluster -> serverSocket Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed ML_models 4.368 0.102 6.714 MCMCsamp 3.417 0.181 5.623 Flavor: r-devel-linux-x86_64-debian-gcc

mirror server hosted at Truenetwork, Russian Federation.