microViz icon indicating copy to clipboard operation
microViz copied to clipboard

Cannot build PCoA plot using ord_plot

Open LauGuaUuu opened this issue 1 year ago • 1 comments

Dear Davit,

Thank you for your very useful and cute package, Microviz. With my student we are having problems building PCoA plot with ord_plot function. We get the following error message:

Error in dplyr::bind_cols(): ! Can't recycle ..1 (size 0) to match ..2 (size 10). Backtrace:

  1. ... %>% ord_plot(color = "Heatwave", size = 2)
  2. microViz::ord_plot(., color = "Heatwave", size = 2)
  3. dplyr::bind_cols(siteScoresDf, meta)

Seems like an error caused in the function by dplyr not wanting to combine 2 vectors...

He uses Windows, RStudio, with R version 4.3. We uninstalled and reinstalled several times everything, and still we cannot go around. Please, can you help us resolve the issue?.

Best wishes!

LAU

LauGuaUuu avatar Feb 12 '24 12:02 LauGuaUuu

hi, sorry i did not see your message until now.

If you are still having problems, could you perhaps copy-paste the code that gives you that error?

david-barnett avatar Mar 10 '24 19:03 david-barnett

assuming this issue is resolved, feel free to open new issue if not :)

david-barnett avatar Jun 05 '24 13:06 david-barnett