Hi Solleille,
The subset of the DArT report you sent me has a different format than the "normal" DArT report. For example, your DArT report has a field named "MarkerName" instead of "AlleleID". Also, your report doesn't have the field "SnpPosition".
Please tell us whether this is a new or an old DArT report or if you know any other information that could tell us why your report has a different format.
I have updated the function to read DArT reports to accept this format. For the moment the genlight slots "position" and "loc.all" are set as "NULL". These slots are not necessary for most functions to work.
To use the updated function you need to install the developing version of dartR as shown below:
> devtools::install_github("green-striped-gecko/dartR@dev")
Cheers,
Luis