Skip to content

Commit 6f08e3d

Browse files
committed
Correct typo, shorten datases_selected argument's description, remove datanames argument.
1 parent 53ac5be commit 6f08e3d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

R/tm_variable_browser.R

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@
1010
#' @inheritParams teal::module
1111
#' @inheritParams shared_params
1212
#' @param parent_dataname (`character(1)`) string specifying a parent dataset.
13-
#' If it exists in `datanames`then an extra checkbox will be shown to
13+
#' If it exists in `datanames` then an extra checkbox will be shown to
1414
#' allow users to not show variables in other datasets which exist in this `dataname`.
1515
#' This is typically used to remove `ADSL` columns in `CDISC` data.
1616
#' In non `CDISC` data this can be ignored. Defaults to `"ADSL"`.
17-
#' @param datasets_selected (`character`) `r lifecycle::badge("deprecated")` vector of datasets which should be
18-
#' shown, in order. Names must correspond with datasets names.
19-
#' If vector of length zero (default) then all datasets are shown.
20-
#' Note: Only `data.frame` objects are compatible; using other types will cause an error.
17+
#' @param datasets_selected (`character`) `r lifecycle::badge("deprecated")` vector of datasets to show, please
18+
#' use the `datanames` argument.
2119
#'
2220
#' @inherit shared_params return
2321
#'
@@ -127,7 +125,6 @@ tm_variable_browser <- function(label = "Variable Browser",
127125
ui = ui_variable_browser,
128126
datanames = if (all(datanames != "all")) union(datanames, parent_dataname) else "all",
129127
server_args = list(
130-
datanames = datanames,
131128
parent_dataname = parent_dataname,
132129
ggplot2_args = ggplot2_args
133130
),

0 commit comments

Comments
 (0)