To cite dynsurv in publications use:

Wang W, Chen M, Wang X, Yan J (2020). dynsurv: Dynamic Models for Survival Data. R package version 0.4-2, https://CRAN.R-project.org/package=dynsurv.

Corresponding BibTeX entry:

  @Manual{dynsurv-package,
    title = {{dynsurv}: {D}ynamic Models for Survival Data},
    author = {Wenjie Wang and Ming-Hui Chen and Xiaojing Wang and Jun
      Yan},
    year = {2020},
    url = {https://CRAN.R-project.org/package=dynsurv},
    note = {{R} package version 0.4-2},
  }