To cite dynsurv in publications use:

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

Corresponding BibTeX entry:

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