is.glottolog(c('Kabardian', 'Russian'))
is.glottolog('Buyaka')
if (FALSE) {
# Add warning message with sugestions
is.glottolog(c('Adyge', 'Russian'), response = TRUE)
# > FALSE TRUE
# Warning message:
# In is.glottolog(c('Kabardia', 'Russian'), response = TRUE) :
# Language Kabardia is absent in our version of the Glottolog database.
# Did you mean Kabardian, Greater Kabardian?
}
Run the code above in your browser using DataLab