Running ‘testthat.R’ [40s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(orbital)
  > 
  > test_check("orbital")
  [ FAIL 5 | WARN 1 | SKIP 70 | PASS 314 ]
  
  ══ Skipped tests (70) ══════════════════════════════════════════════════════════
  • On CRAN (19): 'test-dt.R:21:3', 'test-orbital.R:72:3', 'test-orbital.R:98:3',
    'test-orbital.R:121:3', 'test-orbital.R:140:3', 'test-orbital.R:147:3',
    'test-orbital.R:166:3', 'test-parsnip.R:17:3', 'test-recipes.R:16:3',
    'test-sql.R:22:3', 'test-step_adasyn.R:31:3', 'test-step_bsmote.R:31:3',
    'test-step_downsample.R:31:3', 'test-step_nearmiss.R:31:3',
    'test-step_rose.R:31:3', 'test-step_smote.R:31:3',
    'test-step_smotenc.R:31:3', 'test-step_tomek.R:31:3',
    'test-step_upsample.R:31:3'
  • VBsparsePCA cannot be loaded (8): 'test-step_pca_sparse_bayes.R:4:3',
    'test-step_pca_sparse_bayes.R:26:3', 'test-step_pca_sparse_bayes.R:47:3',
    'test-step_pca_sparse_bayes.R:68:3', 'test-step_pca_sparse_bayes.R:89:3',
    'test-step_pca_sparse_bayes.R:115:3', 'test-step_pca_sparse_bayes.R:144:3',
    'test-step_pca_sparse_bayes.R:173:3'
  • is.na(testthat_spark_env_version()) is TRUE (36): 'test-step_adasyn.R:57:3',
    'test-step_bin2factor.R:56:3', 'test-step_boxcox.R:54:3',
    'test-step_bsmote.R:57:3', 'test-step_center.R:54:3',
    'test-step_discretize.R:104:3', 'test-step_downsample.R:57:3',
    'test-step_dummy.R:82:3', 'test-step_impute_mean.R:56:3',
    'test-step_impute_median.R:57:3', 'test-step_impute_mode.R:63:3',
    'test-step_indicate_na.R:60:3', 'test-step_intercept.R:44:3',
    'test-step_inverse.R:71:3', 'test-step_lencode_glm.R:69:3',
    'test-step_lencode_mixed.R:69:3', 'test-step_log.R:71:3',
    'test-step_mutate.R:54:3', 'test-step_nearmiss.R:57:3',
    'test-step_normalize.R:54:3', 'test-step_novel.R:71:3',
    'test-step_other.R:73:3', 'test-step_pca.R:74:3',
    'test-step_pca_sparse.R:86:3', 'test-step_pca_truncated.R:84:3',
    'test-step_range.R:71:3', 'test-step_ratio.R:58:3',
    'test-step_rename.R:54:3', 'test-step_rose.R:57:3', 'test-step_scale.R:54:3',
    'test-step_smote.R:57:3', 'test-step_smotenc.R:57:3',
    'test-step_sqrt.R:54:3', 'test-step_tomek.R:57:3',
    'test-step_unknown.R:67:3', 'test-step_upsample.R:57:3'
  • rstanarm cannot be loaded (7): 'test-step_lencode_bayes.R:4:3',
    'test-step_lencode_bayes.R:27:3', 'test-step_lencode_bayes.R:49:3',
    'test-step_lencode_bayes.R:72:3', 'test-step_lencode_bayes.R:98:3',
    'test-step_lencode_bayes.R:127:3', 'test-step_lencode_bayes.R:156:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-step_lencode_mixed.R:9:3'): step_lencode_mixed works ───────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_lencode_mixed()`: Error in `step_lencode_mixed()`:
  Caused by error in `purrr::map()`:
  i In index: 1.
  i With name: gear.
  Caused by error in `.f()`:
  ! The package "lme4" is required.
  ── Error ('test-step_lencode_mixed.R:31:3'): step_lencode_mixed only calculates what is sufficient ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_lencode_mixed()`: Error in `step_lencode_mixed()`:
  Caused by error in `purrr::map()`:
  i In index: 1.
  i With name: gear.
  Caused by error in `.f()`:
  ! The package "lme4" is required.
  ── Error ('test-step_lencode_mixed.R:101:3'): SQLite - step_lencode_mixed works ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_lencode_mixed()`: Error in `step_lencode_mixed()`:
  Caused by error in `purrr::map()`:
  i In index: 1.
  i With name: gear.
  Caused by error in `.f()`:
  ! The package "lme4" is required.
  ── Error ('test-step_lencode_mixed.R:129:3'): duckdb - step_lencode_mixed works ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_lencode_mixed()`: Error in `step_lencode_mixed()`:
  Caused by error in `purrr::map()`:
  i In index: 1.
  i With name: gear.
  Caused by error in `.f()`:
  ! The package "lme4" is required.
  ── Error ('test-step_lencode_mixed.R:156:3'): arrow - step_lencode_mixed works ──
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_lencode_mixed()`: Error in `step_lencode_mixed()`:
  Caused by error in `purrr::map()`:
  i In index: 1.
  i With name: gear.
  Caused by error in `.f()`:
  ! The package "lme4" is required.
  
  [ FAIL 5 | WARN 1 | SKIP 70 | PASS 314 ]
  Error: Test failures
  Execution halted