Suppress printing in tests
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
定位当前会打印消息的测试,并审查 #583 中的其他案例。确定每条消息应在其源头处理,还是使用 testthat::expect_message() 断言;完成的标准是,相关测试不再打印意外输出,同时仍检查预期消息。
由索引模型根据 Issue 内容生成。
描述
Currently, a few tests print messages and #583 adds more tests that do that. It would be nicer to have those tests not print anything ideally by
- addressing the reason they print something or
- capturing the expected message using
testthat::expect_message()
Just suppressing messages would be less ideal and we might want to go over existing tests that do that and change the way we handle that to one of the two options above.
- 主要语言
- R
- 星标
- 65
- 派生
- 24
- 平均合并
- 1 小时 24 分钟
- 30 天内合并 PR
- 2
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
epiforecasts/scoringutils 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
epiforecasts/scoringutils#1264 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
epiforecasts/scoringutils#1265 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
epiforecasts/scoringutils#1260 ·
维护者通常 1 天内回复
-
Incorrect guidance in `NEWS.md` re `add_relative_skill()`?可能已有人在做 @nikosbosse 于 3 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
epiforecasts/scoringutils#1226 · 1 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
get_pit_histogram(): unsorted breaks produce negative densities; num_bins = 1 returns an empty table可能已有人在做 @nikosbosse 于 3 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
epiforecasts/scoringutils#1219 ·
维护者通常 1 天内回复
查看 epiforecasts/scoringutils 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
waldronlab/bugphyzz#301 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 78/100
r-lib/tree-sitter-r#209 ·
-
难度 1/5 1 小时以内 新手友好度 67/100
-
难度 1/5 1 小时以内 新手友好度 79/100
cran-task-views/CausalInference#52 · 1 条评论 ·