CRAN Package Check Results for Package redist

Last updated on 2021-04-21 07:47:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.1 455.36 422.56 877.92 OK
r-devel-linux-x86_64-debian-gcc 3.0.1 306.27 309.31 615.58 OK
r-devel-linux-x86_64-fedora-clang 3.0.1 1204.64 NOTE
r-devel-linux-x86_64-fedora-gcc 3.0.1 1050.36 OK
r-devel-windows-ix86+x86_64 3.0.1 784.00 492.00 1276.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 3.0.1 OK
r-patched-linux-x86_64 3.0.1 373.88 387.85 761.73 OK
r-patched-solaris-x86 3.0.1 199.50 ERROR
r-release-linux-x86_64 3.0.1 355.82 389.66 745.48 OK
r-release-macos-x86_64 3.0.1 NOTE
r-release-windows-ix86+x86_64 3.0.1 1029.00 616.00 1645.00 NOTE
r-oldrel-macos-x86_64 3.0.1 ERROR
r-oldrel-windows-ix86+x86_64 3.0.1 828.00 672.00 1500.00 ERROR

Additional issues

clang-UBSAN

Check Details

Version: 3.0.1
Check: installed package size
Result: NOTE
     installed size is 17.5Mb
     sub-directories of 1Mb or more:
     libs 14.0Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 3.0.1
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-patched-solaris-x86

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

Version: 3.0.1
Check: examples
Result: ERROR
    Running examples in ‘redist-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: compare_plans
    > ### Title: Make a comparison between two sets of plans
    > ### Aliases: compare_plans
    >
    > ### ** Examples
    >
    > data(iowa)
    > iowa_map = redist_map(iowa, ndists=4, pop_tol=0.05)
    OGR: Corrupt data
    Error in CPL_crs_parameters(x) : OGR error
    Calls: redist_map ... <Anonymous> -> crs_parameters -> CPL_crs_parameters
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 3.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     4. └─sf:::crs_parameters(crs)
     5. └─sf:::CPL_crs_parameters(x)
     ── Error (test_smc.R:12:5): County constraint works ────────────────────────────
     Error: OGR error
     Backtrace:
     █
     1. └─redist::redist_map(iowa, ndists = 4, pop_tol = 0.05) test_smc.R:12:4
     2. ├─base::isTRUE(sf::st_is_longlat(sf::st_geometry(x)))
     3. └─sf::st_is_longlat(sf::st_geometry(x))
     4. └─sf:::crs_parameters(crs)
     5. └─sf:::CPL_crs_parameters(x)
    
     [ FAIL 22 | WARN 1 | SKIP 3 | PASS 44 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 3.0.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘glossary.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Quitting from lines 20-23 (glossary.Rmd)
    Error: processing vignette 'glossary.Rmd' failed with diagnostics:
    OGR error
    --- failed re-building ‘glossary.Rmd’
    
    --- re-building ‘map-preproc.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    
    Attaching package: 'redist'
    
    The following object is masked from 'package:stats':
    
     filter
    
    trying URL 'https://github.com/CoryMcCartan/redist-data/raw/main/data/king_county.rds'
    Content type 'application/octet-stream' length 200516 bytes (195 KB)
    ==================================================
    downloaded 195 KB
    
    Quitting from lines 74-86 (map-preproc.Rmd)
    Error: processing vignette 'map-preproc.Rmd' failed with diagnostics:
    OGRCreateCoordinateTransformation() returned NULL: PROJ available?
    --- failed re-building ‘map-preproc.Rmd’
    
    --- re-building ‘mcmc.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'redist'
    
    The following object is masked from 'package:stats':
    
     filter
    
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Quitting from lines 43-52 (mcmc.Rmd)
    Error: processing vignette 'mcmc.Rmd' failed with diagnostics:
    OGR error
    --- failed re-building ‘mcmc.Rmd’
    
    --- re-building ‘mpi-slurm.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘mpi-slurm.Rmd’
    
    --- re-building ‘redist.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'redist'
    
    The following object is masked from 'package:stats':
    
     filter
    
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Quitting from lines 111-113 (redist.Rmd)
    Error: processing vignette 'redist.Rmd' failed with diagnostics:
    OGR error
    --- failed re-building ‘redist.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘glossary.Rmd’ ‘map-preproc.Rmd’ ‘mcmc.Rmd’ ‘redist.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 3.0.1
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [21s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(redist)
    
     Attaching package: 'redist'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("redist")
     Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
     Linking to liblwgeom 3.0.0beta1 r16016, GEOS 3.9.0, PROJ 7.2.1
     `pop_tol` calculated from existing plan is = 0.1%
     Projecting to CRS 3857
     Projecting to CRS 3857
    
     ====================
     redist.mcmc(): Automated Redistricting Simulation Using
     Markov Chain Monte Carlo
    
     Preprocessing data.
    
     Starting swMH().
     10 percent done.
     Metropolis acceptance ratio: nan
    
     20 percent done.
     Metropolis acceptance ratio: 1
    
     30 percent done.
     Metropolis acceptance ratio: 1
    
     40 percent done.
     Metropolis acceptance ratio: 1
    
     50 percent done.
     Metropolis acceptance ratio: 1
    
     60 percent done.
     Metropolis acceptance ratio: 0.8
    
     70 percent done.
     Metropolis acceptance ratio: 0.666667
    
     80 percent done.
     Metropolis acceptance ratio: 0.714286
    
     90 percent done.
     Metropolis acceptance ratio: 0.75
    
     100 percent done.
     Metropolis acceptance ratio: 0.666667
    
    
     ====================
     redist.mcmc(): Automated Redistricting Simulation Using
     Markov Chain Monte Carlo
    
     Preprocessing data.
    
     Starting swMH().
     10 percent done.
     Metropolis acceptance ratio: inf
    
     20 percent done.
     Metropolis acceptance ratio: 1
    
     30 percent done.
     Metropolis acceptance ratio: 0.5
    
     40 percent done.
     Metropolis acceptance ratio: 0.333333
    
     50 percent done.
     Metropolis acceptance ratio: 0.25
    
     60 percent done.
     Metropolis acceptance ratio: 0.4
    
     70 percent done.
     Metropolis acceptance ratio: 0.333333
    
     80 percent done.
     Metropolis acceptance ratio: 0.285714
    
     90 percent done.
     Metropolis acceptance ratio: 0.25
    
     100 percent done.
     Metropolis acceptance ratio: 0.222222
    
     MARKOV CHAIN MONTE CARLO
     Sampling 10 25-unit maps with 3 districts and population between 52512.9 and 64182.4.
     Acceptance rate: 90.0%.
     `pop_tol` calculated from existing plan is = 0.1%
     `pop_tol` calculated from existing plan is = 0.1%
     Projecting to CRS 3857
     Projecting to CRS 3857
     Projecting to CRS 3857
     Projecting to CRS 3857
     == Skipped tests ===============================================================
     * On CRAN (3)
    
     == Failed tests ================================================================
     -- Failure (test-skinny-flips.R:10:3): skinny flips works ----------------------
     class(plans)[1] == "matrix" & class(plans)[2] == "array" is not TRUE
    
     `actual`: <NA>
     `expected`: TRUE
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 96 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 3.0.1
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [21s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(redist)
    
     Attaching package: 'redist'
    
     The following object is masked from 'package:stats':
    
     filter
    
     >
     > test_check("redist")
     Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1
     Linking to liblwgeom 3.0.0beta1 r16016, GEOS 3.9.0, PROJ 7.2.1
     `pop_tol` calculated from existing plan is = 0.1%
     Projecting to CRS 3857
     Projecting to CRS 3857
    
     ====================
     redist.mcmc(): Automated Redistricting Simulation Using
     Markov Chain Monte Carlo
    
     Preprocessing data.
    
     Starting swMH().
     10 percent done.
     Metropolis acceptance ratio: nan
    
     20 percent done.
     Metropolis acceptance ratio: 1
    
     30 percent done.
     Metropolis acceptance ratio: 1
    
     40 percent done.
     Metropolis acceptance ratio: 1
    
     50 percent done.
     Metropolis acceptance ratio: 1
    
     60 percent done.
     Metropolis acceptance ratio: 0.8
    
     70 percent done.
     Metropolis acceptance ratio: 0.666667
    
     80 percent done.
     Metropolis acceptance ratio: 0.714286
    
     90 percent done.
     Metropolis acceptance ratio: 0.75
    
     100 percent done.
     Metropolis acceptance ratio: 0.666667
    
    
     ====================
     redist.mcmc(): Automated Redistricting Simulation Using
     Markov Chain Monte Carlo
    
     Preprocessing data.
    
     Starting swMH().
     10 percent done.
     Metropolis acceptance ratio: inf
    
     20 percent done.
     Metropolis acceptance ratio: 1
    
     30 percent done.
     Metropolis acceptance ratio: 0.5
    
     40 percent done.
     Metropolis acceptance ratio: 0.333333
    
     50 percent done.
     Metropolis acceptance ratio: 0.25
    
     60 percent done.
     Metropolis acceptance ratio: 0.4
    
     70 percent done.
     Metropolis acceptance ratio: 0.333333
    
     80 percent done.
     Metropolis acceptance ratio: 0.285714
    
     90 percent done.
     Metropolis acceptance ratio: 0.25
    
     100 percent done.
     Metropolis acceptance ratio: 0.222222
    
     MARKOV CHAIN MONTE CARLO
     Sampling 10 25-unit maps with 3 districts and population between 52512.9 and 64182.4.
     Acceptance rate: 90.0%.
     `pop_tol` calculated from existing plan is = 0.1%
     `pop_tol` calculated from existing plan is = 0.1%
     Projecting to CRS 3857
     Projecting to CRS 3857
     Projecting to CRS 3857
     Projecting to CRS 3857
     == Skipped tests ===============================================================
     * On CRAN (3)
    
     == Failed tests ================================================================
     -- Failure (test-skinny-flips.R:10:3): skinny flips works ----------------------
     class(plans)[1] == "matrix" & class(plans)[2] == "array" is not TRUE
    
     `actual`: <NA>
     `expected`: TRUE
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 96 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64