To cite TSdist in publications use:

Mori U, Mendiburu A, Lozano JA (2016). “Distance Measures for Time Series in R: The TSdist Package.” R journal, 8(2), 451–459. https://journal.r-project.org/archive/2016/RJ-2016-058/index.html.

Corresponding BibTeX entry:

  @Article{,
    title = {Distance Measures for Time Series in R: The {TSdist}
      Package},
    author = {Usue Mori and Alexander Mendiburu and Jose A. Lozano},
    journal = {R journal},
    year = {2016},
    volume = {8},
    number = {2},
    pages = {451--459},
    url =
      {https://journal.r-project.org/archive/2016/RJ-2016-058/index.html},
  }