Package required but not available: ‘parsnip’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
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
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
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
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
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
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
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
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