if(!exists("meta") || is.null(meta)) meta <- packageDescription("mlbench")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

bibentry("Manual",
         title = "mlbench: Machine Learning Benchmark Problems",
         author = c(as.person("Friedrich Leisch"), as.person("Evgenia Dimitriadou")),
         year = year,
         note = note,
	 url = "https://CRAN.R-project.org/package=mlbench",
	 header = "When using mlbench in publications, please cite both the mlbench package and, if applicable, the 1998 UCI Machine Learning Repository itself:"
)

bibentry("Manual",
         title = "UCI Repository of Machine Learning Databases",
         author = c(as.person("Catherine L. Blake"), as.person("Christopher J. Merz")),
         year = "1998",
	 organization = "University of California, Irvine, Department of Information and Computer Sciences",
	 address = "Irvine, CA",
	 note = "Formerly available from \\url{http://www.ics.uci.edu/~mlearn/MLRepository.html}",
	 header = "To cite the 1998 UCI Machine Learning Repository, please use:"
)
