To cite GoFKernel in publications use:

Pavía J (2015). “Testing Goodness-of-Fit with the Kernel Density Estimator: GoFKernel.” Journal of Statistical Software, Code Snippets, 66(1), 1–27. https://www.jstatsoft.org/v66/c01/.

Corresponding BibTeX entry:

  @Article{,
    title = {Testing Goodness-of-Fit with the Kernel Density Estimator:
      {GoFKernel}},
    author = {Jose M. Pavía},
    journal = {Journal of Statistical Software, Code Snippets},
    year = {2015},
    volume = {66},
    number = {1},
    pages = {1--27},
    url = {https://www.jstatsoft.org/v66/c01/},
  }