Skip to content

Commit

Permalink
move teal.data to Imports and change exmaples
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Oct 8, 2024
1 parent 48ca633 commit 13ac85a
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Imports:
lifecycle (>= 0.2.0),
shinyvalidate,
teal.code (>= 0.4.1.9009),
teal.data (>= 0.3.0.9018),
teal.logger (>= 0.2.0.9004),
teal.reporter (>= 0.2.0),
teal.widgets (>= 0.4.0),
Expand All @@ -44,7 +45,6 @@ Suggests:
logger (>= 0.2.2),
nestcolor (>= 0.1.0),
rmarkdown (>= 2.23),
teal.data (>= 0.3.0.9018),
testthat (>= 3.1.5),
withr (>= 2.0.0)
Config/Needs/verdepcheck: insightsengineering/osprey, rstudio/shiny,
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# teal.osprey 0.1.16.9028

* Removed `Show Warnings` modals from modules.
* Moved `teal_data` from `Suggests` to `Imports` as it was used in `tm_g_swimlane`. Changed examples from `cdisc_data()` to `teal_data()`.

### Breaking Changes
* Adapted all modules to use `teal_data` objects.
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_ae_oview.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#' @export
#'
#' @examplesIf require("nestcolor")
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_ae_sub.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#'
#' @examples
#' # Example using stream (ADaM) dataset
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' ADSL <- rADSL
#' ADAE <- rADAE
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_butterfly.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#'
#' @examplesIf require("nestcolor")
#' # Example using stream (ADaM) dataset
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(dplyr)
#' library(nestcolor)
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_events_term_id.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' @author Molly He (hey59) \email{[email protected]}
#'
#' @examplesIf require("nestcolor")
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_heat_bygrade.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#' @export
#'
#' @examplesIf require("nestcolor")
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(dplyr)
#' library(nestcolor)
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_patient_profile.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#' @export
#'
#' @examplesIf require("nestcolor")
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_spiderplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#'
#' @examplesIf require("nestcolor")
#' # Example using stream (ADaM) dataset
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_swimlane.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#'
#' @examplesIf require("nestcolor")
#' # Example using stream (ADaM) dataset
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within(library(dplyr)) |>
#' within(library(nestcolor)) |>
#' within(ADSL <- rADSL %>%
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_waterfall.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#' @author houx14 \email{[email protected]}
#'
#' @examplesIf require("nestcolor")
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
Expand Down
2 changes: 1 addition & 1 deletion man/tm_g_ae_oview.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/tm_g_ae_sub.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/tm_g_butterfly.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/tm_g_events_term_id.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/tm_g_heat_bygrade.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/tm_g_patient_profile.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/tm_g_spiderplot.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/tm_g_swimlane.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/tm_g_waterfall.Rd

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

0 comments on commit 13ac85a

Please sign in to comment.