Skip to content

Commit

Permalink
fix: moved skip to correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
tilltnet committed May 13, 2022
1 parent 01d0558 commit 03b51ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-ei.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test_that("EI() works.",
skip_on_cran()
{
skip_on_cran()
eigor <- make_egor(net.count = 6, max.alters = 20)

expect_error(EI(object = eigor, alt.attr = "age"), NA, label = "regular")
Expand Down Expand Up @@ -82,6 +82,7 @@ test_that("EI() works with include.ego",

test_that("EI() works rescale TRUE/FALSE",
{
skip_on_cran()
eigor <- make_egor(net.count = 6, max.alters = 20)
expect_error({
EI(object = eigor, alt.attr = "age", rescale = FALSE)
Expand Down

0 comments on commit 03b51ae

Please sign in to comment.