I have been trying to do a simple mapping code for a final project in my class. It worked and knitted fine then the next day I received this error message
'decode_colour' is not an exported object from 'namespace:farver
I can't figure out what to do, even making a simple ggplot graph I get the same message.
Here is my code that I am using and getting the message
library(tidyverse)
library(maps)
library(ggplot2)
library(dplyr)
ggplot(usa) +
geom_polygon(aes(x = long, y = lat, group = group),
color = "black", fill = "green") +
geom_point(data = Data, aes(x = Longitude, y = Latitude, group = School),
color = "red", fill = "blue")