geom_text, geom_label, and the repel equivalents have formal parameters that cannot be mapped to aesthetics. Several stats including the ones in my package 'ggspectra' also take parameters that cannot be mapped. My question is: can named arguments passed to a statistic through the ... parameter be forwarded to the geometry passed to the statistic as argument to its stat formal parameter (and vice versa)? and if it is possible, how is it done in 'ggplot2' (>=3.1.0)?
Thanks in advance for any hints on how to approach this problem!
Thanks! Here is a rather contrived reprex that demonstrates the problem. (I had the impression that the ... would forward the additional named arguments, but this does not seem to be the case.)