R Under development (unstable) (2024-01-11 r85801 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > 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 ===================>----------- 62% | ETA: 0s | MH Acceptance: 0.82 ==============================> 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 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 * 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 * 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 0 | WARN 0 | SKIP 6 | PASS 105 ] ══ 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' [ FAIL 0 | WARN 0 | SKIP 6 | PASS 105 ] > > proc.time() user system elapsed 6.73 0.54 11.68