Tidyverse loading breaks map_data in GGplot 2



I am using ggplot2 and ggmap but when I try to use the pipe function and load Tidyverse the function in ggplot2 map_data() starts giving me an error

you can see I try to use pipe, but forgot to load the package, then when I load it the rest of my code for ggplot2 breaks.


If you only need %>%, just load magrittr package only


If you need ggplot2 as well, then you have to update to the its development version