I am working on a project that involves including maps in a final R markdown document (html or pdf). but, an error pops up with my map_data function after trying to knit. I have installed all of the according packages, so I don't think that is the problem either. Any ideas? Thanks
usa <- map_data("usa")
dim(usa)
head(usa)
Could not find function "map_data"