CRAN Package Check Results for Package sortinghat

Last updated on 2019-03-22 11:53:18 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 3.23 42.56 45.79 ERROR
r-devel-linux-x86_64-debian-gcc 0.1 2.95 32.60 35.55 ERROR
r-devel-linux-x86_64-fedora-clang 0.1 53.84 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1 56.28 ERROR
r-devel-windows-ix86+x86_64 0.1 10.00 67.00 77.00 ERROR
r-patched-linux-x86_64 0.1 2.28 39.92 42.20 NOTE
r-patched-solaris-x86 0.1 76.40 NOTE
r-release-linux-x86_64 0.1 2.07 39.93 42.00 NOTE
r-release-windows-ix86+x86_64 0.1 8.00 68.00 76.00 NOTE
r-release-osx-x86_64 0.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1 5.00 78.00 83.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/9s]
    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/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-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
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1
Check: tests
Result: ERROR
     Running ‘run-all.R’ [9s/10s]
    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-fedora-gcc

Version: 0.1
Check: tests
Result: ERROR
     Running 'run-all.R' [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-windows-ix86+x86_64