liamrevell / phytools

GNU General Public License v3.0
198 stars 56 forks source link

Betacoronaviruses tree has wrong case #131

Closed hlapp closed 1 year ago

hlapp commented 1 year ago

The data list gives the tree data as betaCoV.tree: https://github.com/liamrevell/phytools/blob/d24feae91b121c5040bf1f6ee986c7119efc0478/data/datalist#L5

However, using this in data(betaCoV.tree) (as per what the documentation says) results in an error:

> data("betaCoV.tree", package="phytools")
Warning message:
In data("betaCoV.tree", package = "phytools") :
  data set ‘betaCoV.tree’ not found

Presumably this is because the data file itself is spelled with a lower-case 'v'. Loading the dataset with the changed spelling succeeds, but still yields an object with the capital V spelling, potentially confusing. I'm not sure but probably the way to fix this is to fix the data file name?

liamrevell commented 1 year ago

Thanks for @hlapp. This seems to have been a weird git issue where I had renamed the file locally, but git was not "seeing" it as different...? It should be fixed now.