Skip to content

Commit d387ebe

Browse files
authored
Update modules' code for reproducibility (#360)
set.seed needs to be linked for hashes verifictation related to insightsengineering/teal.gallery#213
1 parent 81ef369 commit d387ebe

10 files changed

+10
-8
lines changed

R/tm_g_gh_boxplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
#' "B: Placebo" = "Placebo",
6464
#' "C: Combination" = "Combination"
6565
#' )
66-
#' set.seed(1)
66+
#' set.seed(1) # @linksto ADSL ADLB
6767
#' ADSL <- rADSL
6868
#' ADLB <- rADLB
6969
#' .var_labels <- lapply(ADLB, function(x) attributes(x)$label)

R/tm_g_gh_correlationplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#' # assign LOQ flag symbols: circles for "N" and triangles for "Y", squares for "NA"
7171
#' .shape_manual <- c("N" = 1, "Y" = 2, "NA" = 0)
7272
#'
73-
#' set.seed(1)
73+
#' set.seed(1) # @linksto ADSL ADLB
7474
#' ADSL <- rADSL
7575
#' ADLB <- rADLB
7676
#' .var_labels <- lapply(ADLB, function(x) attributes(x)$label)

R/tm_g_gh_density_distribution_plot.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
#' "B: Placebo" = "Placebo",
4747
#' "C: Combination" = "Combination"
4848
#' )
49+
#' set.seed(1) # @linksto ADSL ADLB
4950
#' ADSL <- rADSL
5051
#' ADLB <- rADLB
5152
#' .var_labels <- lapply(ADLB, function(x) attributes(x)$label)

R/tm_g_gh_lineplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
#' "B: Placebo" = "Placebo",
6767
#' "C: Combination" = "Combination"
6868
#' )
69-
#'
69+
#' set.seed(1) # @linksto ADSL ADLB
7070
#' ADSL <- rADSL
7171
#' ADLB <- rADLB
7272
#' .var_labels <- lapply(ADLB, function(x) attributes(x)$label)

R/tm_g_gh_spaghettiplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
#' "B: Placebo" = "Placebo",
7373
#' "C: Combination" = "Combination"
7474
#' )
75-
#' set.seed(1)
75+
#' set.seed(1) # @linksto ADSL ADLB
7676
#' ADSL <- rADSL
7777
#' ADLB <- rADLB
7878
#' .var_labels <- lapply(ADLB, function(x) attributes(x)$label)

man/tm_g_gh_boxplot.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_g_gh_correlationplot.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_g_gh_density_distribution_plot.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_g_gh_lineplot.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tm_g_gh_spaghettiplot.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)