In R ggplot2, I'd like to use the directlabels package to label some contours, just as is done here. Unfortunately the examples given there, or here, or here, or anywhere, are not working. They all throw the following error:
Error in eval(quote({ : could not find function "eval"
Looking around stack overflow it seems the problem has something to do with the latest update to ggplot2 using ggproto instead of proto.
Is there a quick fix that can get the examples working again?