Running ‘testthat.R’ [159s/420s]
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 1 | WARN 1 | SKIP 95 | PASS 293 ]
  
  ══ Skipped tests (95) ══════════════════════════════════════════════════════════
  • 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'
  • duckdb cannot be loaded (38): 'test-step_bin2factor.R:102:3',
    'test-step_boxcox.R:100:3', 'test-step_bsmote.R:109:3',
    'test-step_center.R:100:3', 'test-step_discretize.R:156:3',
    'test-step_downsample.R:109:3', 'test-step_dummy.R:134:3',
    'test-step_impute_mean.R:104:3', 'test-step_impute_median.R:105:3',
    'test-step_impute_mode.R:115:3', 'test-step_indicate_na.R:108:3',
    'test-step_intercept.R:90:3', 'test-step_inverse.R:117:3',
    'test-step_lag.R:86:3', 'test-step_lencode_bayes.R:129:3',
    'test-step_lencode_glm.R:123:3', 'test-step_lencode_mixed.R:123:3',
    'test-step_log.R:117:3', 'test-step_mutate.R:100:3',
    'test-step_nearmiss.R:109:3', 'test-step_normalize.R:100:3',
    'test-step_novel.R:127:3', 'test-step_other.R:129:3',
    'test-step_pca.R:122:3', 'test-step_pca_sparse.R:140:3',
    'test-step_pca_sparse_bayes.R:146:3', 'test-step_pca_truncated.R:138:3',
    'test-step_range.R:119:3', 'test-step_ratio.R:106:3',
    'test-step_rename.R:100:3', 'test-step_rose.R:109:3',
    'test-step_scale.R:100:3', 'test-step_smote.R:109:3',
    'test-step_smotenc.R:109:3', 'test-step_sqrt.R:100:3',
    'test-step_tomek.R:109:3', 'test-step_unknown.R:119:3',
    'test-step_upsample.R:109:3'
  • is.na(testthat_spark_env_version()) is TRUE (38): '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_bayes.R:73: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_sparse_bayes.R:90: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'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-step_adasyn.R:120:3'): duckdb - step_adasyn works ──────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", 
      call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
  Backtrace:
      ▆
   1. ├─DBI::dbConnect(duckdb::duckdb(dbdir = ":memory:")) at test-step_adasyn.R:120:3
   2. ├─base::loadNamespace(x)
   3. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
   5. │ │   └─base (local) doWithOneRestart(return(expr), restart)
   6. │ └─base::stop(cond)
   7. └─base (local) `<fn>`(`<pckgNtFE>`)
  
  [ FAIL 1 | WARN 1 | SKIP 95 | PASS 293 ]
  Error: Test failures
  Execution halted