tidymodels/embed

Add missing infrastructure tests

Closed this issue · 1 comments

bake method errors when needed non-standard role columns are missing

c(
"tests/testthat/test-pca_sparse.R",
"tests/testthat/test-pca_truncated.R"                                    
)

empty printing

c(
"tests/testthat/test-discretize_cart.R", 
"tests/testthat/test-discretize_xgb.R",                             
"tests/testthat/test-embed.R", 
"tests/testthat/test-feature_hash.R", 
"tests/testthat/test-lencode_bayes.R", 
"tests/testthat/test-lencode_glm.R", 
"tests/testthat/test-lencode_mixed.R", 
"tests/testthat/test-pca_sparse.R", 
"tests/testthat/test-pca_sparse_bayes.R", 
"tests/testthat/test-pca_truncated.R", 
"tests/testthat/test-umap.R", 
"tests/testthat/test-woe.R"
)

empty selection prep/bake is a no-op

c(
"tests/testthat/test-discretize_cart.R", 
"tests/testthat/test-discretize_xgb.R",                             
"tests/testthat/test-embed.R", 
"tests/testthat/test-feature_hash.R", 
"tests/testthat/test-lencode_bayes.R", 
"tests/testthat/test-lencode_glm.R", 
"tests/testthat/test-lencode_mixed.R", 
"tests/testthat/test-pca_sparse.R", 
"tests/testthat/test-pca_sparse_bayes.R", 
"tests/testthat/test-pca_truncated.R", 
"tests/testthat/test-umap.R", 
"tests/testthat/test-woe.R"
)

empty selection tidy method works

c(
"tests/testthat/test-discretize_cart.R", 
"tests/testthat/test-discretize_xgb.R",                             
"tests/testthat/test-embed.R", 
"tests/testthat/test-feature_hash.R", 
"tests/testthat/test-lencode_bayes.R", 
"tests/testthat/test-lencode_glm.R", 
"tests/testthat/test-lencode_mixed.R", 
"tests/testthat/test-pca_sparse.R", 
"tests/testthat/test-pca_sparse_bayes.R", 
"tests/testthat/test-pca_truncated.R", 
"tests/testthat/test-umap.R", 
"tests/testthat/test-woe.R"
)

printing

"tests/testthat/test-pca_sparse.R"  

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.