CRAN Package Check Results for Package spatialreg

Last updated on 2024-10-15 12:53:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3-5 26.52 367.67 394.19 OK
r-devel-linux-x86_64-debian-gcc 1.3-5 16.70 222.27 238.97 ERROR
r-devel-linux-x86_64-fedora-clang 1.3-5 615.34 OK
r-devel-linux-x86_64-fedora-gcc 1.3-5 596.89 OK
r-devel-windows-x86_64 1.3-5 30.00 347.00 377.00 OK
r-patched-linux-x86_64 1.3-5 25.31 343.15 368.46 OK
r-release-linux-x86_64 1.3-5 23.05 343.50 366.55 OK
r-release-macos-arm64 1.3-5 125.00 OK
r-release-macos-x86_64 1.3-5 305.00 OK
r-release-windows-x86_64 1.3-5 28.00 358.00 386.00 OK
r-oldrel-macos-arm64 1.3-5 152.00 OK
r-oldrel-macos-x86_64 1.3-5 339.00 OK
r-oldrel-windows-x86_64 1.3-5 35.00 469.00 504.00 OK

Check Details

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