# NOT RUN {
# An accepted name
(TPLck("Amblystegium serpens juratzkanum"))
# An unresolved name
(TPLck("Bryum capillare cenomanicum"))
# A synonym
(TPLck("Pottia acutidentata"))
# A misapplied name
(TPLck("Colutea istria"))
# A name that is not in TPL
(TPLck("Hypochoeris balbisii"))
# A spelling error in the specific epithet
(TPLck("Pohlia longicola", corr = TRUE))
# A spelling error that is not corrected ('max.distance' defaults to 1)
(TPLck("Microbryum curvicollum", corr = TRUE))
# If increasing 'max.distance', the spelling error is accounted for
(TPLck("Microbryum curvicollum", corr = TRUE, max.distance = 3))
# A spelling error where the ending is changed to the
# neuter/feminine form
(TPLck("Symphytum officinalis"))
(TPLck("Schinus terebinthifolium"))
# A spelling error that is not corrected because two different results
# are possible (see Details)
(TPLck("Acacia macrocantha"))
# A taxon matched through author name
(TPLck("Gladiolus communis L. subsp. byzantinus (Mill.) A.P.Ham."))
# If only the current author is provided (without the author of the
# basionym), the function still matches the correct taxon (even though
# adist returns a better overall match for the author of the homonym,
# Abies alba Mill.)
(TPLck("Abies alba Michx."))
# A difference between TPL versions 1.0 and 1.1
(TPLck("Fallopia japonica", version = "1.0"))
(TPLck("Fallopia japonica", version = "1.1"))
# Avoid illegitimate names when choosing between multiple synonyms
(TPLck("Anthemis altissima"))
# A nominal subspecies not in TPL (Higher.level == TRUE;
# Plant.Name.Index == TRUE)
(TPLck("Callitriche brutia Petagna subsp. brutia"))
# A variety not in TPL (Higher.level == TRUE; Plant.Name.Index == FALSE)
(TPLck("Asplenium ruta-muraria var. lanceolum"))
# A taxon matched through infraspecific rank abbreviation
(TPLck("Heliopsis helianthoides subsp. scabra"))
# Drop variety and keep subspecies
(TPLck("Vicia sativa L. subsp. nigra (L.) Ehrh. var. minor (Bertol.)
Gaudin", drop.lower.level = TRUE))
# Drop nominal subspecies and keep variety
(TPLck("Anagallis arvensis subsp. arvensis var. caerulea",
drop.lower.level = TRUE))
# }
Run the code above in your browser using DataLab