-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metric.values - required fields (more than described in help) #13
Comments
Possible code fix.
|
col.req <- c("SAMPLEID, "TAXAID", "N_TAXA", "EXCLUDE", "INDEX_NAME", "SITE_TYPE", "NONTARGET", "PHYLUM", "SUBPHYLUM", "CLASS", "ORDER", "FAMILY", "SUBFAMILY", "TRIBE", "GENUS", "FFG", "HABIT", "LIFE_CYCLE", "TOLVAL", "BCG_ATTR", "THERMAL_INDICATOR") |
metric.values missing fields. Issue #13
Still have to update Vignette. |
Describe the bug
The function metric.values doesn't work unless have more fields than specified in help file.
To Reproduce
Steps to reproduce the behavior:
col.help <- c("SAMPLEID, "TAXAID", "N_TAXA", "EXCLUDE", "SITE_TYPE", "NONTARGET", "PHYLUM", "CLASS", "ORDER", "FAMILY", "SUBFAMILY", "GENUS", "FFG", "HABIT", "LIFE_CYCLE", "TOLVAL", "BCG_ATTR")
col.needed <- c("INDEX_NAME", "SITE_TYPE", "THERMAL_INDICATOR", "SUBPHYLUM", "TRIBE").
Expected behavior
Would be beneficial to:
check for all required fields in the function and return an error code if missing.
Have all required fields stated in the help file.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: