I use patchwork to assemble plots made with ggplot2. I also use patchwork's plot_annotation() command to automatically annotate the assembled plots—for example, to automatically place "A", "B", etc. in the upper right-hand corner of each plot. For the most part, this is easy to do. But when the plots have axis labels in different positions, it is hard to get the annotations in the right positions. Here is a minimal illustration of the problem:
library(ggplot2)
library(patchwork)
pLeft <- ggplot(mtcars) +
geom_point(aes(mpg, disp)) +
scale_y_continuous("Left-hand panel", position = "left")
pRight <- pLeft +
scale_y_continuous("Right-hand panel", position = "right")
pLeft + pRight +
plot_layout(nrow = 1) &
plot_annotation(tag_levels = "A") &
theme(plot.tag.position = c(.935, .96))
That code produces a two-panel figure. The tag for the first panel, "A", is in the correct position. But the tag for the second panel, "B", is not:

There are several ways to fix the problem. For example, I can specify plot.tag.position separately for each panel:
pLeft + theme(plot.tag.position = c(.935, .96)) +
pRight + theme(plot.tag.position = c(.785, .96)) +
plot_layout(nrow = 1) &
plot_annotation(tag_levels = "A")
Or I can skip plot_annotation() entirely and just use annotation_custom() for each panel. But these are bad solutions. The problem is that they require specifying the tag coordinates separately for each panel. And I will sometimes have many panels in the assembled figure—say, N × 2 panels in a two-column figure. In this case, I would like to specify the coordinates only twice: once for the left-hand column, and once for the right-hand column. Is this possible?
I've looked to the patchwork website and here on Stack Overflow for relevant posts, but I haven't found any solutions.

