Skip to content

Commit

Permalink
re-add aliasing of RefFootnote function so it works with 0.6.6 CRAN r…
Browse files Browse the repository at this point in the history
…elease
  • Loading branch information
gmbecker committed Feb 12, 2024
1 parent 430d296 commit 883df8d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tables-book/04-03-kaplan-meier.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ stitle_txt <- c("x.x.x: Time to First Serious Adverse Event",
resetSession(.kmState)
library(rtables)
## this is exported in development version of rtables, and will be so in the
## next CRAN release
RefFootnote <- rtables:::RefFoonote
cnsr_counter <- function(df, .var, .N_col) {
x <- df[!duplicated(df$USUBJID), .var]
x <- x[x != "__none__"]
Expand Down Expand Up @@ -142,6 +146,11 @@ generated by other systems.
resetSession(.kmState)
library(tern)
## this is exported in development version of rtables, and will be so in the
## next CRAN release
RefFootnote <- rtables:::RefFoonote
adtte3 <- adtte
adtte3$is_event <- adtte$CNSR == 0
adtte3$CNSDTDSC[adtte$CNSDTDSC == ""] <- NA
Expand Down

0 comments on commit 883df8d

Please sign in to comment.