alexkychen / assignPOP

Population Assignment using Genetic, Non-genetic or Integrated Data in a Machine-learning Framework. Methods in Ecology and Evolution. 2018;9:439–446.
http://alexkychen.github.io/assignPOP/
GNU General Public License v3.0
17 stars 4 forks source link

arguments imply differing number of rows #22

Open kwojtusik opened 1 year ago

kwojtusik commented 1 year ago

Hi Alex,

I'm having a similar issue to #13, except with assign.MC. I can run assign.X with the same data frame and it does not error out, but when I try to run assign.MC it gives me this: /Error in { : task 1 failed - "arguments imply differing number of rows: 27, 69"/

I noticed your announcement #15 and am currently using version 1.2.4, with R version 4.3.0. Is there a compatibility issue with the newest version of R?

Thank you.

-Kris

chapinkj commented 8 months ago

I'm also having this exact issue with assign.MC, using R 4.3.1 and assignPOP 1.2.4

alexkychen commented 8 months ago

Hi, I just tested with the example data under R 4.3.1 and assignPOP 1.2.4, and it works fine after I installed the "klaR" package. See if re-installing the 'klaR' would help.