-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Honoring
start.time
specifications (#197)
* updates * Update test-tidy_survfit.R * test updates * Update test-add_risktable.R * removing base R pipe
- Loading branch information
Showing
8 changed files
with
923 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: ggsurvfit | ||
Title: Flexible Time-to-Event Figures | ||
Version: 1.0.0.9000 | ||
Version: 1.0.0.9001 | ||
Authors@R: c( | ||
person("Daniel D.", "Sjoberg", , "[email protected]", role = c("aut", "cre", "cph"), | ||
comment = c(ORCID = "0000-0003-0862-2018")), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
351 changes: 351 additions & 0 deletions
351
tests/testthat/_snaps/add_risktable/sf-negative-time.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# tidy_survfit() messaging | ||
|
||
Code | ||
survfit(Surv(time - 500, status) ~ 1, df_lung) %>% tidy_survfit() %>% invisible() | ||
Message | ||
! Setting start time to -499.835728952772. | ||
i Specify `ggsurvfit::survfit2(start.time)` to override this default. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters