CRAN Package Check Results for Package sortinghat

Last updated on 2019-04-22 07:47:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 3.72 42.00 45.72 ERROR
r-devel-linux-x86_64-debian-gcc 0.1 2.78 32.75 35.53 ERROR
r-devel-linux-x86_64-fedora-clang 0.1 53.93 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1 51.88 ERROR
r-devel-windows-ix86+x86_64 0.1 11.00 56.00 67.00 ERROR
r-patched-linux-x86_64 0.1 3.40 42.49 45.89 ERROR
r-patched-solaris-x86 0.1 78.60 ERROR
r-release-linux-x86_64 0.1 2.06 40.45 42.51 NOTE
r-release-windows-ix86+x86_64 0.1 5.00 73.00 78.00 NOTE
r-release-osx-x86_64 0.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1 4.00 72.00 76.00 NOTE
r-oldrel-osx-x86_64 0.1 NOTE

Check Details

Version: 0.1
Check: R code for possible problems
Result: NOTE
    simdata_contaminated : <anonymous>: no visible global function
     definition for 'rbinom'
    simdata_uniform : multivariate_uniform : <anonymous>: no visible global
     function definition for 'runif'
    which_min: no visible global function definition for 'head'
    which_min: no visible global function definition for 'tail'
    Undefined global functions or variables:
     head rbinom runif tail
    Consider adding
     importFrom("stats", "rbinom", "runif")
     importFrom("utils", "head", "tail")
    to your NAMESPACE file.
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-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.1
Check: tests
Result: ERROR
     Running 'run-all.R' [8s/8s]
    Running the tests in 'tests/run-all.R' failed.
    Complete output:
     > library('testthat')
     > library('sortinghat')
     >
     > test_package('sortinghat')
     -- 1. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00115
    
     -- 2. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00116
    
     -- 3. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0227 - 0.0221 == 0.000533
    
     -- 4. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.018 - 0.0187 == -0.000667
    
     -- 5. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0207 - 0.0228 == -0.00213
    
     -- 6. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.02 - 0.0267 == -0.00667
    
     -- 7. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0249 - 0.0231 == 0.00182
    
     == testthat results ===========================================================
     OK: 44 SKIPPED: 0 FAILED: 7
     1. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632.r#45)
     2. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632plus.r#45)
     3. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#23)
     4. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#34)
     5. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-boot.r#22)
     6. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-cv.r#22)
     7. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-loo-boot.r#22)
    
     Error: testthat unit tests failed
     In addition: Warning message:
     Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1
Check: tests
Result: ERROR
     Running ‘run-all.R’ [5s/7s]
    Running the tests in ‘tests/run-all.R’ failed.
    Complete output:
     > library('testthat')
     > library('sortinghat')
     >
     > test_package('sortinghat')
     ── 1. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00115
    
     ── 2. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00116
    
     ── 3. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0227 - 0.0221 == 0.000533
    
     ── 4. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.018 - 0.0187 == -0.000667
    
     ── 5. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0207 - 0.0228 == -0.00213
    
     ── 6. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.02 - 0.0267 == -0.00667
    
     ── 7. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0249 - 0.0231 == 0.00182
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 44 SKIPPED: 0 FAILED: 7
     1. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632.r#45)
     2. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632plus.r#45)
     3. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#23)
     4. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#34)
     5. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-boot.r#22)
     6. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-cv.r#22)
     7. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-loo-boot.r#22)
    
     Error: testthat unit tests failed
     In addition: Warning message:
     Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1
Check: tests
Result: ERROR
     Running ‘run-all.R’
    Running the tests in ‘tests/run-all.R’ failed.
    Complete output:
     > library('testthat')
     > library('sortinghat')
     >
     > test_package('sortinghat')
     ── 1. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00115
    
     ── 2. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00116
    
     ── 3. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0227 - 0.0221 == 0.000533
    
     ── 4. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.018 - 0.0187 == -0.000667
    
     ── 5. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0207 - 0.0228 == -0.00213
    
     ── 6. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.02 - 0.0267 == -0.00667
    
     ── 7. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0249 - 0.0231 == 0.00182
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 44 SKIPPED: 0 FAILED: 7
     1. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632.r#45)
     2. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632plus.r#45)
     3. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#23)
     4. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#34)
     5. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-boot.r#22)
     6. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-cv.r#22)
     7. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-loo-boot.r#22)
    
     Error: testthat unit tests failed
     In addition: Warning message:
     Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1
Check: tests
Result: ERROR
     Running 'run-all.R' [7s]
    Running the tests in 'tests/run-all.R' failed.
    Complete output:
     > library('testthat')
     > library('sortinghat')
     >
     > test_package('sortinghat')
     -- 1. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00115
    
     -- 2. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00116
    
     -- 3. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0227 - 0.0221 == 0.000533
    
     -- 4. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.018 - 0.0187 == -0.000667
    
     -- 5. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0207 - 0.0228 == -0.00213
    
     -- 6. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.02 - 0.0267 == -0.00667
    
     -- 7. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0249 - 0.0231 == 0.00182
    
     == testthat results ===========================================================
     OK: 44 SKIPPED: 0 FAILED: 7
     1. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632.r#45)
     2. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632plus.r#45)
     3. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#23)
     4. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#34)
     5. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-boot.r#22)
     6. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-cv.r#22)
     7. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-loo-boot.r#22)
    
     Error: testthat unit tests failed
     In addition: Warning message:
     Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.1
Check: tests
Result: ERROR
     Running ‘run-all.R’ [7s/8s]
    Running the tests in ‘tests/run-all.R’ failed.
    Complete output:
     > library('testthat')
     > library('sortinghat')
     >
     > test_package('sortinghat')
     ── 1. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00115
    
     ── 2. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00116
    
     ── 3. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0227 - 0.0221 == 0.000533
    
     ── 4. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.018 - 0.0187 == -0.000667
    
     ── 5. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0207 - 0.0228 == -0.00213
    
     ── 6. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.02 - 0.0267 == -0.00667
    
     ── 7. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0249 - 0.0231 == 0.00182
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 44 SKIPPED: 0 FAILED: 7
     1. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632.r#45)
     2. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632plus.r#45)
     3. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#23)
     4. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#34)
     5. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-boot.r#22)
     6. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-cv.r#22)
     7. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-loo-boot.r#22)
    
     Error: testthat unit tests failed
     In addition: Warning message:
     Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1
Check: tests
Result: ERROR
     Running ‘run-all.R’ [11s/15s]
    Running the tests in ‘tests/run-all.R’ failed.
    Complete output:
     > library('testthat')
     > library('sortinghat')
     >
     > test_package('sortinghat')
     ── 1. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00115
    
     ── 2. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `first_error` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0231 - 0.0219 == 0.00116
    
     ── 3. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0227 - 0.0221 == 0.000533
    
     ── 4. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.018 - 0.0187 == -0.000667
    
     ── 5. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0207 - 0.0228 == -0.00213
    
     ── 6. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.02 - 0.0267 == -0.00667
    
     ── 7. Failure: Error rate works correctly on the Iris data set using MASS:::lda
     `error_rate` not equal to `expected_estimate`.
     1/1 mismatches
     [1] 0.0249 - 0.0231 == 0.00182
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 44 SKIPPED: 0 FAILED: 7
     1. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632.r#45)
     2. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-632plus.r#45)
     3. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#23)
     4. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-bcv.r#34)
     5. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-boot.r#22)
     6. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-cv.r#22)
     7. Failure: Error rate works correctly on the Iris data set using MASS:::lda (@test-errorest-loo-boot.r#22)
    
     Error: testthat unit tests failed
     In addition: Warning message:
     Placing tests in `inst/tests` is deprecated. Please use `tests/testthat` instead
     Execution halted
Flavor: r-patched-solaris-x86