leppott / MBSStools

Suite of tools for data manipulation and calculations for Maryland DNR MBSS program.
https://leppott.github.io/MBSStools/
GNU General Public License v3.0
3 stars 3 forks source link

Update metric.scores warning and error messages. #20

Closed leppott closed 4 years ago

leppott commented 5 years ago

Is your feature request related to a problem? Please describe. Warning and error messages in metric.scores don't always space and/or paste correctly.

Describe the solution you'd like See BioMonTools package for updates.

Describe alternatives you've considered NA

Additional context Non-critical.

leppott commented 4 years ago

Add unexpected data frame (mtcars) into the functions metric.values and metric.scores to test error messages.

metric.values() Test for both bugs and fish.

image

metric.scores() image

leppott commented 4 years ago

Fixed for metric.values for both bugs and fish. All fields included now.

image

leppott commented 4 years ago

metric.scores() doesn't need the extra layer of QC. User is input includes metric names, index name, and index region. Will error with no other checks needed.