CRAN Package Check Results for Package eiCompare

Last updated on 2020-12-04 00:48:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.0 20.72 457.51 478.23 OK
r-devel-linux-x86_64-debian-gcc 3.0.0 17.12 361.49 378.61 OK
r-devel-linux-x86_64-fedora-clang 3.0.0 657.35 OK
r-devel-linux-x86_64-fedora-gcc 3.0.0 624.87 OK
r-devel-windows-ix86+x86_64 3.0.0 46.00 579.00 625.00 OK
r-patched-linux-x86_64 3.0.0 19.82 525.42 545.24 OK
r-patched-solaris-x86 3.0.0 903.40 NOTE
r-release-linux-x86_64 3.0.0 19.22 454.24 473.46 OK
r-release-macos-x86_64 3.0.0 OK
r-release-windows-ix86+x86_64 3.0.0 33.00 455.00 488.00 OK
r-oldrel-macos-x86_64 3.0.0 ERROR
r-oldrel-windows-ix86+x86_64 3.0.0 40.00 640.00 680.00 ERROR

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:
     FAILURE (test_elect_algebra.R:22:5): elect_algebra outputs correctly
     Warning (test_fips_extract.R:18:3): FIPS extractor correctly splits codes of various lengths.
     Warning (test_fips_extract.R:71:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:88:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:104:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:117:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:127:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:151:3): FIPS extractor uses first column when no column is provided.
     Warning (test_fips_extract.R:178:3): FIPS extractor throws an error for incorrect FIPS length.
     FAILURE (test_surname_utils.R:57:3): Surname utility functions work correctly.
     FAILURE (test_surname_utils.R:75:3): Surname utility functions work correctly.
    
     [ 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")
     -- 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
    
     -- Warning (test_fips_extract.R:18:3): FIPS extractor correctly splits codes of
     invalid factor level, NA generated
    
     -- Warning (test_fips_extract.R:71:3): FIPS extractor correctly handles geograph
     invalid factor level, NA generated
    
     -- Warning (test_fips_extract.R:88:3): FIPS extractor correctly handles geograph
     invalid factor level, NA generated
    
     -- Warning (test_fips_extract.R:104:3): FIPS extractor correctly handles geograp
     invalid factor level, NA generated
    
     -- Warning (test_fips_extract.R:117:3): FIPS extractor correctly handles geograp
     invalid factor level, NA generated
    
     -- Warning (test_fips_extract.R:127:3): FIPS extractor correctly handles geograp
     invalid factor level, NA generated
    
     -- Warning (test_fips_extract.R:151:3): FIPS extractor uses first column when no
     invalid factor level, NA generated
    
     -- Warning (test_fips_extract.R:178:3): FIPS extractor throws an error for incor
     invalid factor level, NA generated
    
     -- 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 >
    
     == testthat results ===========================================================
     FAILURE (test_ei_utility.R:28:3): ei results table mungs results correctly
     FAILURE (test_elect_algebra.R:22:5): elect_algebra outputs correctly
     Warning (test_fips_extract.R:18:3): FIPS extractor correctly splits codes of various lengths.
     Warning (test_fips_extract.R:71:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:88:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:104:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:117:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:127:3): FIPS extractor correctly handles geographic unit argument.
     Warning (test_fips_extract.R:151:3): FIPS extractor uses first column when no column is provided.
     Warning (test_fips_extract.R:178:3): FIPS extractor throws an error for incorrect FIPS length.
     FAILURE (test_surname_utils.R:57:3): Surname utility functions work correctly.
     FAILURE (test_surname_utils.R:75:3): Surname utility functions work correctly.
    
     [ FAIL 4 | WARN 8 | SKIP 0 | PASS 77 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64