Error: <ggplot2::labels> object is invalid:

Hi,

When running the MaAsLin on virome data, I get below error. Can you please provide any leads to understand the cause of error?

Error: <ggplot2::labels> object is invalid:
- every label must be named.
In addition: Warning messages:
1: The `size` argument of `element_line()` is deprecated as of ggplot2 3.4.0.
ℹ Please use the `linewidth` argument instead.
ℹ The deprecated feature was likely used in the Maaslin2 package.
  Please report the issue at <https://github.com/biobakery/maaslin2/issues>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated. 
2: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
ℹ Please use `linewidth` instead.
ℹ The deprecated feature was likely used in the Maaslin2 package.
  Please report the issue at <https://github.com/biobakery/maaslin2/issues>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated. 

Thank you,

Tata

Hi Tata,

Thanks for reporting this. I’ve made a change on github that I think will fix it. Can you try installing from github with the R code below to see if it works? Thanks!

install.packages(“devtools”)
library(“devtools”)
install_github(“biobakery/Maaslin2”)

1 Like