This function allows you to check if there are errors in your fish species list and returns inaccurate scientific names

name_errors(sp)

Arguments

sp

A vector containing all your scientific species names.

Value

A vector with the incorrect species names.

Examples

if (FALSE) {
library(fishflux)
name_errors(c("Chlorurus spilurus", "Zebrasoma scopas"))
name_errors(c("Chlorurus spilurus", "Zebrasoma copas"))}