To cite tvmediation in publications use:

Coffman DL, Cai X, Chakraborti Y (2021). tvmediation: Time Varying Mediation Analysis. https://cran.r-project.org/package=tvmediation.

Corresponding BibTeX entry:

  @Manual{,
    title = {tvmediation: Time Varying Mediation Analysis},
    author = {Donna L. Coffman and Xizhen Cai and Yajnaseni
      Chakraborti},
    year = {2021},
    journal = {R package version 1.0.0},
    url = {https://cran.r-project.org/package=tvmediation},
  }