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

Fix broken pipelines #280

Merged
merged 24 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b846575
add teal.slice to rhub lookup-refs
m7pr Aug 28, 2024
c1afb40
revert teal.slice from rhub lookups
m7pr Aug 28, 2024
ad20538
do not run examples if nestcolor is not installed
m7pr Aug 28, 2024
3f1240a
add teal.slice to Config/Needs/verdepcheck
m7pr Aug 28, 2024
ba57bea
Update DESCRIPTION
m7pr Aug 29, 2024
fe5349b
Merge branch 'main' into fix-pipelines@main
m7pr Aug 30, 2024
350750a
replace requireNamespace("nestcolor") with require("nestcolor")
m7pr Aug 30, 2024
63717c8
Merge branch 'fix-pipelines@main' of https://github.com/insightsengin…
m7pr Aug 30, 2024
ffa06f9
Merge branch 'main' into fix-pipelines@main
m7pr Sep 20, 2024
883e4a2
chore: use revdepcheck.yaml@r-revdepcheck-action-fix_non_cran
walkowif Sep 20, 2024
c4b441a
Merge branch 'main' into fix-pipelines@main
m7pr Oct 3, 2024
c28c02c
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] Oct 3, 2024
689e71e
add teal.slice to lookup-refs for revdepcheck
m7pr Oct 3, 2024
6905ec9
Merge branch 'fix-pipelines@main' of https://github.com/insightsengin…
m7pr Oct 3, 2024
7764bfe
Merge branch 'main' into fix-pipelines@main
m7pr Oct 3, 2024
2b5a86b
change examples to teal_data
m7pr Oct 8, 2024
48ca633
Revert "change examples to teal_data"
m7pr Oct 8, 2024
13ac85a
move teal.data to Imports and change exmaples
m7pr Oct 8, 2024
8e7b32a
remove nestcolor from DEPENDENCIES to simplify examples
m7pr Oct 8, 2024
58395b8
[skip style] [skip vbump] Restyle files
github-actions[bot] Oct 8, 2024
f2cedbe
[skip roxygen] [skip vbump] Roxygen Man Pages Auto Update
dependabot-preview[bot] Oct 8, 2024
01e241d
Update NEWS.md
m7pr Oct 8, 2024
800726c
Update NEWS.md
pawelru Oct 8, 2024
5a2c8c6
Update NEWS.md
pawelru Oct 8, 2024
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
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),
m7pr marked this conversation as resolved.
Show resolved Hide resolved
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
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()`.
m7pr marked this conversation as resolved.
Show resolved Hide resolved

### Breaking Changes
* Adapted all modules to use `teal_data` objects.
Expand Down
3 changes: 1 addition & 2 deletions R/tm_g_ae_oview.R
m7pr marked this conversation as resolved.
Show resolved Hide resolved
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:
Loading