Skip to content

Commit

Permalink
87 remove datasets - decrease package size (#818)
Browse files Browse the repository at this point in the history
In the spirit of package size reduction
insightsengineering/nestdevs-tasks#87
I replaced all the calls for tmg datasets with their respective datasets
from teal.data.
This way we no longer need to have datasets copies in tmg.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
m7pr and github-actions[bot] authored Dec 16, 2024
1 parent 46e5267 commit 5cf5f14
Show file tree
Hide file tree
Showing 54 changed files with 103 additions and 257 deletions.
39 changes: 0 additions & 39 deletions R/data.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/tm_a_pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_a_regression.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_data_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_front_page.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' attr(ADSL, "metadata") <- list("Author" = "NEST team", "data_source" = "synthetic data")
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_association.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_bivariate.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_distribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
#' # CDISC data example
#' data <- teal_data()
#' data <- within(data, {
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_response.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_g_scatterplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
4 changes: 2 additions & 2 deletions R/tm_g_scatterplotmatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
#' # CDISC data example
#' data <- teal_data()
#' data <- within(data, {
#' ADSL <- rADSL
#' ADRS <- rADRS
#' ADSL <- teal.data::rADSL
#' ADRS <- teal.data::rADRS
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_missing_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
#' data <- teal_data()
#' data <- within(data, {
#' require(nestcolor)
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' ADRS <- rADRS
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
Expand Down
2 changes: 1 addition & 1 deletion R/tm_outliers.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
#' # CDISC data example
#' data <- teal_data()
#' data <- within(data, {
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
2 changes: 1 addition & 1 deletion R/tm_t_crosstable.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
#' # CDISC data example
#' data <- teal_data()
#' data <- within(data, {
#' ADSL <- rADSL
#' ADSL <- teal.data::rADSL
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
4 changes: 2 additions & 2 deletions R/tm_variable_browser.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
#' library(sparkline)
#' data <- teal_data()
#' data <- within(data, {
#' ADSL <- rADSL
#' ADTTE <- rADTTE
#' ADSL <- teal.data::rADSL
#' ADTTE <- teal.data::rADTTE
#' })
#' join_keys(data) <- default_cdisc_join_keys[names(data)]
#'
Expand Down
15 changes: 0 additions & 15 deletions data-raw/data.R

This file was deleted.

Binary file removed data/rADAE.rda
Binary file not shown.
Binary file removed data/rADLB.rda
Binary file not shown.
Binary file removed data/rADRS.rda
Binary file not shown.
Binary file removed data/rADSL.rda
Binary file not shown.
Binary file removed data/rADTTE.rda
Binary file not shown.
20 changes: 0 additions & 20 deletions man/rADAE.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/rADLB.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/rADRS.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/rADSL.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/rADTTE.Rd

This file was deleted.

6 changes: 3 additions & 3 deletions man/tm_a_pca.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/tm_a_regression.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/tm_data_table.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5cf5f14

Please sign in to comment.