CRAN Package Check Results for Package discrim

Last updated on 2021-07-27 11:50:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.3 7.59 120.63 128.22 OK
r-devel-linux-x86_64-debian-gcc 0.1.3 6.27 89.92 96.19 OK
r-devel-linux-x86_64-fedora-clang 0.1.3 157.89 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.3 143.88 NOTE
r-devel-windows-x86_64 0.1.3 11.00 146.00 157.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.1.2 OK
r-patched-linux-x86_64 0.1.3 15.97 110.76 126.73 OK
r-patched-solaris-x86 0.1.3 165.80 NOTE
r-release-linux-x86_64 0.1.3 6.09 112.38 118.47 OK
r-release-macos-arm64 0.1.3 NOTE
r-release-macos-x86_64 0.1.3 NOTE
r-release-windows-ix86+x86_64 0.1.3 17.00 115.00 132.00 OK
r-oldrel-macos-x86_64 0.1.3 NOTE
r-oldrel-windows-ix86+x86_64 0.1.2 11.00 121.00 132.00 ERROR

Check Details

Version: 0.1.3
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘utils’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.2
Check: tests
Result: ERROR
     Running 'spelling.R' [0s]
     Running 'testthat.R' [22s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(discrim)
     Loading required package: parsnip
     >
     > test_check("discrim")
     == Failed tests ================================================================
     -- Failure (test-flexible.R:106:3): api errors ---------------------------------
     `discrim_flexible() %>% set_engine("monday")` threw an error with unexpected message.
     Expected match: "Available engines are: 'earth'"
     Actual message: "Engine 'monday' is not supported for `discrim_flexible()`. See `show_engines('discrim_flexible')`."
     Backtrace:
     x
     1. +-testthat::expect_error(...) test-flexible.R:106:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. +-discrim_flexible() %>% set_engine("monday")
     7. \-parsnip::set_engine(., "monday")
     8. \-parsnip:::check_spec_mode_engine_val(...)
     -- Failure (test-linear-fda.R:107:3): api errors -------------------------------
     `discrim_linear() %>% set_engine("monday")` threw an error with unexpected message.
     Expected match: "Available engines are: 'MASS', 'mda'"
     Actual message: "Engine 'monday' is not supported for `discrim_linear()`. See `show_engines('discrim_linear')`."
     Backtrace:
     x
     1. +-testthat::expect_error(...) test-linear-fda.R:107:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. +-discrim_linear() %>% set_engine("monday")
     7. \-parsnip::set_engine(., "monday")
     8. \-parsnip:::check_spec_mode_engine_val(...)
     -- Failure (test-linear-lda.R:132:3): api errors -------------------------------
     `discrim_linear() %>% set_engine("lda")` threw an error with unexpected message.
     Expected match: "Available engines are: 'MASS', 'mda'"
     Actual message: "Engine 'lda' is not supported for `discrim_linear()`. See `show_engines('discrim_linear')`."
     Backtrace:
     x
     1. +-testthat::expect_error(...) test-linear-lda.R:132:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. +-discrim_linear() %>% set_engine("lda")
     7. \-parsnip::set_engine(., "lda")
     8. \-parsnip:::check_spec_mode_engine_val(...)
     -- Failure (test-naive-Bayes.R:190:3): api errors ------------------------------
     `naive_Bayes() %>% set_engine("lda")` threw an error with unexpected message.
     Expected match: "Available engines are: 'klaR', 'naivebayes'"
     Actual message: "Engine 'lda' is not supported for `naive_Bayes()`. See `show_engines('naive_Bayes')`."
     Backtrace:
     x
     1. +-testthat::expect_error(naive_Bayes() %>% set_engine("lda"), regexp = "Available engines are: 'klaR', 'naivebayes'") test-naive-Bayes.R:190:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. +-naive_Bayes() %>% set_engine("lda")
     7. \-parsnip::set_engine(., "lda")
     8. \-parsnip:::check_spec_mode_engine_val(...)
     -- Failure (test-naive-Bayes_naivebayes.R:192:3): api errors -------------------
     `naive_Bayes() %>% set_engine("lda")` threw an error with unexpected message.
     Expected match: "Available engines are: 'klaR', 'naivebayes'"
     Actual message: "Engine 'lda' is not supported for `naive_Bayes()`. See `show_engines('naive_Bayes')`."
     Backtrace:
     x
     1. +-testthat::expect_error(naive_Bayes() %>% set_engine("lda"), "Available engines are: 'klaR', 'naivebayes'") test-naive-Bayes_naivebayes.R:192:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. +-naive_Bayes() %>% set_engine("lda")
     7. \-parsnip::set_engine(., "lda")
     8. \-parsnip:::check_spec_mode_engine_val(...)
     -- Failure (test-quad-qda.R:143:3): api errors ---------------------------------
     `discrim_quad() %>% set_engine("qda")` threw an error with unexpected message.
     Expected match: "Available engines are: 'MASS'"
     Actual message: "Engine 'qda' is not supported for `discrim_quad()`. See `show_engines('discrim_quad')`."
     Backtrace:
     x
     1. +-testthat::expect_error(...) test-quad-qda.R:143:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. +-discrim_quad() %>% set_engine("qda")
     7. \-parsnip::set_engine(., "qda")
     8. \-parsnip:::check_spec_mode_engine_val(...)
     -- Failure (test-rda.R:108:3): api errors --------------------------------------
     `discrim_regularized() %>% set_engine("monday")` threw an error with unexpected message.
     Expected match: "Available engines are: 'klaR'"
     Actual message: "Engine 'monday' is not supported for `discrim_regularized()`. See `show_engines('discrim_regularized')`."
     Backtrace:
     x
     1. +-testthat::expect_error(...) test-rda.R:108:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. +-discrim_regularized() %>% set_engine("monday")
     7. \-parsnip::set_engine(., "monday")
     8. \-parsnip:::check_spec_mode_engine_val(...)
    
     [ FAIL 7 | WARN 0 | SKIP 0 | PASS 676 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64