I use to be able to run this script without any problem, but now the fortify {ggplot2} command gives me an error message. Any hint of what might be the problem would be grea
Fortify is likely to be deprecated. A new alternative is broom (see documentation here). It is very simply to use:
# Load shapefile
FAO <- readOGR(dsn="fao", layer="World_Fao_Zones")
#Convert
FAO_df <- tidy(FAO)
Unfortunately, the file you uploaded is not there anymore, so I cannot demonstrate the command for your example.