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

recipe breaking changes #10

Closed
topepo opened this issue Mar 20, 2019 · 3 comments
Closed

recipe breaking changes #10

topepo opened this issue Mar 20, 2019 · 3 comments

Comments

@topepo
Copy link

topepo commented Mar 20, 2019

I'm doing reverse dependencies for recipes and saw an error for easyalluvial:

   > 
   > data = as_tibble(mtcars)
   > categoricals = c('cyl', 'vs', 'am', 'gear', 'carb')
   > numericals = c('mpg', 'cyl', 'disp', 'hp', 'drat', 'wt', 'qsec')
   > max_variables = 5
   > 
   > data = data %>%
   +   mutate_at( vars(categoricals), as.factor )
   > 
   > 
   > alluvial_wide( data = data
   +                 , max_variables = max_variables
   +                 , fill_by = 'first_variable' )
   Error: No role currently exists for column(s): 'easyalluvialid'. Please use `update_role()` instead.
   Execution halted

We changed the role system in 0.1.4 that broke this (and updated it a little more in 0.1.5).

Let me know if you need help. You can test against the current master in GH for recipes.

@erblast
Copy link
Owner

erblast commented Mar 20, 2019

thanks for letting me know, this will get fixed

@topepo
Copy link
Author

topepo commented Mar 20, 2019

I forgot to mention to make the dependency recipes >= 0.1.5. I'll submit it tonight and mention this thread.

@erblast
Copy link
Owner

erblast commented Mar 20, 2019

fixed in 47ceb3b and 1a8deb1, will submit a new version to CRAN some time next week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants