Skip to content

nndiagram

1.0.0

Generator of 'LaTeX' Code for Drawing Neural Network Diagrams with 'TikZ'

0packages depend
2.1Kdownloads / year
52.1%test coverage
13/13checks pass

Overview

About
Maintained by Chencheng FangFirst published 2023-04-181 releasesCRAN page ↗GitHub ↗

Generates 'LaTeX' code for drawing well-formatted neural network diagrams with 'TikZ'. Users have to define number of neurons on each layer, and optionally define neuron connections they would like to keep or omit, layers they consider to be oversized and neurons they would like to draw with lighter color. They can also specify the title of diagram, color, opacity of figure, labels of layers, input and output neurons. In addition, this package helps to produce 'LaTeX' code for drawing activation functions which are crucial in neural network analysis. To make the code work in a 'LaTeX' editor, users need to install and import some 'TeX' packages including 'TikZ' in the setting of 'TeX' file.

Install

Health

CRAN checks
13OK
Slowest check: 1.0 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.17
52.1%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 727 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.1K
CRAN downloads in the past year
Rank #20,928 · ~6/day · ~172/mo
Daily download trend is not available in this view yet.
18830 days
57990 days
2.1K1 year
Compare downloads with other packages →
Also on140 r2u29 autocran

Repository

Repository
15Stars
0Forks
0Open issues
0Open PRs
0Releases
39Commits
1Contributors
latex
39 commits · Last activity 2023-04-18 · 0% stars, 30d

Stars over time

2023-10-18 · 142026-07-07 · 15

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/ccfang2/nndiagram on 2026-07-19.

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
dplyrutils
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2023-04-18
Total releases
1 / 3 yrs
License
MIT + file LICENSE OSI
Download size
2.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →