Running ‘testthat.R’ [128s/156s]
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 0 | SKIP 78 | PASS 219 ]
  
  ══ Skipped tests (78) ══════════════════════════════════════════════════════════
  • On CRAN (78): 'test-collapse_cart.R:132:3', 'test-collapse_cart.R:172:3',
    'test-collapse_stringdist.R:225:3', 'test-collapse_stringdist.R:267:3',
    'test-discretize_cart.R:35:3', 'test-discretize_cart.R:65:3',
    'test-discretize_cart.R:80:3', 'test-discretize_cart.R:101:3',
    'test-discretize_cart.R:125:3', 'test-discretize_cart.R:148:3',
    'test-discretize_cart.R:174:3', 'test-discretize_cart.R:253:3',
    'test-discretize_cart.R:290:3', 'test-discretize_xgb.R:5:1',
    'test-embed.R:9:3', 'test-embed.R:79:3', 'test-embed.R:147:3',
    'test-embed.R:216:3', 'test-embed.R:284:3', 'test-embed.R:300:3',
    'test-embed.R:316:3', 'test-embed.R:366:3', 'test-embed.R:387:3',
    'test-embed.R:432:3', 'test-extension_check.R:2:3',
    'test-feature_hash.R:5:3', 'test-feature_hash.R:57:3',
    'test-feature_hash.R:109:3', 'test-feature_hash.R:127:3',
    'test-feature_hash.R:148:3', 'test-feature_hash.R:168:3',
    'test-feature_hash.R:186:3', 'test-feature_hash.R:202:3',
    'test-feature_hash.R:220:3', 'test-lencode_bayes.R:16:3',
    'test-lencode_bayes.R:85:3', 'test-lencode_bayes.R:153:3',
    'test-lencode_bayes.R:224:3', 'test-lencode_bayes.R:292:3',
    'test-lencode_bayes.R:364:3', 'test-lencode_bayes.R:428:3',
    'test-lencode_bayes.R:476:3', 'test-lencode_glm.R:10:3',
    'test-lencode_glm.R:66:3', 'test-lencode_glm.R:124:3',
    'test-lencode_glm.R:236:3', 'test-lencode_glm.R:266:3',
    'test-lencode_glm.R:289:3', 'test-lencode_glm.R:331:3',
    'test-lencode_mixed.R:11:3', 'test-lencode_mixed.R:127:3',
    'test-lencode_mixed.R:243:3', 'test-lencode_mixed.R:277:3',
    'test-lencode_mixed.R:302:3', 'test-lencode_mixed.R:346:3',
    'test-pca_sparse.R:49:3', 'test-pca_sparse.R:75:3',
    'test-pca_sparse.R:147:3', 'test-pca_sparse.R:191:3',
    'test-pca_sparse_bayes.R:54:3', 'test-pca_sparse_bayes.R:81:3',
    'test-pca_sparse_bayes.R:157:3', 'test-pca_sparse_bayes.R:209:3',
    'test-pca_truncated.R:68:3', 'test-pca_truncated.R:107:3',
    'test-pca_truncated.R:149:3', 'test-umap.R:218:3', 'test-umap.R:235:3',
    'test-umap.R:298:3', 'test-umap.R:335:3', 'test-woe.R:15:3',
    'test-woe.R:22:3', 'test-woe.R:108:3', 'test-woe.R:139:3',
    'test-woe.R:169:3', 'test-woe.R:227:3', 'test-woe.R:310:3',
    'test-woe.R:360:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-feature_hash.R:239:3'): printing ───────────────────────────────
  <cmdError/error/condition>
  Error in `system2(command = python, args = shQuote(script), stdout = TRUE, 
      stderr = FALSE)`: error in running command
  Backtrace:
       ▆
    1. ├─testthat::skip_if(is.null(tensorflow::tf_version())) at test-feature_hash.R:239:2
    2. │ └─base::isTRUE(condition)
    3. └─tensorflow::tf_version()
    4.   └─tensorflow::tf_config()
    5.     └─reticulate::py_config()
    6.       └─reticulate:::ensure_python_initialized()
    7.         └─reticulate:::initialize_python()
    8.           └─(function() {...
    9.             └─reticulate::py_discover_config(required_module, use_environment)
   10.               └─reticulate:::python_config(...)
   11.                 └─reticulate:::python_config_impl(python)
   12.                   └─base::system2(...)
  
  [ FAIL 1 | WARN 0 | SKIP 78 | PASS 219 ]
  Error: Test failures
  Execution halted