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. bioRxiv. doi: 10.1101/260836.")

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,
  doi = "10.1101/260836",
  journal = "bioRxiv")
)

