Skip to content

Commit

Permalink
✅ suppress message on r-devel when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Sobolewski committed Feb 18, 2025
1 parent 2424d3c commit d2e490d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testthat/test-examples.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ describe("test", {
})

it("should run with shinytest2", {
test_example("examples/shinytest2")
# nolint start
# Produces message on r-devel:
# Superclass process has cloneable=FALSE, but subclass r_process has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for r_process.
# nolint end
suppressMessages(test_example("examples/shinytest2"))
})

it("should run a Scenario with Given, When, Then, And, But keywords", {
Expand Down

0 comments on commit d2e490d

Please sign in to comment.