
year = sub('.*(2[[:digit:]]{3})-.*', '\\1', meta$Date, perl = TRUE)
vers = paste('R package version', meta$Version)

bibentry(
     bibtype = "Article",
     header = "To cite the 'trajr' package in publications use:",
     textVersion = "McLean, D. J., & Skowron Volponi, M. A. (2018). trajr: An R package for characterisation of animal trajectories. Ethology, 124(6), 440-448. doi:10.1111/eth.12739",
     title = "trajr: An R package for characterisation of animal trajectories",
     author = as.person("Donald James McLean and Marta A. Skowron Volponi"),
     year = 2018,
     journal = "Ethology",
     volume = 124,
     number = 6,
     doi = "10.1111/eth.12739",
     key = "doi:10.1111/eth.12739"
   )


