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?
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.
The data list gives the tree data as
betaCoV.tree
: https://github.com/liamrevell/phytools/blob/d24feae91b121c5040bf1f6ee986c7119efc0478/data/datalist#L5However, using this in
data(betaCoV.tree)
(as per what the documentation says) results in an error: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?