citHeader("To cite package 'robCompositions' in publications you might use:")

if(!exists("meta") || is.null(meta)){ 
  meta <- packageDescription("robCompositions")
}     
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers <- paste("R package version", meta$Version)
     
citEntry(entry="Book",
              title = "rob{C}ompositions: an R-package for robust statistical analysis of compositional data",
              author = personList(as.person("Matthias Templ, Karel Hron, Peter Filzmoser")),
              publisher = "{J}ohn {W}iley and {S}ons",
              isbn = "978-0-470-71135-4",
              booktitle = "{C}ompositional {D}ata {A}nalysis: {T}heory and {A}pplications",
	          year = "2011",
              pages = "341--355",
     
              textVersion =
              paste("Matthias Templ, Karel Hron, Peter Filzmoser",
                    " (2011). robCompositions: an R-package for robust statistical analysis of compositional data. In V. Pawlowsky-Glahn and A. Buccianti, editors, 
Compositional Data Analysis. Theory and Applications, pp. 341-355, John Wiley & Sons, Chichester (UK) ",
                    ".", sep=""))
                    
citEntry(entry="Book",
              title = "Applied Compositional Data Analysis. With Worked Examples in {R}",
              author = personList(as.person("Peter Filzmoser, Karel Hron, Matthias Templ")),
              publisher = "Springer International Publishing. Springer Nature Switzerland AG, Cham, Switzerland",
              note = "Springer Series in Statistics",
              isbn = "978-3-319-96420-1",
	            year = "2018",
              textVersion =
              paste("Peter Filzmoser, Karel Hron, Matthias Templ",
                    " (2018). Applied Compositional Data Analysis. With Worked Examples in R. Springer Series in Statistics. Springer International Publishing, Cham, Switzerland ",
                    ".", sep=""))

