ropensci / taxlist

Handling taxonomic lists
https://docs.ropensci.org/taxlist/
12 stars 4 forks source link

Problems with summary() and print() for lists with basionyms #28

Open kamapu opened 1 year ago

kamapu commented 1 year ago

This problem is evident in this example:

summary(Easplist, 50074)
basionym(Easplist, 50074) <- 53097

Check the output:

------------------------------ 
concept ID: 50074 
view ID: 1 
level: species 
parent: 55055 Cyclosorus Link 

# accepted name: 
50074 Cyclosorus interruptus (Willd.) H. Itô 

# basionym: 
numeric(0) character(0) character(0) 

# synonyms (13): 
52002 Dryopteris gongylodes (Schkuhr) Kuntze 
52008 Thelypteris interrupta (Willd.) K. Iwats. 
52009 Cyclosorus striatus Ching 
53097 Pteris interrupta Willd. 
53098 Aspidium continuum Desv. 
53099 Aspidium ecklonii Kunze 
53100 Aspidium gongylodes Schkuhr 
53101 Aspidium obtusatum Sw. 
53102 Aspidium pteroides (Retz.) Sw. 
53103 Aspidium serra (Sw.) Sw. 
53104 Aspidium serratum Sw. 
53105 Aspidium unitum (L.) Sw. 
53106 Nephrodium propinquum R. Br. 
------------------------------