idiv-biodiversity / lcvplants

Large-scale taxonomic harmonization of plant names by fuzzy matching and synonymy resolution against the Leipzig Plant List as taxonomic backbone. Submission of single names or list of species names is possible.
https://idiv-biodiversity.github.io/lcvplants/
Other
14 stars 3 forks source link

lcvp_join assertion #47

Closed azizka closed 3 years ago

azizka commented 3 years ago

something is wrong with the lcvp_join assertion for data frames:

dat <- lcvp_join(x = as.data.frame(features), 
                 y = epi,
                 sp_columns = c("species", "merger"),
                 type = "left")

Error: y should be a data.frame, not 'data.frame'.

also, it should accept tibbles and tbl_df objects

Error: x should be a data.frame, not 'tbl_df'.x should be a data.frame, not 'tbl'.x should be a data.frame, not 'data.frame'. In addition: Warning messages:

BrunoVilela commented 3 years ago

Should be fixed now and you should be able to use tibbles and tbl_df objects too. But if you still got the error, could send me the object features and epi used?