Package check result: ERROR Check: tests, Result: ERROR Running ‘testthat.R’ [115s/113s] 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") Loading required package: parsnip [ FAIL 4 | WARN 1 | SKIP 120 | PASS 317 ] ══ Skipped tests (120) ═════════════════════════════════════════════════════════ • On CRAN (61): 'test-augment.R:41:2', 'test-dt.R:21:2', 'test-orbital.R:72:2', 'test-orbital.R:98:2', 'test-orbital.R:121:2', 'test-orbital.R:140:2', 'test-orbital.R:147:2', 'test-orbital.R:166:2', 'test-parsnip.R:17:2', 'test-parsnip.R:57:2', 'test-parsnip.R:73:2', 'test-recipes.R:16:2', 'test-sql.R:22:2', 'test-step_adasyn.R:31:2', 'test-step_adasyn.R:83:2', 'test-step_adasyn.R:111:2', 'test-step_bin2factor.R:79:2', 'test-step_boxcox.R:77:2', 'test-step_bsmote.R:31:2', 'test-step_bsmote.R:83:2', 'test-step_center.R:77:2', 'test-step_discretize.R:128:2', 'test-step_downsample.R:31:2', 'test-step_downsample.R:83:2', 'test-step_dummy.R:108:2', 'test-step_impute_mean.R:80:2', 'test-step_impute_median.R:81:2', 'test-step_impute_mode.R:89:2', 'test-step_indicate_na.R:83:2', 'test-step_intercept.R:67:2', 'test-step_inverse.R:94:2', 'test-step_lag.R:63:2', 'test-step_lencode_glm.R:96:2', 'test-step_lencode_mixed.R:96:2', 'test-step_log.R:94:2', 'test-step_mutate.R:77:2', 'test-step_nearmiss.R:31:2', 'test-step_nearmiss.R:83:2', 'test-step_normalize.R:77:2', 'test-step_novel.R:99:2', 'test-step_other.R:101:2', 'test-step_pca.R:98:2', 'test-step_pca_sparse.R:113:2', 'test-step_pca_truncated.R:111:2', 'test-step_range.R:94:2', 'test-step_ratio.R:88:2', 'test-step_rename.R:77:2', 'test-step_rose.R:31:2', 'test-step_rose.R:83:2', 'test-step_scale.R:77:2', 'test-step_smote.R:31:2', 'test-step_smote.R:83:2', 'test-step_smotenc.R:31:2', 'test-step_smotenc.R:83:2', 'test-step_sqrt.R:77:2', 'test-step_tomek.R:31:2', 'test-step_tomek.R:83:2', 'test-step_unknown.R:93:2', 'test-step_upsample.R:31:2', 'test-step_upsample.R:83:2', 'test-workflows.R:16:2' • empty test (2): 'test-augment.R:31:1', 'test-augment.R:111:1' • is.na(testthat_spark_env_version()) is TRUE (36): 'test-step_adasyn.R:57:2', 'test-step_bin2factor.R:56:2', 'test-step_boxcox.R:54:2', 'test-step_bsmote.R:57:2', 'test-step_center.R:54:2', 'test-step_discretize.R:102:2', 'test-step_downsample.R:57:2', 'test-step_dummy.R:82:2', 'test-step_impute_mean.R:56:2', 'test-step_impute_median.R:57:2', 'test-step_impute_mode.R:63:2', 'test-step_indicate_na.R:59:2', 'test-step_intercept.R:44:2', 'test-step_inverse.R:71:2', 'test-step_lencode_glm.R:69:2', 'test-step_lencode_mixed.R:69:2', 'test-step_log.R:71:2', 'test-step_mutate.R:54:2', 'test-step_nearmiss.R:57:2', 'test-step_normalize.R:54:2', 'test-step_novel.R:71:2', 'test-step_other.R:73:2', 'test-step_pca.R:74:2', 'test-step_pca_sparse.R:86:2', 'test-step_pca_truncated.R:84:2', 'test-step_range.R:71:2', 'test-step_ratio.R:62:2', 'test-step_rename.R:54:2', 'test-step_rose.R:57:2', 'test-step_scale.R:54:2', 'test-step_smote.R:57:2', 'test-step_smotenc.R:57:2', 'test-step_sqrt.R:54:2', 'test-step_tomek.R:57:2', 'test-step_unknown.R:67:2', 'test-step_upsample.R:57:2' • {VBsparsePCA} is not installed (8): 'test-step_pca_sparse_bayes.R:4:2', 'test-step_pca_sparse_bayes.R:26:2', 'test-step_pca_sparse_bayes.R:47:2', 'test-step_pca_sparse_bayes.R:68:2', 'test-step_pca_sparse_bayes.R:89:2', 'test-step_pca_sparse_bayes.R:115:2', 'test-step_pca_sparse_bayes.R:145:2', 'test-step_pca_sparse_bayes.R:174:2' • {rstanarm} is not installed (7): 'test-step_lencode_bayes.R:4:2', 'test-step_lencode_bayes.R:27:2', 'test-step_lencode_bayes.R:49:2', 'test-step_lencode_bayes.R:72:2', 'test-step_lencode_bayes.R:98:2', 'test-step_lencode_bayes.R:128:2', 'test-step_lencode_bayes.R:157:2' • {xgboost} is not installed (6): 'test-model-xgboost.R:4:2', 'test-model-xgboost.R:29:2', 'test-model-xgboost.R:52:2', 'test-model-xgboost.R:84:2', 'test-model-xgboost.R:115:2', 'test-model-xgboost.R:152:2' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-step_lencode_mixed.R:9:2'): step_lencode_mixed works ─────────── 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:2'): step_lencode_mixed only calculates what is sufficient ── 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:130:2'): duckdb - step_lencode_mixed works ── 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:157:2'): arrow - step_lencode_mixed works ── 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 4 | WARN 1 | SKIP 120 | PASS 317 ] Error: Test failures Execution halted