To cite spatsurv in publications use:

Taylor BM, Rowlingson BS (2017). “spatsurv: An R Package for Bayesian Inference with Spatial Survival Models.” Journal of Statistical Software, 77(4), 1–32. doi:10.18637/jss.v077.i04.

Corresponding BibTeX entry:

  @Article{,
    title = {{spatsurv}: An {R} Package for Bayesian Inference with
      Spatial Survival Models},
    author = {Benjamin M. Taylor and Barry S. Rowlingson},
    journal = {Journal of Statistical Software},
    year = {2017},
    volume = {77},
    number = {4},
    pages = {1--32},
    doi = {10.18637/jss.v077.i04},
  }