Package check result: OK Changes to worse in reverse depends: Package: embed Check: tests New result: ERROR Running ‘testthat.R’ [93s/95s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(embed) Loading required package: recipes Loading required package: dplyr Attaching package: 'dplyr' 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("embed") Hint: To use tensorflow with `py_require()`, call `py_require("tensorflow")` at the start of the R session Hint: To use tensorflow with `py_require()`, call `py_require("tensorflow")` at the start of the R session Hint: To use tensorflow with `py_require()`, call `py_require("tensorflow")` at the start of the R session Hint: To use tensorflow with `py_require()`, call `py_require("tensorflow")` at the start of the R session Hint: To use tensorflow with `py_require()`, call `py_require("tensorflow")` at the start of the R session boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') Saving _problems/test-umap-273.R Saving _problems/test-umap-431.R [ FAIL 2 | WARN 0 | SKIP 103 | PASS 364 ] ══ Skipped tests (103) ═════════════════════════════════════════════════════════ • On CRAN (102): 'test-collapse_cart.R:110:1', 'test-collapse_cart.R:125:1', 'test-collapse_cart.R:142:1', 'test-collapse_cart.R:179:1', 'test-collapse_stringdist.R:198:1', 'test-collapse_stringdist.R:215:1', 'test-collapse_stringdist.R:234:1', 'test-collapse_stringdist.R:271:1', 'test-discretize_cart.R:17:1', 'test-discretize_cart.R:46:1', 'test-discretize_cart.R:75:1', 'test-discretize_cart.R:95:1', 'test-discretize_cart.R:115:1', 'test-discretize_cart.R:127:1', 'test-discretize_cart.R:157:1', 'test-discretize_cart.R:207:1', 'test-discretize_cart.R:231:1', 'test-discretize_cart.R:247:1', 'test-discretize_cart.R:284:1', 'test-discretize_xgb.R:4:1', 'test-embed.R:5:3', 'test-embed.R:83:3', 'test-embed.R:154:3', 'test-embed.R:226:3', 'test-embed.R:302:3', 'test-embed.R:333:1', 'test-embed.R:351:3', 'test-embed.R:373:3', 'test-embed.R:419:3', 'test-embed.R:459:3', 'test-embed.R:478:3', 'test-extension_check.R:1:1', 'test-feature_hash.R:1:1', 'test-lencode.R:1:1', 'test-lencode.R:60:1', 'test-lencode.R:129:1', 'test-lencode.R:306:1', 'test-lencode.R:326:1', 'test-lencode.R:377:1', 'test-lencode.R:391:1', 'test-lencode.R:433:1', 'test-lencode_bayes.R:13:3', 'test-lencode_bayes.R:86:3', 'test-lencode_bayes.R:160:3', 'test-lencode_bayes.R:236:3', 'test-lencode_bayes.R:309:3', 'test-lencode_bayes.R:383:3', 'test-lencode_bayes.R:427:1', 'test-lencode_bayes.R:437:1', 'test-lencode_bayes.R:454:1', 'test-lencode_bayes.R:496:1', 'test-lencode_glm.R:1:1', 'test-lencode_glm.R:58:1', 'test-lencode_glm.R:115:1', 'test-lencode_glm.R:228:1', 'test-lencode_glm.R:241:1', 'test-lencode_glm.R:269:1', 'test-lencode_glm.R:283:1', 'test-lencode_glm.R:325:1', 'test-lencode_mixed.R:1:1', 'test-lencode_mixed.R:119:1', 'test-lencode_mixed.R:238:1', 'test-lencode_mixed.R:254:1', 'test-lencode_mixed.R:286:1', 'test-lencode_mixed.R:303:1', 'test-lencode_mixed.R:345:1', 'test-pca_sparse.R:1:1', 'test-pca_sparse.R:50:1', 'test-pca_sparse.R:110:1', 'test-pca_sparse.R:132:1', 'test-pca_sparse.R:164:1', 'test-pca_sparse.R:249:1', 'test-pca_sparse.R:271:1', 'test-pca_sparse_bayes.R:1:1', 'test-pca_sparse_bayes.R:55:1', 'test-pca_sparse_bayes.R:119:1', 'test-pca_sparse_bayes.R:147:1', 'test-pca_sparse_bayes.R:179:1', 'test-pca_sparse_bayes.R:262:1', 'test-pca_sparse_bayes.R:284:1', 'test-pca_truncated.R:47:1', 'test-pca_truncated.R:88:1', 'test-pca_truncated.R:104:1', 'test-pca_truncated.R:134:1', 'test-pca_truncated.R:217:1', 'test-pca_truncated.R:239:1', 'test-umap.R:218:1', 'test-umap.R:276:1', 'test-umap.R:328:1', 'test-umap.R:344:1', 'test-umap.R:438:1', 'test-woe.R:18:1', 'test-woe.R:25:1', 'test-woe.R:146:1', 'test-woe.R:189:1', 'test-woe.R:206:1', 'test-woe.R:280:1', 'test-woe.R:326:1', 'test-woe.R:342:1', 'test-woe.R:361:1', 'test-woe.R:437:1', 'test-woe.R:455:1' • empty test (1): ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-umap.R:270:3'): backwards compatible for initial and target_weight args (#213) ── Error in `step_umap()`: Error in `step_umap()`: Caused by error in `prep()`: ! `initial` must be a string or character vector. ── Error ('test-umap.R:429:3'): keep_original_cols - can prep recipes with it missing ── Error in `step_umap()`: Error in `step_umap()`: Caused by error in `uwot()`: ! 'n_components' must be a positive integer Backtrace: ▆ 1. ├─recipes::prep(rec) 2. ├─recipes:::prep.recipe(rec) 3. │ ├─recipes:::recipes_error_context(...) 4. │ │ ├─base::withCallingHandlers(...) 5. │ │ └─base::force(expr) 6. │ ├─recipes::prep(x$steps[[i]], training = training, info = x$term_info) 7. │ └─embed:::prep.step_umap(x$steps[[i]], training = training, info = x$term_info) 8. │ ├─withr::with_seed(...) 9. │ │ └─withr::with_preserve_seed(...) 10. │ └─rlang::eval_tidy(umap_fit_call(x, y = y_name)) 11. ├─uwot::umap(...) 12. │ └─uwot:::uwot(...) 13. │ └─base::stop("'n_components' must be a positive integer") 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(...) [ FAIL 2 | WARN 0 | SKIP 103 | PASS 364 ] Error: ! Test failures. Execution halted