CRAN Package Check Results for Package kmscv

Last updated on 2023-02-08 06:00:07 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.08 23.74 25.82 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 1.57 18.51 20.08 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 33.81 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 31.24 ERROR
r-devel-windows-x86_64 0.1.0 7.00 50.00 57.00 ERROR
r-patched-linux-x86_64 0.1.0 1.77 23.53 25.30 ERROR
r-release-linux-x86_64 0.1.0 2.05 23.87 25.92 ERROR
r-release-macos-arm64 0.1.0 16.00 OK
r-release-macos-x86_64 0.1.0 22.00 OK
r-release-windows-x86_64 0.1.0 7.00 55.00 62.00 OK
r-oldrel-macos-arm64 0.1.0 17.00 OK
r-oldrel-macos-x86_64 0.1.0 22.00 OK
r-oldrel-windows-ix86+x86_64 0.1.0 7.00 50.00 57.00 ERROR

Check Details

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘kmscv-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: kms_cv
    > ### Title: K-Means Based Cross-Validation
    > ### Aliases: kms_cv
    >
    > ### ** Examples
    >
    > library(kmscv)
    >
    > kms_cv(iris,k = 5,centers = NULL,max_center = 20,alpha = .1,seed = 1)
    Warning in kms_cv(iris, k = 5, centers = NULL, max_center = 20, alpha = 0.1, :
     Dropping 1 columns, numerics are used only.
    Error in `map2()`:
    ℹ In index: 1.
    Caused by error in `dplyr::slice_sample()`:
    ! `n` must be a round number, not the number 7.6.
    Backtrace:
     ▆
     1. └─kmscv::kms_cv(...)
     2. └─purrr::map2_dfr(...)
     3. └─purrr::map2(.x, .y, .f, ...)
     4. └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     5. ├─purrr:::with_indexed_errors(...)
     6. │ └─base::withCallingHandlers(...)
     7. ├─purrr:::call_with_cleanup(...)
     8. └─kmscv (local) .f(.x[[i]], .y[[i]], ...)
     9. ├─dplyr::slice_sample(.x, n = .y)
     10. └─dplyr:::slice_sample.data.frame(.x, n = .y)
     11. └─dplyr:::get_slice_size(n = n, prop = prop, allow_outsize = replace)
     12. └─dplyr:::check_slice_n_prop(n, prop, error_call = error_call)
     13. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘kmscv-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: kms_cv
    > ### Title: K-Means Based Cross-Validation
    > ### Aliases: kms_cv
    >
    > ### ** Examples
    >
    > library(kmscv)
    >
    > kms_cv(iris,k = 5,centers = NULL,max_center = 20,alpha = .1,seed = 1)
    Warning in kms_cv(iris, k = 5, centers = NULL, max_center = 20, alpha = 0.1, :
     Dropping 1 columns, numerics are used only.
    Error in `map2()`:
    ℹ In index: 1.
    Caused by error in `dplyr::slice_sample()`:
    ! `n` must be a round number, not the number 7.6.
    Backtrace:
     ▆
     1. └─kmscv::kms_cv(...)
     2. └─purrr::map2_dfr(...)
     3. └─purrr::map2(.x, .y, .f, ...)
     4. └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     5. ├─purrr:::with_indexed_errors(...)
     6. │ └─base::withCallingHandlers(...)
     7. ├─purrr:::call_with_cleanup(...)
     8. └─kmscv (local) .f(.x[[i]], .y[[i]], ...)
     9. ├─dplyr::slice_sample(.x, n = .y)
     10. └─dplyr:::slice_sample.data.frame(.x, n = .y)
     11. └─dplyr:::get_slice_size(n = n, prop = prop, allow_outsize = replace)
     12. └─dplyr:::check_slice_n_prop(n, prop, error_call = error_call)
     13. └─rlang::abort(...)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in 'kmscv-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: kms_cv
    > ### Title: K-Means Based Cross-Validation
    > ### Aliases: kms_cv
    >
    > ### ** Examples
    >
    > library(kmscv)
    >
    > kms_cv(iris,k = 5,centers = NULL,max_center = 20,alpha = .1,seed = 1)
    Warning in kms_cv(iris, k = 5, centers = NULL, max_center = 20, alpha = 0.1, :
     Dropping 1 columns, numerics are used only.
    Error in `map2()`:
    i In index: 1.
    Caused by error in `dplyr::slice_sample()`:
    ! `n` must be a round number, not the number 7.6.
    Backtrace:
     x
     1. \-kmscv::kms_cv(...)
     2. \-purrr::map2_dfr(...)
     3. \-purrr::map2(.x, .y, .f, ...)
     4. \-purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress)
     5. +-purrr:::with_indexed_errors(...)
     6. | \-base::withCallingHandlers(...)
     7. +-purrr:::call_with_cleanup(...)
     8. \-kmscv (local) .f(.x[[i]], .y[[i]], ...)
     9. +-dplyr::slice_sample(.x, n = .y)
     10. \-dplyr:::slice_sample.data.frame(.x, n = .y)
     11. \-dplyr:::get_slice_size(n = n, prop = prop, allow_outsize = replace)
     12. \-dplyr:::check_slice_n_prop(n, prop, error_call = error_call)
     13. \-rlang::abort(...)
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64