From 0eb1978241d22fa07de9b09b66c08d4028d34460 Mon Sep 17 00:00:00 2001 From: "Zhao, Yujie" Date: Tue, 29 Oct 2024 11:19:33 -0400 Subject: [PATCH 1/5] update DESCRIPTION --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 8b8216c2..54ea9523 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: simtrial Type: Package Title: Clinical Trial Simulation -Version: 0.4.1.12 +Version: 0.4.2 Authors@R: c( person("Keaven", "Anderson", email = "keaven_anderson@merck.com", role = c("aut")), person("Yujie", "Zhao", email = "yujie.zhao@merck.com", role = c("ctb","cre")), From bc9264c4f5e7c1086eb0aff464345c60d5dbd76d Mon Sep 17 00:00:00 2001 From: "Zhao, Yujie" Date: Tue, 29 Oct 2024 11:19:41 -0400 Subject: [PATCH 2/5] update NEWS --- NEWS.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/NEWS.md b/NEWS.md index ed92f9df..8530c279 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,34 @@ +# simtrial 0.4.2 + +## Statistcial Improvements + +- Summary function of `sim_gs_n()` is available (#268, thanks to @LittleBeannie). +- The denominator of the milestone test Z-score is corrected (#270, thanks to @LittleBeannie). +- Statistical information is added as output of `sim_gs_n()` (#273, thanks to @LittleBeannie). +- The randomization ratio is built as an attribute of `sim_pw_surv()` and passed into the `wlr()` test (#281, #285 thanks to @LittleBeannie and @jdblischak). +- The sign of the Z-score is unified to positive numbers (#272, #286, thanks to @LittleBeannie and @jdblischak). + +## Computational Improvements + +- The source code of `summary()` is rewrite from `tibble` or `data.fram`e to `data.table`, which is optimized to use as little memory as possible by avoiding making unnecessary temporary copies of data frames. This results in code that is more efficient in both time and memory use. (#289, thanks to @jdblischak). +- The `sim_fixed_n()` function has been updated to allow parallel simulations (#249, #252, #253, #262, thanks to @cmansch and @jdblischak). + +## Bug fixes + +- Fixed the bug of cut functions in parallel (#261, thanks to @cmansch). + +# Coding Improvements + +- The `wlr()` function is enhanced to S3 generic to accept both counting process and time-to-event data as its input (#276, #277, thanks to @jdblischak). + +## Documentation + +- Use KaTeX for pkgdown math rendering (#263, thanks to @nanxstats). + +## Tests + +- Regression tests of `summary` is added (#282, thanks to @jdblischak). + # simtrial 0.4.1 ## Improvements From 5af0c8dd42e241277900bfb9fc79ef50de16ad50 Mon Sep 17 00:00:00 2001 From: "Zhao, Yujie" Date: Tue, 29 Oct 2024 11:21:15 -0400 Subject: [PATCH 3/5] minor change --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 8530c279..5333e562 100644 --- a/NEWS.md +++ b/NEWS.md @@ -27,7 +27,7 @@ ## Tests -- Regression tests of `summary` is added (#282, thanks to @jdblischak). +- Regression tests of `summary()` is added (#282, thanks to @jdblischak). # simtrial 0.4.1 From fad4d46be68183884920c9e3f7e0df609b00d361 Mon Sep 17 00:00:00 2001 From: "Zhao, Yujie" Date: Wed, 30 Oct 2024 15:49:10 -0400 Subject: [PATCH 4/5] correct typos in NEWS --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 5333e562..0ad0ab8c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -10,7 +10,7 @@ ## Computational Improvements -- The source code of `summary()` is rewrite from `tibble` or `data.fram`e to `data.table`, which is optimized to use as little memory as possible by avoiding making unnecessary temporary copies of data frames. This results in code that is more efficient in both time and memory use. (#289, thanks to @jdblischak). +- The source code of `summary()` is rewritten from `tibble` or `data.frame` to `data.table`, which is optimized to use as little memory as possible by avoiding making unnecessary temporary copies of data frames. This results in code that is more efficient in both time and memory use. (#289, thanks to @jdblischak). - The `sim_fixed_n()` function has been updated to allow parallel simulations (#249, #252, #253, #262, thanks to @cmansch and @jdblischak). ## Bug fixes From 3af037115a445c2c67a4820df943112e7f3974da Mon Sep 17 00:00:00 2001 From: "Zhao, Yujie" Date: Wed, 30 Oct 2024 16:09:37 -0400 Subject: [PATCH 5/5] fix NOTES --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 0ad0ab8c..5b9c03b0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -17,7 +17,7 @@ - Fixed the bug of cut functions in parallel (#261, thanks to @cmansch). -# Coding Improvements +## Coding Improvements - The `wlr()` function is enhanced to S3 generic to accept both counting process and time-to-event data as its input (#276, #277, thanks to @jdblischak).