Skip to content

Commit

Permalink
206: skip flaky test on CRAN (#207)
Browse files Browse the repository at this point in the history
skip flaky test on CRAN
  • Loading branch information
danielinteractive authored Dec 19, 2022
1 parent 04c8999 commit 2fdbb02
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: mmrm
Title: Mixed Models for Repeated Measures
Version: 0.2.1
Version: 0.2.2
Authors@R: c(
person("Daniel", "Sabanes Bove", , "[email protected]", role = c("aut", "cre")),
person("Julia", "Dedic", , "[email protected]", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mmrm 0.2.1
# mmrm 0.2.2

### New Features

Expand Down
4 changes: 3 additions & 1 deletion tests/testthat/test-fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ test_that("mmrm works as expected for toeplitz", {
## general ----

test_that("mmrm falls back to other optimizers if default does not work", {
skip_on_cran()

formula <- FEV1 ~ RACE + SEX + ARMCD * AVISIT + us(AVISIT | USUBJID)
data_small <- fev_data[1:50, ]
# Default does not work.
Expand Down Expand Up @@ -343,7 +345,7 @@ test_that("mmrm works for specific small data example", {
id = "USUBJID",
visit = "AVISIT"
)
fit <- expect_silent(mmrm::mmrm(
fit <- expect_silent(mmrm(
formula = FEV1 ~ AVISIT + ar1(AVISIT | USUBJID),
data = small_dat
))
Expand Down

0 comments on commit 2fdbb02

Please sign in to comment.