To cite geocomplexity package in publications use:

Zhang, Zehua, Song, Yongze, Luo, Peng, Wu, Peng (2023). “Geocomplexity explains spatial errors.” International Journal of Geographical Information Science, 37(7), 1449–1469. doi:10.1080/13658816.2023.2203212, https://doi.org/10.1080/13658816.2023.2203212.

Corresponding BibTeX entry:

  @Article{,
    title = {Geocomplexity explains spatial errors},
    journal = {International Journal of Geographical Information
      Science},
    volume = {37},
    pages = {1449–1469},
    year = {2023},
    number = {7},
    author = {{Zhang} and {Zehua} and {Song} and {Yongze} and {Luo} and
      {Peng} and {Wu} and {Peng}},
    doi = {10.1080/13658816.2023.2203212},
    url = {https://doi.org/10.1080/13658816.2023.2203212},
  }