Skip to content

Commit

Permalink
Fix broken pipelines (#280)
Browse files Browse the repository at this point in the history
Fix #279

---------

Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com>
Signed-off-by: Pawel Rucki <12943682+pawelru@users.noreply.github.com>
Co-authored-by: Franciszek Walkowiak <franciszek.walkowiak@roche.com>
Co-authored-by: 27856297+dependabot-preview[bot]@users.noreply.github.com <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Pawel Rucki <12943682+pawelru@users.noreply.github.com>
  • Loading branch information
5 people authored Oct 8, 2024
1 parent e8fbd7a commit 44e1147
Show file tree
Hide file tree
Showing 22 changed files with 46 additions and 60 deletions.
1 change: 1 addition & 0 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
insightsengineering/teal.transform
insightsengineering/formatters
insightsengineering/teal.code
insightsengineering/teal.slice
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
Expand Down
8 changes: 3 additions & 5 deletions 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 @@ -42,9 +43,7 @@ Imports:
Suggests:
knitr (>= 1.42),
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 All @@ -54,9 +53,8 @@ Config/Needs/verdepcheck: insightsengineering/osprey, rstudio/shiny,
rstudio/shinyvalidate, insightsengineering/teal.code,
insightsengineering/teal.logger, insightsengineering/teal.reporter,
insightsengineering/teal.widgets, insightsengineering/tern,
tidyverse/tidyr, yihui/knitr, insightsengineering/nestcolor,
rstudio/rmarkdown, insightsengineering/teal.data, r-lib/testthat,
r-lib/withr
tidyverse/tidyr, yihui/knitr, rstudio/rmarkdown,
insightsengineering/teal.data, r-lib/testthat, r-lib/withr
Config/Needs/website: insightsengineering/nesttemplate
Encoding: UTF-8
Language: en-US
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# teal.osprey 0.1.16.9028

* Removed `Show Warnings` modals from modules.
* Moved `teal.data` from `Suggests` to `Imports`.
* Changed examples from `cdisc_data()` to `teal_data()`.

### Breaking Changes
* Adapted all modules to use `teal_data` objects.
Expand Down
3 changes: 1 addition & 2 deletions R/tm_g_ae_oview.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
#' @export
#'
#' @examples
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
#' ADAE <- rADAE
#' add_event_flags <- function(dat) {
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
3 changes: 1 addition & 2 deletions R/tm_g_butterfly.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@
#'
#' @examples
#' # Example using stream (ADaM) dataset
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(dplyr)
#' library(nestcolor)
#' set.seed(23)
#' ADSL <- rADSL
#' ADAE <- rADAE
Expand Down
3 changes: 1 addition & 2 deletions R/tm_g_events_term_id.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
#' @author Molly He (hey59) \email{hey59@gene.com}
#'
#' @examples
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
#' ADAE <- rADAE
#' })
Expand Down
3 changes: 1 addition & 2 deletions R/tm_g_heat_bygrade.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@
#' @export
#'
#' @examples
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(dplyr)
#' library(nestcolor)
#' ADSL <- rADSL %>% slice(1:30)
#' ADEX <- rADEX %>% filter(USUBJID %in% ADSL$USUBJID)
#' ADAE <- rADAE %>% filter(USUBJID %in% ADSL$USUBJID)
Expand Down
3 changes: 1 addition & 2 deletions R/tm_g_patient_profile.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@
#' @export
#'
#' @examples
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
#' ADAE <- rADAE %>% mutate(ASTDT = as.Date(ASTDTM), AENDT = as.Date(AENDTM))
#' ADCM <- rADCM %>% mutate(ASTDT = as.Date(ASTDTM), AENDT = as.Date(AENDTM))
Expand Down
3 changes: 1 addition & 2 deletions R/tm_g_spiderplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
#'
#' @examples
#' # Example using stream (ADaM) dataset
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
#' ADTR <- rADTR
#' })
Expand Down
23 changes: 12 additions & 11 deletions R/tm_g_swimlane.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,18 @@
#'
#' @examples
#' # Example using stream (ADaM) dataset
#' data <- cdisc_data() |>
#' within(library(dplyr)) |>
#' within(library(nestcolor)) |>
#' within(ADSL <- rADSL %>%
#' mutate(TRTDURD = as.integer(TRTEDTM - TRTSDTM) + 1) %>%
#' filter(STRATA1 == "A" & ARMCD == "ARM A")) |>
#' within(ADRS <- rADRS %>%
#' filter(PARAMCD == "LSTASDI" & DCSREAS == "Death") %>%
#' mutate(AVALC = DCSREAS, ADY = EOSDY) %>%
#' rbind(rADRS %>% filter(PARAMCD == "OVRINV" & AVALC != "NE")) %>%
#' arrange(USUBJID))
#' data <- teal_data() |>
#' within({
#' library(dplyr)
#' ADSL <- rADSL %>%
#' mutate(TRTDURD = as.integer(TRTEDTM - TRTSDTM) + 1) %>%
#' filter(STRATA1 == "A" & ARMCD == "ARM A")
#' ADRS <- rADRS %>%
#' filter(PARAMCD == "LSTASDI" & DCSREAS == "Death") %>%
#' mutate(AVALC = DCSREAS, ADY = EOSDY) %>%
#' rbind(rADRS %>% filter(PARAMCD == "OVRINV" & AVALC != "NE")) %>%
#' arrange(USUBJID)
#' })
#'
#' datanames(data) <- c("ADSL", "ADRS")
#' join_keys(data) <- default_cdisc_join_keys[datanames(data)]
Expand Down
3 changes: 1 addition & 2 deletions R/tm_g_waterfall.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@
#' @author houx14 \email{houx14@gene.com}
#'
#' @examples
#' data <- cdisc_data() |>
#' data <- teal_data() |>
#' within({
#' library(nestcolor)
#' ADSL <- rADSL
#' ADRS <- rADRS
#' ADTR <- rADTR
Expand Down
3 changes: 1 addition & 2 deletions 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.

3 changes: 1 addition & 2 deletions man/tm_g_butterfly.Rd

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

3 changes: 1 addition & 2 deletions man/tm_g_events_term_id.Rd

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

3 changes: 1 addition & 2 deletions man/tm_g_heat_bygrade.Rd

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

3 changes: 1 addition & 2 deletions man/tm_g_patient_profile.Rd

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

3 changes: 1 addition & 2 deletions man/tm_g_spiderplot.Rd

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

23 changes: 12 additions & 11 deletions man/tm_g_swimlane.Rd

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

3 changes: 1 addition & 2 deletions man/tm_g_waterfall.Rd

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

3 changes: 0 additions & 3 deletions staged_dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ upstream_repos:
insightsengineering/formatters:
repo: insightsengineering/formatters
host: https://github.com
insightsengineering/nestcolor:
repo: insightsengineering/nestcolor
host: https://github.com
downstream_repos:

0 comments on commit 44e1147

Please sign in to comment.