Closed theresekon closed 4 years ago
Try adding the line:
library(magritrr)
somewhere in the vignette before you run this code. That's the package that the pipe operator comes from (%>%
), so that might get us there. We may need to add magritrr
as one of the suggested packages in the DESCRIPTION file, too (if you use a function just in the vignette, but not the main code, you can put it in the "Suggests" list of packages in the DESCRIPTION file).
When trying to run the following code in the details.Rmd file:
I get an error message that reads:
Error in county_damage_2015 %>% filter(!is.na(amount)) %>% group_by(event_id) %>% : could not find function "%>%"