Skip to content

Commit

Permalink
Closes #34: Updated data loading method to use package namespace (#36)
Browse files Browse the repository at this point in the history
* Update data loading method to use package namespace

* Update data loading method to use package namespace

* Update data loading method to use package namespace

* Updated data assignment for loading order of packages
  • Loading branch information
cosmiiccat authored Oct 11, 2024
1 parent 806c0bb commit f29b18d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data-raw/dm_metabolic.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library(dplyr)
library(purrr)

# Import DM data from `pharmaversesdtm` ----
data("dm")
dm <- pharmaversesdtm::dm

# Subset to first 5 subjects ----
dm_subset <- dm |>
Expand Down
4 changes: 2 additions & 2 deletions data-raw/vs_metabolic.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ library(purrr)

## Read input data ----

data("vs")
data("dm_metabolic")
vs <- pharmaversesdtm::vs
dm_metabolic <- admiralmetabolic::dm_metabolic

# Merge vs with dm_metabolic to use the req subjects ----

Expand Down

0 comments on commit f29b18d

Please sign in to comment.