annotation_logticks() and coord_flip() appear to be mutually incompatible. For instance:
ggplot(mtcars, aes(x=mpg, y=disp)) +
geom_line() +
annotation_logticks() +
coord_flip()
yields Error in unit(yticks$y, "native") : 'x' and 'units' must have length > 0. This plot works fine if either annotation_logticks() or coord_flip() is removed.