year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

textVersionArticle =  paste0("Rimbaud Loup, Papaïx Julien, Rey Jean-François, Barrett Luke G. and Thrall Peter H. (",year, "). Assessing the durability and efficiency of landscape-based strategies to deploy plant resistance to pathogens. PLoS Computational Biology 14(4):e1006067. doi: 10.1371/journal.pcbi.1006067.")

citation <- c(
bibentry(
  bibtype = "Manual",
  title = "{landsepi}: Landscape Epidemiology and Evolution", 
  author = c( person("Loup", "Rimbaud", role = "aut"),
              person("Julien", "Papaïx", role = "aut"),
              person("Jean-François", "Rey", role = "cre") ), 
  year = year,
  note = note,
  url = "https://cran.r-project.org/package=landsepi")
,
bibentry(
  bibtype = "Article",
  textVersion = textVersionArticle,
  title = "Assessing the durability and efficiency of landscape-based strategies to deploy plant resistance to pathogens.",
  author = as.person("Rimbaud Loup, Papa\\\"{i}x Julien, Rey Jean-Fran\\c{c}ois, Barrett Luke G., Thrall Peter H."),
  year = 2018,
  volume = 14,
  issue = 4,
  doi = "10.1371/journal.pcbi.1006067",
  journal = "PLOS Computational Biology")
)

