Open DavisVaughan opened 1 month ago
This looks to be the same as #2801 to me. What do you think?
Reprex from #2801
library(ggplot2)
df <- data.frame(x = 1:10, y = rnorm(10))
p1 <- ggplot(data = df, mapping = aes(x=x,y=y)) + geom_point() + theme_bw()
p1
Two actions we could take here:
Add some handling for quosures so they display the expression and maybe the env id
We could downgrade the offending WARN to a TRACE. The fallback handling works well I think so we shouldn't make it seem like there is something to fix necessarily. The backtrace is probably too distracting in user logs. I included one in this message to make it easier to identify which format classes don't conform to our assumptions. We could just include the class vector in the message instead.
In particular I noticed this when searching for Error
in the log text, so removing the word Error
would probably help a lot, as it makes it hard to find "real" problems
I'm not entirely sure how we got here in the first place, but this came from a private beta user https://github.com/posit-dev/positron-beta/discussions/19#discussioncomment-9407240