To cite package ‘nndiagram’ in publications use:

Fang C (2023). nndiagram: Generator of 'LaTeX' Code for Drawing Neural Network Diagrams with 'TikZ'. R package version 1.0.0, https://github.com/ccfang2/nndiagram.

Corresponding BibTeX entry:

  @Manual{,
    title = {nndiagram: Generator of 'LaTeX' Code for Drawing Neural
      Network Diagrams with 'TikZ'},
    author = {Chencheng Fang},
    year = {2023},
    note = {R package version 1.0.0},
    url = {https://github.com/ccfang2/nndiagram},
  }