how to update vctrs in microViz package

when i try to run the following commonad for my phyloseq data this is the error i am getting and i dont know how to proceed further

comp_barplot(tax_level = "Phylum")

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace ‘vctrs’ 0.5.1 is already loaded, but >= 0.5.2 is required

Try running

install.packages("vctrs")

That will install the latest version of vctrs.

Hi,
Thank you for your quick answer.
I have tried that but did not work. Do you know something else that could help me with this error?

Tks!

Did you restart your RStudio session after installing the package? Start a new session, then run

library(vctrs)
sessionInfo()

Near the bottom of the output, you should see what version of vctrs is installed. Is it 0.5.2?

We need more details than that to help you. The error message you are showing means you absolutely need to update vctrs. If this is not working we need to see the complete console output you get when you run this command

install.packages("vctrs")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.