Last updated on 2025-05-07 11:55:40 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 4.2.0 | 311.35 | 237.18 | 548.53 | NOTE | |
r-devel-linux-x86_64-debian-gcc | 4.2.0 | 219.10 | 164.27 | 383.37 | NOTE | |
r-devel-linux-x86_64-fedora-clang | 4.2.0 | 1099.36 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 4.2.0 | 1068.13 | NOTE | |||
r-devel-windows-x86_64 | 4.2.0 | 340.00 | 284.00 | 624.00 | NOTE | |
r-patched-linux-x86_64 | 4.2.0 | 308.63 | 222.64 | 531.27 | ERROR | |
r-release-linux-x86_64 | 4.2.0 | 300.44 | 221.04 | 521.48 | NOTE | |
r-release-macos-arm64 | 4.2.0 | 220.00 | NOTE | |||
r-release-macos-x86_64 | 4.2.0 | 313.00 | NOTE | |||
r-release-windows-x86_64 | 4.2.0 | 344.00 | 286.00 | 630.00 | NOTE | |
r-oldrel-macos-arm64 | 4.2.0 | 221.00 | NOTE | |||
r-oldrel-macos-x86_64 | 4.2.0 | 260.00 | NOTE | |||
r-oldrel-windows-x86_64 | 4.2.0 | 401.00 | 369.00 | 770.00 | NOTE |
Version: 4.2.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Christopher T. Kenny <christopherkenny@fas.harvard.edu>’
The Description field contains
algorithms of Carter et al. (2019) <arXiv:1911.01503> and DeFord et al.
optimization algorithm of Cannon et al. (2020) <arXiv:2011.02288>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 4.2.0
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘redist.diagplot.Rd’ ‘redist.segcalc.Rd’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-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.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64
Version: 4.2.0
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [9s/31s]
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: 2s
==============================> 100% | ETA: 0s | MH Acceptance: 0.80
-- redist_flip() ---------------------------------------------------------------
-- Automated Redistricting Simulation Using Markov Chain Monte Carlo --
i Preprocessing data.
i Starting swMH().
===>--------------------------- 10% | ETA: 0s | MH Acceptance: 0.00
==============================> 100% | ETA: 0s | MH Acceptance: 0.70
-- 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 3 | PASS 94 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test_enumpart.R:2:1', 'test_ms.R:16:5'
• On Linux (1): 'test_smc.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_burst.R:55:5'): short bursts work with multiple scorers ──────
1 (`actual`) not equal to cor(attr(plans, "pareto_score"), method = "spearman")[1, 2] (`expected`).
`actual`: 1.0
`expected`: NA
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 4.2.0
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘Rmpi’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 4.2.0
Check: installed package size
Result: NOTE
installed size is 18.3Mb
sub-directories of 1Mb or more:
data 1.2Mb
libs 14.5Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64