Let summary function works on obs without providing sim argument (and opposite)
@vrahier is already working on this.
Since Dec 3, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 42/100
Research direction
The errors name is.factor(object) and statistics_situations requiring both obs and sim. Locate the summary method for the package objects and make obs and sim optional so each path can emit basic counts and means when the other argument is missing. Confirm with whatever tests already cover summary or situations; there is no linked PR and the issue is years old with no comments.
Written by the indexing model from the issue text.
Description
summary(obs=obs)
gives
"Error in is.factor(object) : l'argument "object" est manquant, avec aucune valeur par défaut"
summary(sim)
gives
"Error in statistics_situations(..., obs = obs, stat = stat, all_situations = all_situations, : l'argument "obs" est manquant, avec aucune valeur par défaut"
This would be useful to have basic stats on obs or sim (e.g. number of observations in total or per situation, mean values).
- Dominant language
- R
- Stars
- 1
- Forks
- 3
- Avg merge
- 9h 41m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 SticsRPacks/CroPlotR
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SticsRPacks/CroPlotR#185 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SticsRPacks/CroPlotR#180 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
SticsRPacks/CroPlotR#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 57/100
SticsRPacks/CroPlotR#181 ·
-
enhancement
Difficulty 3/5 Half a day Newbie friendliness 64/100
SticsRPacks/CroPlotR#173 ·
All issues in SticsRPacks/CroPlotR
Similar issues
-
1.7
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pharmaverse/admiral#3235 ·
Maintainers usually reply within 2 days
-
Typo: p.381Open
Difficulty 1/5 Under an hour Newbie friendliness 95/100
rmcelreath/rethinking#482 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day