Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vignettes/guided_intermediate_split_reqs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@
library(tibble)

tpose_afun <- function(x, .var, .spl_context) {
spldf <<- .spl_context

Check warning on line 420 in vignettes/guided_intermediate_split_reqs.Rmd

View workflow job for this annotation

GitHub Actions / SuperLinter 🦸‍♀️ / Lint R code 🧶

file=vignettes/guided_intermediate_split_reqs.Rmd,line=420,col=9,[assignment_linter] Replace <<- by assigning to a specific environment (with assign() or <-) to avoid hard-to-predict behavior.
mycol <- tail(tail(.spl_context$cur_col_split_val, 1)[[1]], 1)
cell <- switch(mycol,
n = rcell(length(x), format = "xx"),
Expand Down Expand Up @@ -475,7 +475,7 @@
lyt_tpose_cols_only <- basic_table() |>
split_cols_by("ARM", show_colcounts = TRUE) |>
split_cols_by("STUDYID",
split_fun = add_combo_levels(my_combo_df, keep_levels = combo_df$valname),
split_fun = add_combo_levels(my_combo_df, keep_levels = my_combo_df$valname),
show_colcounts = TRUE
)

Expand Down
Loading