Skip to content

Commit

Permalink
skip R6 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
radbasa committed Oct 2, 2023
1 parent f17cd5b commit 3f3f0e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/Testbox/tests/testthat/test-moduleR6.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ box::use(
)

test_that("TestR6 class can be instantiated", {
skip_if(is_r_devel())
t1 <- moduleR6$TestR6$new() # nolint

expect_s3_class(t1, "R6")
expect_s3_class(t1, "TestR6")
})

test_that("TestR6 Methods can be evaluated", {
skip_if(is_r_devel())
t1 <- moduleR6$TestR6$new() # nolint

expect_equal(t1$show(), 4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ box::use(
)

test_that("TestR6 class can be instantiated", {
skip_if(is_r_devel())
t1 <- TestR6$new() # nolint

expect_s3_class(t1, "R6")
expect_s3_class(t1, "TestR6")
})

test_that("TestR6 Methods can be evaluated", {
skip_if(is_r_devel())
t1 <- TestR6$new() # nolint

expect_equal(t1$show(), 4)
Expand Down

0 comments on commit 3f3f0e5

Please sign in to comment.