Closed grimbough closed 2 years ago
Thoughts? @sanchit-saini
It is a bug that got introduced in this commit bfcf1b11c2.
https://github.com/lawremi/ggbio/blob/7f5f384f80ae5cfefb2839946e55d18d915775b5/R/hack.R#L110-L125
method0
should have been called with do.call
to properly pass the list of arguments.
tm <- try({res <- do.call(method0, args)}, silent = TRUE)
Thanks for sorting this. Did the patch make it into the version on Bioconductor? I don't see it in https://code.bioconductor.org/browse/ggbio/commits/RELEASE_3_15 and I'm still experiencing the error.
I just pushed a new ggbio version to release with this fix.
I just pushed a new ggbio version to release with this fix.
Awesome, thanks a lot.
I'm experiencing an issue where the
ggbio::geom_bar()
method isn't playing nicely with some downstream package and is failing to produce plots when given a simpledata.frame
.I can fix the problem by explicitly using
ggplot::geom_bar()
, which I why I suspect something in ggbio.This only occurs with Bioconductor 3.15 & R 4.2 and wasn't the behaviour with previous versions. I've included a minimal example demonstrating the issue. Is this the expected behaviour going forward, and I should modify my code to specify
ggplot::geom_bar()
?Working with BioC 3.14 / R 4.1
Failing with BioC 3.15 / R 4.2