CRAN Package Check Results for Package eiCompare

Last updated on 2021-04-11 15:46:47 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.0 20.02 523.26 543.28 OK
r-devel-linux-x86_64-debian-gcc 3.0.0 16.38 363.95 380.33 OK
r-devel-linux-x86_64-fedora-clang 3.0.0 667.34 OK
r-devel-linux-x86_64-fedora-gcc 3.0.0 643.44 OK
r-devel-windows-ix86+x86_64 3.0.0 36.00 453.00 489.00 OK
r-devel-windows-x86_64-gcc10-UCRT 3.0.0 OK
r-patched-linux-x86_64 3.0.0 18.14 479.53 497.67 OK
r-patched-solaris-x86 3.0.0 881.50 NOTE
r-release-linux-x86_64 3.0.0 17.61 479.95 497.56 OK
r-release-macos-x86_64 3.0.0 OK
r-release-windows-ix86+x86_64 3.0.0 48.00 653.00 701.00 OK
r-oldrel-macos-x86_64 3.0.0 ERROR
r-oldrel-windows-ix86+x86_64 3.0.0 40.00 624.00 664.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:
     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")
     == 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