CRAN Package Check Results for Package redist

Last updated on 2024-07-13 06:49:49 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.2.0 528.45 297.28 825.73 OK
r-devel-linux-x86_64-debian-gcc 4.2.0 352.68 215.26 567.94 OK
r-devel-linux-x86_64-fedora-clang 4.2.0 1171.48 NOTE
r-devel-linux-x86_64-fedora-gcc 4.2.0 1179.89 OK
r-devel-windows-x86_64 4.2.0 392.00 291.00 683.00 NOTE
r-patched-linux-x86_64 4.2.0 441.40 283.97 725.37 OK
r-release-linux-x86_64 4.2.0 391.37 276.76 668.13 OK
r-release-macos-arm64 4.2.0 221.00 NOTE
r-release-macos-x86_64 4.2.0 260.00 NOTE
r-release-windows-x86_64 4.2.0 395.00 288.00 683.00 ERROR
r-oldrel-macos-arm64 4.2.0 234.00 NOTE
r-oldrel-macos-x86_64 4.2.0 389.00 NOTE
r-oldrel-windows-x86_64 4.2.0 485.00 355.00 840.00 NOTE

Check Details

Version: 4.2.0
Check: installed package size
Result: NOTE installed size is 5.2Mb sub-directories of 1Mb or more: data 1.2Mb libs 1.3Mb Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, 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

Version: 4.2.0
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: pullback.Rd: summarize redist.compactness.Rd: prep_perims redist_map.Rd: tibble redist_plans.Rd: dplyr scorers.Rd: prep_perims Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavor: r-devel-windows-x86_64

Version: 4.2.0
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘Rmpi’ Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 4.2.0
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [14s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(redist) Loading required package: redistmetrics Attaching package: 'redist' The following object is masked from 'package:stats': filter > > test_check("redist") -- redist_flip() --------------------------------------------------------------- -- Automated Redistricting Simulation Using Markov Chain Monte Carlo -- i Preprocessing data. i Starting swMH(). >------------------------------ 1% | ETA: 0s ==============================> 100% | ETA: 0s | MH Acceptance: 0.80 -- redist_flip() --------------------------------------------------------------- -- Automated Redistricting Simulation Using Markov Chain Monte Carlo -- i Preprocessing data. i Starting swMH(). -- redist_flip() --------------------------------------------------------------- -- Automated Redistricting Simulation Using Markov Chain Monte Carlo -- i Preprocessing data. i Starting swMH(). A <redist_plans> containing 927 sampled plans Plans matrix: int [1:25, 1:927] 1 2 2 2 2 1 1 3 1 3 ... # A tibble: 2,781 x 3 draw district total_pop * <fct> <int> <dbl> 1 1 1 54487 2 1 2 58845 3 1 3 61711 4 2 1 59971 5 2 2 58845 6 2 3 56227 7 3 1 58863 8 3 2 59953 9 3 3 56227 10 4 1 58025 # i 2,771 more rows Plans have 3 districts from a 25-unit map, and were drawn using Enumpart. Plans matrix: int [1:25, 1:927] 1 2 2 2 2 1 1 3 1 3 ... # A tibble: 2,781 x 3 draw district total_pop * <fct> <int> <dbl> 1 1 1 54487 2 1 2 58845 3 1 3 61711 4 2 1 59971 5 2 2 58845 6 2 3 56227 7 3 1 58863 8 3 2 59953 9 3 3 56227 10 4 1 58025 # i 2,771 more rows [ FAIL 1 | WARN 0 | SKIP 6 | PASS 104 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test_enumpart.R:2:1', 'test_ms.R:16:5', 'test_smc.R:40:5', 'test_smc.R:56:5', 'test_smc.R:78:5' • On Windows (1): 'test_ms.R:31:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_ms.R:56:5'): Parallel runs are reproducible ──────────────────── Error in `serverSocket(port = port)`: creation of server socket failed: port 11347 cannot be opened Backtrace: ▆ 1. └─redist::redist_mergesplit_parallel(...) at test_ms.R:56:5 2. └─parallel::makeCluster(...) 3. └─parallel::makePSOCKcluster(names = spec, ...) 4. └─base::serverSocket(port = port) [ FAIL 1 | WARN 0 | SKIP 6 | PASS 104 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64