Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-unique value when setting 'row.names' for Olea europaea #73

Open
kang37 opened this issue Jun 9, 2022 · 1 comment
Open

Non-unique value when setting 'row.names' for Olea europaea #73

kang37 opened this issue Jun 9, 2022 · 1 comment

Comments

@kang37
Copy link

kang37 commented Jun 9, 2022

I tried to look up flower-related traits of Olea europaea, however, for the trait "flower_colour_fr", an error was raised. Here is the code and outcome.

tr8(species_list = "Olea europaea", download_list = "flower_colour_fr",
     allow_persistent = TRUE)

The outcome is:

Error in `.rowNamesDF<-`(x, value = value) : 
  duplicate 'row.names' are not allowed
In addition: Warning message:
non-unique value when setting 'row.names': ‘Olea europaea’ 

On the other hand, though no value, there is no problem for other traits:

tr8(species_list = "Olea europaea", download_list = "Flower.Color",
     allow_persistent = TRUE)
# the outcome is: 
#               Flower.Color
# Olea europaea         <NA>
GioBo pushed a commit that referenced this issue Jun 9, 2022
@GioBo
Copy link
Owner

GioBo commented Jun 9, 2022

Thanks for reporting the issue: it should have been fixed now in the current 'master' branch here.
Could you please try again using the github devel version (as explained on the main page) and let me know if it works for you? If so, I'll submit the revised version to CRAN.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants