Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

okc data now in modeldata #32

Closed
topepo opened this issue Dec 17, 2019 · 1 comment
Closed

okc data now in modeldata #32

topepo opened this issue Dec 17, 2019 · 1 comment

Comments

@topepo
Copy link
Member

topepo commented Dec 17, 2019

Not in recipes anymore:

   Running examples in ‘embed-Ex.R’ failed
   The error most likely occurred in:
   
   > ### Name: step_embed
   > ### Title: Encoding Factors into Multiple Columns
   > ### Aliases: step_embed tidy.step_embed embed_control
   > ### Keywords: datagen
   > 
   > ### ** Examples
   > 
   > data(okc)
   Warning in data(okc) : data set ‘okc’ not found
   > 
   > rec <- recipe(Class ~ age + location, data = okc) %>%
   +   step_embed(location, outcome = vars(Class),
   +              options = embed_control(epochs = 10))
   Error in is_tibble(data) : object 'okc' not found
   Calls: %>% ... eval -> recipe -> recipe.formula -> form2args -> is_tibble
   Execution halted
   ```

*   checking tests ...
   ```
    ERROR
   Running the tests in ‘tests/testthat.R’ failed.
   Last 13 lines of output:
     
     > 
     > test_check(package = "embed")
     ── 1. Error: (unknown) (@test_woe.R#9)  ────────────────────────────────────────
     object 'credit_data' not found
     Backtrace:
      1. base::sample(1:nrow(credit_data), 2000)
      2. base::nrow(credit_data)
     
     ══ testthat results  ═══════════════════════════════════════════════════════════
     [ OK: 112 | SKIPPED: 10 | WARNINGS: 1 | FAILED: 1 ]
     1. Error: (unknown) (@test_woe.R#9) 
     
     Error: testthat unit tests failed
     Execution halted
   ```
@topepo topepo closed this as completed Jan 9, 2020
@github-actions
Copy link

github-actions bot commented Mar 6, 2021

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.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant