Skip to content

Commit

Permalink
Add hint to version mismatch test
Browse files Browse the repository at this point in the history
  • Loading branch information
glin committed Jan 20, 2025
1 parent c4e9b91 commit 7f5e34f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/htmlwidgets/reactable.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies:
- name: reactable
version: 0.4.4.9000
version: 0.4.4.9001
src: htmlwidgets
stylesheet: reactable.css
2 changes: 1 addition & 1 deletion tests/testthat/test-reactable.R
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ test_that("reactable_html", {
expect_equal(html, htmltools::tags$div(style = "color: #333;color: red", reactDependencies()))
})

test_that("reactable.yaml widget dependencies are included with correct version", {
test_that("reactable.yaml widget dependencies are included with correct version. If this test fails, update inst/htmlwidgets/reactable.yaml", {
deps <- htmlwidgets::getDependency("reactable")
reactableDep <- Find(function(x) x$name == "reactable", deps)
expect_true(!is.null(reactableDep))
Expand Down

0 comments on commit 7f5e34f

Please sign in to comment.