## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("mdsOpt")

year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

bibentry(bibtype = "InProceedings",
    title = "Searching for an Optimal MDS Procedure for Metric and Interval-Valued Data using mdsOpt R package",
         author = c(
             person(given="Marek", family="Walesiak",
                    email = "Marek.Walesiak@ue.wroc.pl"),
             person(given="Andrzej", family="Dudek",
                    email = "Andrzej.Dudek@ue.wroc.pl")),
    booktitle = "Education Excellence and Innovation Management: A 2025 Vision to Sustain Economic Development during Global Challenges",
    booksubtitle = "Proceedings of the 35th International Business Information Management Association Conference (IBIMA), 1-2 April 2020, Seville, Spain",
    year = "2020",
    publisher = "International Business Information Management Association (IBIMA)",
    editor = "Khalid S. Soliman",
    pages =  "307-324",
    isbn = "978-0-9998551-4-1",
    header= "To cite mdsOpt in publications use:"
)

bibentry("Article",
         title = "Selecting the Optimal Multidimensional Scaling Procedure for Metric Data with R Environment",
         author = c(
             person(given="Marek", family="Walesiak",
                    email = "Marek.Walesiak@ue.wroc.pl"),
             person(given="Andrzej", family="Dudek",
                    email = "Andrzej.Dudek@ue.wroc.pl")),
         year = 2017,
         journal = "STATISTICS IN TRANSITION new series",
         volume = 18,
         number = 3,
         month = "September",
         pages = "521-540",
         doi = "10.21307/stattrans-2016-084"
         ) 