To cite GoFKernel in publications use:

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

Corresponding BibTeX entry:

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