@michcampbell To add to the confusion of it all, I see different things in different IDEs. In Positron, the code I screenshotted above seems to always be a problem.
library(ggplot2)
simple_plot <- function(title){
mtcars |>
ggplot(aes(x = disp, y = mpg)) +
geom_point() +
labs(title = title)
}
simple_plot("Fe")
simple_plot("Sr")
*Only with these two character strings* as far as I’ve tested, whichever I call first will also display for the second. And this only happens in Positron, not in RStudio, where I have the same package versions installed.