CRAN Package Check Results for Package eiCompare

Last updated on 2021-01-17 09:48:31 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.0 21.77 498.30 520.07 OK
r-devel-linux-x86_64-debian-gcc 3.0.0 18.31 339.64 357.95 OK
r-devel-linux-x86_64-fedora-clang 3.0.0 666.76 OK
r-devel-linux-x86_64-fedora-gcc 3.0.0 647.86 OK
r-devel-windows-ix86+x86_64 3.0.0 34.00 580.00 614.00 OK
r-patched-linux-x86_64 3.0.0 18.66 541.53 560.19 OK
r-patched-solaris-x86 3.0.0 878.70 NOTE
r-release-linux-x86_64 3.0.0 19.99 512.65 532.64 OK
r-release-macos-x86_64 3.0.0 OK
r-release-windows-ix86+x86_64 3.0.0 42.00 426.00 468.00 OK
r-oldrel-macos-x86_64 3.0.0 ERROR
r-oldrel-windows-ix86+x86_64 3.0.0 43.00 504.00 547.00 ERROR

Additional issues

OpenBLAS

Check Details

Version: 3.0.0
Check: installed package size
Result: NOTE
     installed size is 5.4Mb
     sub-directories of 1Mb or more:
     doc 4.2Mb
Flavor: r-patched-solaris-x86

Version: 3.0.0
Check: R code for possible problems
Result: NOTE
    ei_est_gen: no visible global function definition for ‘plot’
    ei_iter: no visible global function definition for ‘plot’
    ei_rxc: no visible global function definition for ‘plot’
    lambda_two_compare: no visible global function definition for ‘plot’
    Undefined global functions or variables:
     plot
    Consider adding
     importFrom("graphics", "plot")
    to your NAMESPACE file.
Flavors: r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 3.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/6s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     Component "Pct_NonWhite": Attributes: < target is NULL, current is list >
     Component "Pct_NonWhite": target is character, current is factor
     ── Failure (test_surname_utils.R:57:3): Surname utility functions work correctly. ──
     `stripped_special_characters` not equal to `expected_stripped_voter_file`.
     Component "surname": Modes: character, numeric
     Component "surname": Attributes: < target is NULL, current is list >
     Component "surname": target is character, current is factor
     ── Failure (test_surname_utils.R:75:3): Surname utility functions work correctly. ──
     `multi_barreled_surnames` not equal to `expected_multi_surnames`.
     Component "surname": Attributes: < Component "levels": Lengths (7, 4) differ (string compare on first 4) >
     Component "surname": Attributes: < Component "levels": 2 string mismatches >
    
     [ FAIL 4 | WARN 8 | SKIP 0 | PASS 77 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 3.0.0
Check: tests
Result: ERROR
     Running 'testthat.R' [9s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(eiCompare)
     Loading required package: eiPack
     Loading required package: ei
     Loading required package: wru
     >
     > test_check("eiCompare")
     == Warnings ====================================================================
     -- Warning (test_fips_extract.R:18:3): FIPS extractor correctly splits codes of various lengths. --
     invalid factor level, NA generated
     Backtrace:
     1. eiCompare::fips_extract(df = fips_codes, fips_col = "fips", geo = NULL) test_fips_extract.R:18:2
     3. tidyr:::replace_na.default(df[[fips_col]], "")
     5. base::`[<-.factor`(`*tmp*`, !is_complete(data), value = "")
     -- Warning (test_fips_extract.R:71:3): FIPS extractor correctly handles geographic unit argument. --
     invalid factor level, NA generated
     Backtrace:
     1. eiCompare::fips_extract(df = fips_codes, fips_col = "fips", geo = geo) test_fips_extract.R:71:2
     3. tidyr:::replace_na.default(df[[fips_col]], "")
     5. base::`[<-.factor`(`*tmp*`, !is_complete(data), value = "")
     -- Warning (test_fips_extract.R:88:3): FIPS extractor correctly handles geographic unit argument. --
     invalid factor level, NA generated
     Backtrace:
     1. eiCompare::fips_extract(df = fips_codes, fips_col = "fips", geo = geo) test_fips_extract.R:88:2
     3. tidyr:::replace_na.default(df[[fips_col]], "")
     5. base::`[<-.factor`(`*tmp*`, !is_complete(data), value = "")
     -- Warning (test_fips_extract.R:104:3): FIPS extractor correctly handles geographic unit argument. --
     invalid factor level, NA generated
     Backtrace:
     1. eiCompare::fips_extract(df = fips_codes, fips_col = "fips", geo = geo) test_fips_extract.R:104:2
     3. tidyr:::replace_na.default(df[[fips_col]], "")
     5. base::`[<-.factor`(`*tmp*`, !is_complete(data), value = "")
     -- Warning (test_fips_extract.R:117:3): FIPS extractor correctly handles geographic unit argument. --
     invalid factor level, NA generated
     Backtrace:
     1. testthat::expect_error(...) test_fips_extract.R:117:2
     6. eiCompare::fips_extract(df = fips_codes, fips_col = "fips", geo = geo)
     8. tidyr:::replace_na.default(df[[fips_col]], "")
     10. base::`[<-.factor`(`*tmp*`, !is_complete(data), value = "")
     -- Warning (test_fips_extract.R:127:3): FIPS extractor correctly handles geographic unit argument. --
     invalid factor level, NA generated
     Backtrace:
     1. testthat::expect_error(...) test_fips_extract.R:127:2
     6. eiCompare::fips_extract(df = fips_codes, fips_col = "fips", geo = geo)
     8. tidyr:::replace_na.default(df[[fips_col]], "")
     10. base::`[<-.factor`(`*tmp*`, !is_complete(data), value = "")
     -- Warning (test_fips_extract.R:151:3): FIPS extractor uses first column when no column is provided. --
     invalid factor level, NA generated
     Backtrace:
     1. eiCompare::fips_extract(df = fips_codes, fips_col = NULL, geo = NULL) test_fips_extract.R:151:2
     3. tidyr:::replace_na.default(df[[fips_col]], "")
     5. base::`[<-.factor`(`*tmp*`, !is_complete(data), value = "")
     -- Warning (test_fips_extract.R:178:3): FIPS extractor throws an error for incorrect FIPS length. --
     invalid factor level, NA generated
     Backtrace:
     1. testthat::expect_error(...) test_fips_extract.R:178:2
     6. eiCompare::fips_extract(df = fips_codes, fips_col = "fips", geo = geo)
     8. tidyr:::replace_na.default(df[[fips_col]], "")
     10. base::`[<-.factor`(`*tmp*`, !is_complete(data), value = "")
    
     == Failed tests ================================================================
     -- Failure (test_ei_utility.R:28:3): ei results table mungs results correctly --
     `output` not equal to `expected`.
     Component "Candidate": Modes: character, numeric
     Component "Candidate": Attributes: < target is NULL, current is list >
     Component "Candidate": target is character, current is factor
     -- Failure (test_elect_algebra.R:22:5): elect_algebra outputs correctly --------
     `output` not equal to `expected`.
     Component "Pct_White": Modes: character, numeric
     Component "Pct_White": Attributes: < target is NULL, current is list >
     Component "Pct_White": target is character, current is factor
     Component "Pct_NonWhite": Modes: character, numeric
     Component "Pct_NonWhite": Attributes: < target is NULL, current is list >
     Component "Pct_NonWhite": target is character, current is factor
     -- Failure (test_surname_utils.R:57:3): Surname utility functions work correctly. --
     `stripped_special_characters` not equal to `expected_stripped_voter_file`.
     Component "surname": Modes: character, numeric
     Component "surname": Attributes: < target is NULL, current is list >
     Component "surname": target is character, current is factor
     -- Failure (test_surname_utils.R:75:3): Surname utility functions work correctly. --
     `multi_barreled_surnames` not equal to `expected_multi_surnames`.
     Component "surname": Attributes: < Component "levels": Lengths (7, 4) differ (string compare on first 4) >
     Component "surname": Attributes: < Component "levels": 2 string mismatches >
    
     [ FAIL 4 | WARN 8 | SKIP 0 | PASS 77 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64