diff --git a/DESCRIPTION b/DESCRIPTION index 2641c4d2f..8650c861e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Type: Package Package: teal.modules.general Title: General Modules for 'teal' Applications -Version: 0.3.0.9030 -Date: 2024-05-10 +Version: 0.3.0.9031 +Date: 2024-05-16 Authors@R: c( person("Dawid", "Kaledkowski", , "dawid.kaledkowski@roche.com", role = c("aut", "cre")), person("Pawel", "Rucki", , "pawel.rucki@roche.com", role = "aut"), diff --git a/NEWS.md b/NEWS.md index a00bd650c..5f5d5b9ad 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# teal.modules.general 0.3.0.9030 +# teal.modules.general 0.3.0.9031 * Removed `Show Warnings` modals from modules. @@ -41,6 +41,7 @@ * Removed `scda` package dependency from examples. * Replaced deprecated `ggplot2` functions `..count..`, `..density..` and `..prop..`. * Version bump on `forcats` dependency. +* Replaced `scda` data generation functions with `random.cdisc.data` # teal.modules.general 0.2.15 diff --git a/data-raw/data.R b/data-raw/data.R index 37c73cef8..a01b65119 100644 --- a/data-raw/data.R +++ b/data-raw/data.R @@ -1,16 +1,15 @@ ## code to prepare `data` for testing examples -library(scda) -rADAE <- synthetic_cdisc_data("latest")$adae +rADAE <- random.cdisc.data::cadae usethis::use_data(rADAE) -rADLB <- synthetic_cdisc_data("latest")$adlb +rADLB <- random.cdisc.data::cadlb usethis::use_data(rADLB) -rADRS <- synthetic_cdisc_data("latest")$adrs +rADRS <- random.cdisc.data::cadrs usethis::use_data(rADRS) -rADSL <- synthetic_cdisc_data("latest")$adsl +rADSL <- random.cdisc.data::cadsl usethis::use_data(rADSL) -rADTTE <- synthetic_cdisc_data("latest")$adtte +rADTTE <- random.cdisc.data::cadtte usethis::use_data(rADTTE) diff --git a/data/rADAE.rda b/data/rADAE.rda index 79e649aba..a1ad1463f 100644 Binary files a/data/rADAE.rda and b/data/rADAE.rda differ diff --git a/data/rADLB.rda b/data/rADLB.rda index 4b7a32d16..188087301 100644 Binary files a/data/rADLB.rda and b/data/rADLB.rda differ diff --git a/data/rADRS.rda b/data/rADRS.rda index 4326d0ea1..9c434fe2f 100644 Binary files a/data/rADRS.rda and b/data/rADRS.rda differ diff --git a/data/rADSL.rda b/data/rADSL.rda index 9af6f9a1f..3f3705330 100644 Binary files a/data/rADSL.rda and b/data/rADSL.rda differ diff --git a/data/rADTTE.rda b/data/rADTTE.rda index 78302074d..a9158029d 100644 Binary files a/data/rADTTE.rda and b/data/rADTTE.rda differ