assign_indexclass - add error checking for criteria columns
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
Start by locating assign_indexclass in the R package and read how it checks criteria columns against the input data. Reproduce the issue by renaming a criteria column so it differs from the criteria data frame, then identify where the generic hard exit occurs. Done means mismatched columns produce a clean exit with a message explaining what is wrong.
Written by the indexing model from the issue text.
Description
Describe the bug
Fails when doesn't get expected columns for criteria.
To Reproduce
Rename criteria columns in data different from criteria data frame.
Expected behavior
Should get a clean exit and a message with what is wrong. Instead get a hard exit with a generic message (see image).
Screenshots

Additional context
NA
- 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 ·