Running ‘testthat.R’ [113s/192s]
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 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("embed")
  
  Attaching package: 'rsample'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  [ FAIL 1 | WARN 2 | SKIP 56 | PASS 161 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (56)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_umap.R:63:3'): numeric outcome ─────────────────────────────────
  <recipes_error_step/recipes_error/rlang_error/error/condition>
  Error in `step_umap()`: Error in `step_umap()`:
  Caused by error in `FNN::get.knn()`:
  ! DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─... %>% prep(training = tr[, -5]) at test_umap.R:63:2
    2. ├─recipes::prep(., training = tr[, -5])
    3. ├─recipes:::prep.recipe(., training = tr[, -5])
    4. │ ├─recipes:::recipes_error_context(...)
    5. │ │ ├─base::withCallingHandlers(...)
    6. │ │ └─base::force(expr)
    7. │ ├─recipes::prep(x$steps[[i]], training = training, info = x$term_info)
    8. │ └─embed:::prep.step_umap(x$steps[[i]], training = training, info = x$term_info)
    9. │   ├─withr::with_seed(...)
   10. │   │ └─withr::with_preserve_seed(...)
   11. │   └─rlang::eval_tidy(umap_fit_call(x, y = y_name))
   12. ├─uwot::umap(...)
   13. │ └─uwot:::uwot(...)
   14. │   └─uwot:::data2set(...)
   15. │     └─uwot:::x2set(...)
   16. │       └─uwot:::x2nn(...)
   17. │         └─uwot:::find_nn(...)
   18. │           └─uwot:::FNN_nn(X, k = k, include_self = include_self)
   19. │             └─FNN::get.knn(X, k)
   20. └─base::.handleSimpleError(...)
   21.   └─recipes (local) h(simpleError(msg, call))
   22.     └─recipes:::stop_recipes_step(call = call(step_name), parent = cnd)
   23.       └─recipes:::stop_recipes(...)
   24.         └─rlang::abort(...)
  
  [ FAIL 1 | WARN 2 | SKIP 56 | PASS 161 ]
  Error: Test failures
  Execution halted