Running ‘testthat.R’ [183s/280s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(recipes)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'recipes'
  
  The following object is masked from 'package:stats':
  
      step
  
  > 
  > test_check("recipes")
  
  Attaching package: 'tidyselect'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  1 package (dimRed) is needed for this step but is not installed.
  To install run: `install.packages("dimRed")`
  1 package (dimRed) is needed for this step but is not installed.
  To install run: `install.packages("dimRed")`
  1 package (dimRed) is needed for this step but is not installed.
  To install run: `install.packages("dimRed")`
  1 package (dimRed) is needed for this step but is not installed.
  To install run: `install.packages("dimRed")`
  
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  1 package (mixOmics) is needed for this step but is not installed.
  To install run: `install.packages("mixOmics")`
  1 package (mixOmics) is needed for this step but is not installed.
  To install run: `install.packages("mixOmics")`
  1 package (mixOmics) is needed for this step but is not installed.
  To install run: `install.packages("mixOmics")`
  
  Attaching package: 'Matrix'
  
  The following objects are masked from 'package:tidyr':
  
      expand, pack, unpack
  
  [ FAIL 34 | WARN 0 | SKIP 395 | PASS 1848 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (370)
  • dimRed cannot be loaded (10)
  • mixOmics cannot be loaded (14)
  • redundant with check_new_data checks (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_data.frame.R:18:1'): (code run outside of `test_that()`) ───────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mean()`: Error in `step_impute_mean()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(training = sacr_tr) at test_data.frame.R:18:0
    2. ├─recipes::prep(., training = sacr_tr)
    3. ├─recipes:::prep.recipe(., training = sacr_tr)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_mean(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_harmonic.R:270:3'): harmonic NA in term ────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, 20, "time_var", value = `<lgl>`) at test_harmonic.R:270:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 20, "time_var", value = `<lgl>`) at test_harmonic.R:270:2
   3.   └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   4.     └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   5.       ├─base::withCallingHandlers(...)
   6.       └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_impute_bag.R:87:3'): All NA values ─────────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::bake(imputed, biomass %>% mutate(carbon = NA)) at test_impute_bag.R:87:2
    2. └─recipes:::bake.recipe(imputed, biomass %>% mutate(carbon = NA))
    3.   ├─recipes::bake(step, new_data = new_data)
    4.   └─recipes:::bake.step_impute_bag(step, new_data = new_data)
    5.     ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
    6.     └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
    7.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    8.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
    9.           ├─base::withCallingHandlers(...)
   10.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_impute_bag.R:129:3'): non-factor imputation ────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_bag()`: Error in `step_impute_bag()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(strings_as_factors = FALSE) at test_impute_bag.R:129:2
    2. ├─recipes::prep(., strings_as_factors = FALSE)
    3. ├─recipes:::prep.recipe(., strings_as_factors = FALSE)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_bag(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<fct>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<fct>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_knn.R:53:3'): imputation values ─────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::bake(impute_rec, new_data = biomass_te) at test_impute_knn.R:53:2
    2. └─recipes:::bake.recipe(impute_rec, new_data = biomass_te)
    3.   ├─recipes::bake(step, new_data = new_data)
    4.   └─recipes:::bake.step_impute_knn(step, new_data = new_data)
    5.     ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
    6.     └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
    7.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    8.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
    9.           ├─base::withCallingHandlers(...)
   10.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_impute_knn.R:98:3'): All NA values ─────────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::bake(imputed, biomass_te %>% mutate(carbon = NA)) at test_impute_knn.R:98:2
    2. └─recipes:::bake.recipe(imputed, biomass_te %>% mutate(carbon = NA))
    3.   ├─recipes::bake(step, new_data = new_data)
    4.   └─recipes:::bake.step_impute_knn(step, new_data = new_data)
    5.     ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
    6.     └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
    7.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
    8.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
    9.           ├─base::withCallingHandlers(...)
   10.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_impute_linear.R:18:3'): Does the imputation (no NAs), and does it correctly. ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_linear()`: Error in `step_impute_linear()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% .[missing_ind] at test_impute_linear.R:18:2
    2. ├─dplyr::pull(., Lot_Frontage)
    3. ├─recipes::bake(., new_data = NULL)
    4. ├─recipes::prep(., ames_dat)
    5. ├─recipes:::prep.recipe(., ames_dat)
    6. │ ├─recipes:::recipes_error_context(...)
    7. │ │ ├─base::withCallingHandlers(...)
    8. │ │ └─base::force(expr)
    9. │ ├─recipes::bake(x$steps[[i]], new_data = training)
   10. │ └─recipes:::bake.step_impute_linear(x$steps[[i]], new_data = training)
   11. │   ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   12. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   13. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   14. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   15. │         ├─base::withCallingHandlers(...)
   16. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   17. └─base::.handleSimpleError(...)
   18.   └─recipes (local) h(simpleError(msg, call))
   19.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   20.       └─recipes:::stop_recipes(...)
   21.         └─rlang::abort(...)
  ── Error ('test_impute_linear.R:34:3'): All NA values ──────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_linear()`: Error in `step_impute_linear()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(ames_dat) at test_impute_linear.R:34:2
    2. ├─recipes::prep(., ames_dat)
    3. ├─recipes:::prep.recipe(., ames_dat)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_linear(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_linear.R:50:3'): Returns correct models. ────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_linear()`: Error in `step_impute_linear()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(ames_dat) at test_impute_linear.R:50:2
    2. ├─recipes::prep(., ames_dat)
    3. ├─recipes:::prep.recipe(., ames_dat)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_linear(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_linear.R:78:3'): Maintain data type ─────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_linear()`: Error in `step_impute_linear()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep() at test_impute_linear.R:78:2
    2. ├─recipes::prep(.)
    3. ├─recipes:::prep.recipe(.)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_linear(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<int>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<int>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_linear.R:139:3'): case weights ──────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_linear()`: Error in `step_impute_linear()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(ames_dat_cw) at test_impute_linear.R:139:2
    2. ├─recipes::prep(., ames_dat_cw)
    3. ├─recipes:::prep.recipe(., ames_dat_cw)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_linear(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_linear.R:185:3'): bake method errors when needed non-standard role columns are missing ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_linear()`: Error in `step_impute_linear()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(ames_dat) at test_impute_linear.R:185:2
    2. ├─recipes::prep(., ames_dat)
    3. ├─recipes:::prep.recipe(., ames_dat)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_linear(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_rows, imp_var, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_mean.R:18:3'): simple mean ──────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mean()`: Error in `step_impute_mean()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_mean.R:18:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_mean(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_mean.R:66:3'): trimmed mean ─────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mean()`: Error in `step_impute_mean()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_mean.R:66:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_mean(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_mean.R:92:3'): all NA values ────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mean()`: Error in `step_impute_mean()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_mean.R:92:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_mean(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_mean.R:181:3'): case weights ────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mean()`: Error in `step_impute_mean()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep() at test_impute_mean.R:181:2
    2. ├─recipes::prep(.)
    3. ├─recipes:::prep.recipe(.)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_mean(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_mean.R:260:3'): bake method errors when needed non-standard role columns are missing ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mean()`: Error in `step_impute_mean()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_mean.R:260:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_mean(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_median.R:18:3'): simple median ──────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_median()`: Error in `step_impute_median()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_median.R:18:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_median(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_median.R:76:3'): all NA values ──────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_median()`: Error in `step_impute_median()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_median.R:76:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_median(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_median.R:138:3'): case weights ──────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_median()`: Error in `step_impute_median()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep() at test_impute_median.R:138:2
    2. ├─recipes::prep(.)
    3. ├─recipes:::prep.recipe(.)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_median(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_median.R:181:3'): bake method errors when needed non-standard role columns are missing ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_median()`: Error in `step_impute_median()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_median.R:181:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_median(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<int>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_mode.R:18:3'): simple modes ─────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mode()`: Error in `step_impute_mode()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_mode.R:18:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_mode(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<fct>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<fct>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_mode.R:78:3'): all NA values ────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mode()`: Error in `step_impute_mode()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = credit_tr, verbose = FALSE) at test_impute_mode.R:78:2
    2. ├─recipes:::prep.recipe(impute_rec, training = credit_tr, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_mode(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<fct>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<fct>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_mode.R:88:3'): can bake recipes with no ptype ───────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mode()`: Error in `step_impute_mode()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(credit_tr, verbose = FALSE) at test_impute_mode.R:88:2
    2. ├─recipes::prep(., credit_tr, verbose = FALSE)
    3. ├─recipes:::prep.recipe(., credit_tr, verbose = FALSE)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_mode(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<fct>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<fct>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_mode.R:157:3'): case weights ────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mode()`: Error in `step_impute_mode()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(impute_rec, training = fake_data, verbose = FALSE) at test_impute_mode.R:157:2
    2. ├─recipes:::prep.recipe(impute_rec, training = fake_data, verbose = FALSE)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_impute_mode(x$steps[[i]], new_data = training)
    8. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<fct>`)
    9. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<fct>`)
   10. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12. │         ├─base::withCallingHandlers(...)
   13. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   14. └─base::.handleSimpleError(...)
   15.   └─recipes (local) h(simpleError(msg, call))
   16.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   17.       └─recipes:::stop_recipes(...)
   18.         └─rlang::abort(...)
  ── Error ('test_impute_roll.R:20:3'): imputation values with 7-pt median ───────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_roll()`: Error in `step_impute_roll()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(training = example_data) at test_impute_roll.R:20:2
    2. ├─recipes::prep(., training = example_data)
    3. ├─recipes:::prep.recipe(., training = example_data)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_roll(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_ind[[i]], imp_var, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_ind[[i]], imp_var, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_roll.R:47:3'): imputation values with 3-pt mean ─────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_roll()`: Error in `step_impute_roll()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(training = example_data) at test_impute_roll.R:47:2
    2. ├─recipes::prep(., training = example_data)
    3. ├─recipes:::prep.recipe(., training = example_data)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_roll(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_ind[[i]], imp_var, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_ind[[i]], imp_var, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_impute_roll.R:169:3'): bake method errors when needed non-standard role columns are missing ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_roll()`: Error in `step_impute_roll()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(training = example_data) at test_impute_roll.R:169:2
    2. ├─recipes::prep(., training = example_data)
    3. ├─recipes:::prep.recipe(., training = example_data)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_roll(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, missing_ind[[i]], imp_var, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, missing_ind[[i]], imp_var, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_integer.R:29:3'): basic functionality ──────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_integer()`: Error in `step_integer()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(rec, training = tr_dat) at test_integer.R:29:2
    2. ├─recipes:::prep.recipe(rec, training = tr_dat)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_integer(x$steps[[i]], new_data = training)
    8. │   └─recipes:::map_key_to_int(...)
    9. │     ├─dplyr::full_join(...)
   10. │     └─dplyr:::full_join.data.frame(...)
   11. │       └─dplyr:::join_mutate(...)
   12. │         ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   13. │         └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   14. │           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   15. │             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   16. │               ├─base::withCallingHandlers(...)
   17. │               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   18. └─base::.handleSimpleError(...)
   19.   └─recipes (local) h(simpleError(msg, call))
   20.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   21.       └─recipes:::stop_recipes(...)
   22.         └─rlang::abort(...)
  ── Error ('test_integer.R:49:3'): zero-based ───────────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_integer()`: Error in `step_integer()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(rec, training = tr_dat) at test_integer.R:49:2
    2. ├─recipes:::prep.recipe(rec, training = tr_dat)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_integer(x$steps[[i]], new_data = training)
    8. │   └─recipes:::map_key_to_int(...)
    9. │     ├─dplyr::full_join(...)
   10. │     └─dplyr:::full_join.data.frame(...)
   11. │       └─dplyr:::join_mutate(...)
   12. │         ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   13. │         └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   14. │           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   15. │             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   16. │               ├─base::withCallingHandlers(...)
   17. │               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   18. └─base::.handleSimpleError(...)
   19.   └─recipes (local) h(simpleError(msg, call))
   20.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   21.       └─recipes:::stop_recipes(...)
   22.         └─rlang::abort(...)
  ── Error ('test_integer.R:68:3'): not integers ─────────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_integer()`: Error in `step_integer()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─recipes::prep(rec, training = tr_dat) at test_integer.R:68:2
    2. ├─recipes:::prep.recipe(rec, training = tr_dat)
    3. │ ├─recipes:::recipes_error_context(...)
    4. │ │ ├─base::withCallingHandlers(...)
    5. │ │ └─base::force(expr)
    6. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    7. │ └─recipes:::bake.step_integer(x$steps[[i]], new_data = training)
    8. │   └─recipes:::map_key_to_int(...)
    9. │     ├─dplyr::full_join(...)
   10. │     └─dplyr:::full_join.data.frame(...)
   11. │       └─dplyr:::join_mutate(...)
   12. │         ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   13. │         └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   14. │           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   15. │             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   16. │               ├─base::withCallingHandlers(...)
   17. │               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   18. └─base::.handleSimpleError(...)
   19.   └─recipes (local) h(simpleError(msg, call))
   20.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   21.       └─recipes:::stop_recipes(...)
   22.         └─rlang::abort(...)
  ── Error ('test_matrix.R:19:1'): (code run outside of `test_that()`) ───────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mean()`: Error in `step_impute_mean()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(training = sacr_tr) at test_matrix.R:19:0
    2. ├─recipes::prep(., training = sacr_tr)
    3. ├─recipes:::prep.recipe(., training = sacr_tr)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_mean(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  ── Error ('test_roll.R:110:3'): na_rm argument works for step_window ───────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─base::`[<-`(`*tmp*`, 6:8, 2:3, value = `<lgl>`) at test_roll.R:110:2
   2. └─tibble:::`[<-.tbl_df`(`*tmp*`, 6:8, 2:3, value = `<lgl>`) at test_roll.R:110:2
   3.   └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   4.     └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   5.       ├─base::withCallingHandlers(...)
   6.       └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_sparsity.R:20:1'): (code run outside of `test_that()`) ─────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_impute_mean()`: Error in `step_impute_mean()`:
  Caused by error in `vectbl_assign()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(training = sacr_tr) at test_sparsity.R:20:0
    2. ├─recipes::prep(., training = sacr_tr)
    3. ├─recipes:::prep.recipe(., training = sacr_tr)
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::bake(x$steps[[i]], new_data = training)
    8. │ └─recipes:::bake.step_impute_mean(x$steps[[i]], new_data = training)
    9. │   ├─base::`[<-`(`*tmp*`, is.na(new_data[[i]]), i, value = `<dbl>`)
   10. │   └─tibble:::`[<-.tbl_df`(`*tmp*`, is.na(new_data[[i]]), i, value = `<dbl>`)
   11. │     └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12. │       └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13. │         ├─base::withCallingHandlers(...)
   14. │         └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
   15. └─base::.handleSimpleError(...)
   16.   └─recipes (local) h(simpleError(msg, call))
   17.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   18.       └─recipes:::stop_recipes(...)
   19.         └─rlang::abort(...)
  
  [ FAIL 34 | WARN 0 | SKIP 395 | PASS 1848 ]
  Error: Test failures
  Execution halted