Changes in version 0.4.0.9000 Improvements - Removed unused C++ global variables and dead threading code inherited from the deprecated fastlogranktest package. - Replaced all uses of the magrittr pipe (%>%) with the base pipe (|>) in summarise_sims() and posterior(), and removed the dplyr::%>% re-export from the NAMESPACE. - posterior() now warns when a piecewise interval has zero subjects and data is propagated from an adjacent interval. Bug fixes - survival_adapt() no longer errors when called without interim looks (interim_look = NULL). The final analysis previously relied on an undefined loop index variable, which has been replaced with stage_trial_stopped. - impute_data() no longer uses hard-coded positional column subsetting ([, 1:10]). Temporary columns are now dropped by name, making the function robust to upstream changes in the data frame structure (#26). - randomization() no longer produces NA for next_block when the loop exhausts all elements of a multi-element block vector. The index now wraps around cyclically (#31). - analyse_data() now uses explicit row/column indexing when extracting Cox model results, preventing silent errors if the summary matrix structure changes (#29). - enrollment() now correctly selects the enrollment rate at piecewise changepoints. Previously, the rate at exact changepoint boundaries could use the rate from the prior interval (#28). Documentation - Documented the two-stage posterior procedure used when method = "bayes" with imputation, clarifying that the imputation model's posterior influences the analysis posterior (#27). Housekeeping - Added unit tests for enrollment(), randomization(), pwe_sim(), pwe_impute(), ppwe(), prop_to_haz(), sim_comp_data(), and summarise_sims(). - Added _pkgdown.yml configuration for a documentation website. - Added GitHub Actions workflow for pkgdown site deployment. - Updated GitHub Actions (actions/checkout, actions/upload-artifact) from v4 to v5 for Node.js 24 compatibility. - Added .positai to .Rbuildignore to suppress R CMD check NOTE. - Updated README to clarify that the C++ log-rank code was ported from the now-deprecated fastlogranktest package. - Clarified prior parameter documentation to explicitly state the Gamma rate parameterization and that the same prior is shared across all piecewise intervals and treatment arms. Changes in version 0.4.0 (2025-01-08) Main updates - Because fastlogranktest is no longer available on CRAN, a copy of the C++ code and wrapper from the CRAN archive have been included directly into the source code of this package. Housekeeping - Updated GitHub actions workflows - Updated README badges - Changed logic check in summarise_sims.R Changes in version 0.3.1 Features - Added a chi-square test for binomial data Bugs - Fixed a small bug in summarise_sims() Housekeeping - Restructured code so complete trial data is generated by sim_comp_data() - Restructured code so interim stopping tests are done by test_stop_success() - Restructured code so final analysis is done by test_final() - Added URL links to DESCRIPTION - Updates to documentation - Removed appveyor check and badge Changes in version 0.3.0 (2021-05-10) - Added a NEWS.md file to track changes to the package. - First CRAN submission.