citHeader("To cite `spam64` in publications use:")

# dont change formatting because of Makefile
bibentry(bibtype = "Manual", year = "2023",
  title        = "{spam64}: 64-Bit Extension of the SPArse Matrix R Package 'spam'",
  author       = c(as.person("Reinhard Furrer"),
                            as.person("Roman Flury"),
                            as.person("Florian Gerber")),
  note = "R package version 2.11-4",
  url = {"https://CRAN.R-project.org/package=spam64"},
  textVersion  = paste("Furrer, R., Flury R. and Gerber, F. (2026).
                        spam64: 64-Bit Extension of the SPArse Matrix R Package 'spam'. R package version 2.11-4.
                        URL https://CRAN.R-project.org/package=spam64"),
)

bibentry(bibtype = "Article",
  title        = "Extending {R} packages to support 64-bit compiled code: An illustration with spam64 and {GIMMS} {NDVI3g} data",
  author       = c(as.person("Florian Gerber"),
                            as.person("Kaspar Moesinger"),
                            as.person("Reinhard Furrer")),
  journal      = "Computer & Geoscience",
  year         = "2017",
  volume       = "104",
  pages        = "109--119",
  issn         = "0098-3004",
  doi          = "10.1016/j.cageo.2016.11.015",
  textVersion  =
  paste("F. Gerber, K. Moesinger, R. Furrer (2017),",
        "Extending R packages to support 64-bit compiled code: An illustration with spam64 and GIMMS NDVI3g data.",
        "Computer & Geoscience 104, 109-119, https://doi.org/10.1016/j.cageo.2016.11.015.")
)

bibentry(bibtype = "Article",
  title        = "{dotCall64}: An efficient interface to compiled {C/C++} and {F}ortran code supporting long vectors",
  author       = c(as.person("Florian Gerber"),
                            as.person("Kaspar Moesinger"),
                            as.person("Reinhard Furrer")),
  journal      = "SoftwareX",
  year         = "2018",
  volume       = "7",
  pages        = "217--221",
  doi          = "10.1016/j.softx.2018.06.002",
  textVersion  =
  paste("F. Gerber, K. Moesinger, R. Furrer (2017),",
        "dotCall64: An efficient interface to compiled C/C++ and Fortran code supporting long vectors.",
        "SoftwareX, 7, 217-221,",
        "https://doi.org/10.1016/j.softx.2018.06.002.")
)
