Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

87 remove datasets - decrease package size #228

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
11 changes: 4 additions & 7 deletions R/choices_labeled.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@
#'
#' @examples
#' library(shiny)
#' library(teal.data)
#'
#' ADSL <- rADSL
#' ADTTE <- rADTTE
#' ADSL <- teal.data::rADSL
#' ADTTE <- teal.data::rADTTE
#'
#' choices1 <- choices_labeled(names(ADSL), col_labels(ADSL, fill = FALSE))
#' choices2 <- choices_labeled(ADTTE$PARAMCD, ADTTE$PARAM)
Expand Down Expand Up @@ -150,9 +149,7 @@ choices_labeled <- function(choices, labels, subset = NULL, types = NULL) {
#' @return Named `character` vector with additional attributes or `delayed_data` object.
#'
#' @examples
#' library(teal.data)
#'
#' ADRS <- rADRS
#' ADRS <- teal.data::rADRS
#' variable_choices(ADRS)
#' variable_choices(ADRS, subset = c("PARAM", "PARAMCD"))
#' variable_choices(ADRS, subset = c("", "PARAM", "PARAMCD"))
Expand Down Expand Up @@ -267,7 +264,7 @@ variable_choices.data.frame <- function(data, subset = NULL, fill = TRUE, key =
#' @return named character vector or `delayed_data` object.
#'
#' @examples
#' ADRS <- rADRS
#' ADRS <- teal.data::rADRS
#' value_choices(ADRS, "PARAMCD", "PARAM", subset = c("BESRSPI", "INVET"))
#' value_choices(ADRS, c("PARAMCD", "ARMCD"), c("PARAM", "ARM"))
#' value_choices(ADRS, c("PARAMCD", "ARMCD"), c("PARAM", "ARM"),
Expand Down
2 changes: 1 addition & 1 deletion R/choices_selected.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ no_select_keyword <- "-- no selection --"
#' selected = "C"
#' )
#'
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' choices_selected(variable_choices(ADSL), "SEX")
#'
#' # How to select nothing
Expand Down
59 changes: 0 additions & 59 deletions R/data.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/resolve_delayed.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' @examples
#' library(shiny)
#'
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' isolate({
#' data_list <- list(ADSL = reactive(ADSL))
#'
Expand Down
19 changes: 0 additions & 19 deletions data-raw/data.R

This file was deleted.

Binary file removed data/rADAE.rda
Binary file not shown.
Binary file removed data/rADLB.rda
Binary file not shown.
Binary file removed data/rADRS.rda
Binary file not shown.
Binary file removed data/rADSL.rda
Binary file not shown.
Binary file removed data/rADTTE.rda
Binary file not shown.
5 changes: 2 additions & 3 deletions man/choices_labeled.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/choices_selected.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions man/rADAE.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/rADLB.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/rADRS.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/rADSL.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/rADTTE.Rd

This file was deleted.

2 changes: 1 addition & 1 deletion man/resolve_delayed.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/value_choices.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions man/variable_choices.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading