Warning messages - clean up
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by locating the metric.values function and how it passes metric columns to reshape2::melt. The issue reports a second warning caused by all-NA fields being treated as logical; check how those fields are handled and compare the warnings on the example shown in the attached image. Done means the redundant warning is removed while the missing-column warning remains.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Clean up warning messages when have missing columns for metrics. The first warning is ok. The 2nd is a product of the first (All NA fields go to logical class). The 2nd is an issue with classes of columns and reshape2::melt.
Describe the solution you'd like
Probably check for an "logical" fields and convert to numeric before use reshape2::melt in metric.values function.
Describe alternatives you've considered
NA
Additional context

- Dominant language
- R
- Stars
- 15
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from leppott/BioMonTools
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
leppott/BioMonTools#162 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
leppott/BioMonTools#156 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
leppott/BioMonTools#160 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
leppott/BioMonTools#158 ·
-
More TolVal fieldsOpen
Difficulty 4/5 3-5 days Newbie friendliness 43/100
leppott/BioMonTools#146 · 2 comments ·
All issues in leppott/BioMonTools
Similar issues
-
publications
Difficulty 1/5 Under an hour Newbie friendliness 85/100
epiforecasts/epiforecasts.github.io#161 ·
Maintainers usually reply within 1 day
-
Label `{sas}` chunk source as `sas` instead of `txt`, so it gets syntax highlightingPossibly taken @michaelmayer2 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
microbiome/OMA#1031 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ThinkR-open/golem#1265 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
furrer-lab/abn#291 · 2 comments ·