Skip to content

Commit 80daca6

Browse files
committed
Fix comments pointed out by copilot
1 parent 97e6622 commit 80daca6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

R/tm_variable_browser.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ var_summary_table <- function(x, numeric_as_factor, dt_rows, outlier_definition)
604604
#' Creates summary plot with statistics relevant to data type.
605605
#'
606606
#' @inheritParams shared_params
607-
#' @param qenv teal_data object were code should be evaluated.
607+
#' @param qenv teal_data object where code should be evaluated.
608608
#' @param wrap_character (`numeric`) number of characters at which to wrap text values of `var`
609609
#' @param numeric_as_factor (`logical`) should the numeric variable be treated as a factor
610610
#' @param display_density (`logical`) should density estimation be displayed for numeric values
@@ -738,10 +738,10 @@ plot_var_summary <- function(qenv,
738738
))
739739
qenv <- within(qenv,
740740
{
741-
remove_outliers <- remove_outliers_from
742-
ANL <- filter(ANL, remove_outliers(var_name, outlier_definition))
741+
filter_outliers <- filter_outliers
742+
ANL <- filter(ANL, filter_outliers(var_name, outlier_definition))
743743
},
744-
remove_outliers_from = filter_outliers,
744+
filter_outliers = filter_outliers,
745745
var_name = as.name(var_name),
746746
outlier_definition = outlier_definition
747747
)

man/plot_var_summary.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)