Error in min(c(x, xmin), na.rm = TRUE) : invalid 'type' (list) of argument #2610
I believe this is coming up in ggbio's autoplot method. A reprex from ggbio docs, unfortunately not that minimal:
library("ggbio") library("GenomicRanges") set.seed(123) gr.b <- GRanges( seqnames = "chr1", IRanges( start = seq(1, 100, by = 10), width = sample(4:9, size = 10, replace = TRUE) ), score = rnorm(10, 10, 3), value = runif(10, 1, 100) ) p1 <- autoplot(gr.b, geom = "bar") #> use score as y by default #> Error in min(c(x, xmin), na.rm = TRUE): invalid 'type' (list) of argument
Created on 2018-05-15 by the reprex package (v0.2.0).
I think this is a tidyeval side effect, but I'm coming up against the limits of my ability to figure it out. I'm hoping I've narrowed it down enough that @hadley or @lionel- can point me in the right direction for the next step.
In the following line, ggbio looks up
With ggplot2 2.2.1,
Hi, I was wondering if this was fixed, because I'm still running into this issue (even with a fresh RStudio restart and re-installation of packages), and don't really see a work around.
PS I only ran into this problem once I had to restart RStudio to update some packages... seemed like the package update was the problem (which, based on what was said above makes sense)