year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)
headerText <- "This is pre-defined citation entry from 'NBLDA' package. Run 'citation(\"NBLDA\", auto = TRUE)' for auto-generated citation. To cite package 'NBLDA' in publications use:"

bib <- utils::bibentry(bibtype = "Manual",
        key = "NBLDA-R_Package_Manual",
        title = "{NBLDA}: Negative Binomial Linear Discriminant Analysis",
        author = c(person("Dincer", "Goksuluk", role = c("aut", "cre"), email = "dincer.goksuluk@hacettepe.edu.tr"),
                  person("Gokmen", "Zararsiz", role = c("aut")),
                  person("Selcuk", "Korkmaz", role = c("aut")),
                  person(c("Ahmet", "Ergun"), "Karaagaoglu", role = "ths")),
        year = year,
        note = note,
        url = "https://CRAN.R-project.org/package=NBLDA",
        header = headerText)

tools::bibstyle("unsorted", sortKeys = function(bib) seq_along(bib),
    fmtPrefix = function(paper) paste0(paper$.index, "."),
       .init = TRUE)





