diff --git a/NEWS.md b/NEWS.md index 14e92477c..30d349049 100644 --- a/NEWS.md +++ b/NEWS.md @@ -38,6 +38,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