0

I've used the spread function in tidyverse before, and it worked fine. Now, however, it raises this error message for all uses of the spread function:

df <- data_frame(x = c('a', 'b'), y = 1:2)
df %>% spread(x, y) 

Error in synthetic.instrument(primary_id = primary_id, currency = currency, : object 'y' not found

Error in synthetic.instrument(primary_id = primary_id, currency = currency, : argument "memberratio" is missing, with no default

What is causing the error?

cmaher
  • 5,100
  • 1
  • 22
  • 34
Kitty TX
  • 1
  • 2

0 Answers0