Skip to content

Commit

Permalink
replace use of scda with random.cdisc.data
Browse files Browse the repository at this point in the history
  • Loading branch information
ayogasekaram committed May 15, 2024
1 parent f3b0187 commit be5aca8
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 5 additions & 6 deletions data-raw/data.R
Original file line number Diff line number Diff line change
@@ -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)
Binary file modified data/rADAE.rda
Binary file not shown.
Binary file modified data/rADLB.rda
Binary file not shown.
Binary file modified data/rADRS.rda
Binary file not shown.
Binary file modified data/rADSL.rda
Binary file not shown.
Binary file modified data/rADTTE.rda
Binary file not shown.

0 comments on commit be5aca8

Please sign in to comment.