Run `testthat::snapshot_review('plotly-symbol/')` to review changes
未关闭
还没有人认领这个 Issue。
- 主要语言
- R
- 星标
- 2.7k
- 派生
- 641
- PR 合并指标
- 30 天内没有已合并 PR
描述
https://github.com/plotly/plotly.R/runs/6295712575?check_suite_focus=true#step:12:1691
Failure (test-plotly-symbol.R:58:3): Can specify a scale manually
Snapshot of path to 'plotly-symbol/plotly-symbol-symbol-manual.svg' has changed
Run testthat::snapshot_review('plotly-symbol/') to review changes
Backtrace:
1. plotly expect_traces(p, 2, "symbol-manual")
at test-plotly-symbol.R:58:2
2. plotly:::expect_doppelganger_built(...)
at test-plotly-symbol.R:4:2
3. plotly:::expect_doppelganger(p, name, ...)
at tests/testthat/helper-vdiffr.R:35:2
4. testthat::expect_snapshot_file(path = path, name = file, cran = FALSE)
at tests/testthat/helper-vdiffr.R:30:2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 test-plotly-symbol.R:58 开始,并按要求运行 testthat::snapshot_review('plotly-symbol/')。检查已更改的快照 plotly-symbol/plotly-symbol-symbol-manual.svg,然后重新运行相关测试,以确认快照审查已解决。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- r
- 领域
- data-visualization, testing
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100