citHeader("To cite the ModStatR package in publications use:")

titl <- meta$Title
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers <- paste("R package version", meta$Version)
publishe <- "Dunod, Paris"
edition <- "1ère édition"


bibentry(bibtype="Manual",
         title = titl,
         author = c(person(given = "Frederic", family= "Bertrand"),
	                  person(given = "Emmanuelle", family= "Claeys"),
                  	person(given = "Myriam", family= "Maumy-Bertrand")),
         year         = year,
         note         = vers,
         url          = "https://github.com/fbertran/ModStatR",
         textVersion = 
         paste("Frédéric Bertrand, Emmanuelle Claeys and Myriam Maumy-Bertrand (",year ,"). ", 
               titl, ", ", vers, ".", sep=""
               )
)


bibentry(bibtype="Book",
         title = "Modélisation statistique par la pratique avec R",
         author = c(person(given = "Frederic", family= "Bertrand"),
                	person(given = "Emmanuelle", family= "Claeys"),
                	person(given = "Myriam", family= "Maumy-Bertrand")),
	 publisher = "Dunod, Paris",
         year         = 2019,
         url          = "https://github.com/fbertran/ModStatR",
         textVersion = 
         paste("Frédéric Bertrand, Emmanuelle Claeys and Myriam Maumy-Bertrand (", year ,"). ", 
               titl, ", ", edition,", ", publishe, ".", sep=""
               )
)