Skip to content

Commit

Permalink
resolve green ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu committed Sep 3, 2024
1 parent 66bb8f8 commit 59df99a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ Suggests:
testthat (>= 3.1.9),
withr (>= 2.0.0)
VignetteBuilder:
knitr
knitr,
rmarkdown
RdMacros:
lifecycle,
Rdpack
Expand Down
1 change: 0 additions & 1 deletion tests/testthat/setup.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Extra libraries (suggested) for tests
library(dplyr)
library(nestcolor)

# skip_if_too_deep
skip_if_too_deep <- function(depth) {
Expand Down
3 changes: 3 additions & 0 deletions tests/testthat/test-individual_patient_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ adlb <- tern_ex_adlb %>%
slice(1:36)

testthat::test_that("h_g_ipp works correctly", {
require("nestcolor", quietly = TRUE)
skip_if_not_installed("nestcolor")

testthat::expect_silent(h_g_ipp(
df = adlb,
xvar = "AVISIT",
Expand Down

0 comments on commit 59df99a

Please sign in to comment.