Skip to content

Commit 7683048

Browse files
committed
No prefixes
1 parent 4edbafa commit 7683048

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/testthat/_snaps/ard_survival_survfit.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -328,19 +328,19 @@
328328
---
329329

330330
Code
331-
cardx::ard_survival_survfit(x = cards::ADTTE, formula = survival::Surv(ttdeath,
332-
death) ~ trt, variables = "trt", probs = c(0.25, 0.5, 0.75))
331+
ard_survival_survfit(x = cards::ADTTE, formula = survival::Surv(ttdeath, death) ~
332+
trt, variables = "trt", probs = c(0.25, 0.5, 0.75))
333333
Condition
334-
Error in `cardx::ard_survival_survfit()`:
334+
Error in `ard_survival_survfit()`:
335335
! The `y` argument cannot be missing.
336336

337337
---
338338

339339
Code
340-
cardx::ard_survival_survfit(x = cards::ADTTE, y = survival::Surv(ttdeath, death) ~
341-
tte, probs = c(0.25, 0.5, 0.75))
340+
ard_survival_survfit(x = cards::ADTTE, y = survival::Surv(ttdeath, death) ~ tte,
341+
probs = c(0.25, 0.5, 0.75))
342342
Condition
343-
Error in `cardx::ard_survival_survfit()`:
343+
Error in `ard_survival_survfit()`:
344344
! The `variables` argument cannot be missing.
345345

346346
# ard_survival_survfit() errors with stratified Cox model

tests/testthat/test-ard_survival_survfit.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ test_that("ard_survival_survfit() errors are properly handled", {
142142
)
143143

144144
expect_snapshot(
145-
cardx::ard_survival_survfit(
145+
ard_survival_survfit(
146146
x = cards::ADTTE,
147147
formula = survival::Surv(ttdeath, death) ~ trt,
148148
variables = "trt",
@@ -152,7 +152,7 @@ test_that("ard_survival_survfit() errors are properly handled", {
152152
)
153153

154154
expect_snapshot(
155-
cardx::ard_survival_survfit(
155+
ard_survival_survfit(
156156
x = cards::ADTTE,
157157
y = survival::Surv(ttdeath, death) ~ tte,
158158
probs = c(0.25, 0.50, 0.75)

0 commit comments

Comments
 (0)