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=""))
