Skip to content

Releases: Merck/simtrial

simtrial 0.4.2

21 Nov 16:42
ce4f1a2
Compare
Choose a tag to compare

Statistical improvements

Computational improvements

  • 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

  • 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

Tests

simtrial v0.4.1

03 May 14:09
fbd58a1
Compare
Choose a tag to compare

Improvements

  • Pass noSuggests checks by running code examples, tests, and vignettes
    conditionally if the Suggests dependencies are not installed (#243, thanks, @nanxstats).

simtrial 0.4.0

02 May 14:05
87421cd
Compare
Choose a tag to compare

New features

  • rmst() introduces the RMST test (#188, thanks, @LittleBeannie).
  • milestone() introduces the milestone test (#199, #204, #211, #237, thanks, @LittleBeannie).
  • sim_gs_n() provides an experimental implementation for fixed sample size group sequential design simulation, with unit tests upcoming
    (#195, #201, #208, #212, thanks, @LittleBeannie and @jdblischak).
  • create_cut() allows users to create custom interim and final analyses cuttings based on their specific requirements (#201, #221, thanks, @jdblischak).
  • create_test() enables users to create various testing approaches for interim and final analyses (#215, #221, thanks, @jdblischak).
  • multitest() gives users the option to perform multiple tests on a simulated dataset (#215, thanks, @jdblischak). Note: This function is still experimental and may be improved in future releases, as it was created prior to the standardization of test functions in #227.
  • Test outputs (logrank, weighted logrank, RMST, milestone, MaxCombo) are now unified as a list including method, parameter, estimate, se, z-value, and p-value (#227, thanks, @LittleBeannie).

Bug fixes

  • Fixed incorrect weights generated by early_zero() under stratified designs (#233, thanks, @LittleBeannie).

Documentation

Dependency

  • Removed dependency on the bshazard package as it was archived by CRAN (#234, thanks, @nanxstats).

simtrial 0.3.2

08 Dec 17:13
75bbd27
Compare
Choose a tag to compare

This release makes minor improvements on auxiliary code with side-effects.

Improvements

  • Remove the code that sets options() within vignette("modest-wlrt").
  • Updated the code used for generating image assets. These scripts now write to tempdir() instead of the package directory.

simtrial 0.3.1

06 Dec 23:38
72b0f34
Compare
Choose a tag to compare

This release introduces significant changes to the API, improves simulation performance substantially, and adds new features and documentation.

Significant user-visible changes

Improvements

  • Rewritten table backend for simtrial functions using data.table, achieving a 3x to 5x speedup compared to the previous implementation (thanks, @jdblischak, #111).
  • sim_fixed_n() now utilizes the %dofuture% operator for parallelization, enhancing flexibility and reproducibility (thanks, @cmansch, #110).
  • rpwexp() adopts the inverse CDF method for random number generation, with the naive methods now as internal functions (thanks, @jianxiaoyang, #15 and #174).
  • sim_fixed_n() is optimized to skip Breslow's method in the absence of ties (thanks, @jdblischak, #130).
  • The internal function for computing Z statistics in Fleming-Harrington weighted logrank tests is now named wlr_z_stat() (thanks, @elong0527, #105).

New features

  • early_zero_weight() is added as a weighting function for early data removal (thanks, @LittleBeannie, #123).
  • get_analysis_date() is added to calculate interim/final analysis dates under various conditions (thanks, @LittleBeannie, #122).

Documentation

  • New vignette("workflow") providing an overview of data manipulations involved in TTE simulations (thanks, @keaven, #99).
  • New vignette("parallel") demonstrating the parallelization workflow and coding best practices (thanks, @cmansch, #113 and #134).

Miscellaneous

  • Added a hex sticker logo with a generative art design for the package (thanks, @keaven, #158).

simtrial 0.2.2

23 Feb 21:52
ee2c46d
Compare
Choose a tag to compare

This is the version that enabled parallel computation in simfix.

simtrial 0.2.1

11 May 04:22
Compare
Choose a tag to compare

This version supports the Biometrical Journal paper "A unified framework for weighted parametric group sequential design (WPGSD)" by Keaven M. Anderson, Zifang Guo, Jing Zhao, and Linda Z. Sun.