These helper functions just check to see if a species column exists in the data (designated as 'spp' or 'species'). If one of those columns exists, but the column name is not in the levels argument it will get added to levels.
is_spp_in_levels(levels)is_spp_in_data(data)
spp_level(levels)
rm_spp_level(levels)
add_spp_level(data, levels)
A character vector of levels possibly with 'spp' or 'species' added
The levels argument passed from make_halk
A data.frame with length-at-age data