## When the article describing this R package appears, replace the Manual
## entry below with its bibentry (bibtype = "Article", with journal, volume,
## pages and doi) and bump the year. Keep the other two entries: reporting a
## CORA analysis means citing the method and the work this package derives
## from, whichever software produced the results.

citHeader(paste("To cite CORA in publications, cite this package, the method",
                "it implements, and the packages it was adapted from."))

bibentry(
  bibtype = "Manual",
  title   = "CORAtool: Combinational Regularity Analysis",
  author  = person("Young", "Chan"),
  year    = "2026",
  note    = sprintf("R package version %s", meta$Version),
  url     = "https://github.com/youngchanresearcher/CORAtool"
)

bibentry(
  bibtype = "Article",
  title   = paste("Combinational Regularity Analysis (CORA) - a new method",
                  "for uncovering complex causation in medical and health",
                  "research"),
  author  = c(person("Alrik", "Thiem"),
              person("Lusine", "Mkrtchyan"),
              person("Zuzana", "Sebechlebsk\u00e1")),
  journal = "BMC Medical Research Methodology",
  year    = "2022",
  volume  = "22",
  number  = "1",
  pages   = "333",
  doi     = "10.1186/s12874-022-01800-9"
)

bibentry(
  bibtype = "Article",
  title   = paste("CORA and LOGIGRAM: A duo of Python packages for",
                  "Combinational Regularity Analysis (CORA)"),
  author  = c(person("Zuzana", "Sebechlebsk\u00e1"),
              person("Lusine", "Mkrtchyan"),
              person("Alrik", "Thiem")),
  journal = "Journal of Open Source Software",
  year    = "2023",
  volume  = "8",
  number  = "85",
  pages   = "5019",
  doi     = "10.21105/joss.05019"
)
