CRAN Package Check Results for Package spatialreg

Last updated on 2025-06-04 15:49:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3-6 25.34 368.18 393.52 OK
r-devel-linux-x86_64-debian-gcc 1.3-6 16.34 234.46 250.80 ERROR
r-devel-linux-x86_64-fedora-clang 1.3-6 636.98 OK
r-devel-linux-x86_64-fedora-gcc 1.3-6 609.35 OK
r-devel-windows-x86_64 1.3-6 28.00 347.00 375.00 OK
r-patched-linux-x86_64 1.3-6 29.29 352.64 381.93 OK
r-release-linux-x86_64 1.3-6 26.61 356.47 383.08 OK
r-release-macos-arm64 1.3-6 202.00 OK
r-release-macos-x86_64 1.3-6 411.00 OK
r-release-windows-x86_64 1.3-6 31.00 358.00 389.00 OK
r-oldrel-macos-arm64 1.3-6 159.00 OK
r-oldrel-macos-x86_64 1.3-6 342.00 OK
r-oldrel-windows-x86_64 1.3-6 38.00 495.00 533.00 OK

Check Details

Version: 1.3-6
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 11749 cannot be opened Calls: makeCluster -> makePSOCKcluster -> serverSocket Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed ML_models 4.179 0.014 7.441 Flavor: r-devel-linux-x86_64-debian-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.