To cite cpsurvsim in publications use:

Hochheimer C (2023). cpsurvsim: Simulating Survival Data from Change-Point Hazard Distributions. https://github.com/camillejo/cpsurvsim.

Corresponding BibTeX entry:

  @Manual{,
    author = {Camille Hochheimer},
    title = {{cpsurvsim}: Simulating Survival Data from Change-Point
      Hazard Distributions},
    year = {2023},
    version = {1.2.2},
    url = {https://github.com/camillejo/cpsurvsim},
  }