Package: ggnext
Title: A Next-Generation Grammar of Graphics
Version: 0.1.0
Authors@R: person("Mahesh", "Divakaran",
    email = "itsmdivakaran@gmail.com", role = c("aut", "cre", "cph"))
Description: An implementation of the Grammar of Graphics described by
    Wilkinson (2005, ISBN:978-0-387-24544-7), built on 'S7' classes. The
    familiar grammar vocabulary of aesthetics, geometries, statistics,
    scales, coordinates, facets and themes composed with '+' is
    preserved; every constructor that takes an argument also accepts a
    plot as the first argument of a native pipe ('|>') stage, so the two
    styles are interchangeable. The package is extended with built-in
    interactivity, animation, an exact-data export, a plot linter that
    flags common statistical-graphics mistakes before a figure ships,
    and a catalogue covering layout diagrams (Sankey, treemap, network,
    radar), machine-learning diagnostics (SHAP, receiver operating
    characteristic, calibration, partial dependence) and clinical
    reporting (Kaplan-Meier, forest, swimmer, CONSORT).
    Static output is written to Scalable Vector Graphics; interactive
    output is a self-contained 'HTML' document using a canvas element
    and vanilla 'JavaScript'. Both render targets consume the same
    computed-geometry buffer, giving a single source of truth for layer
    geometry. Layout and estimation algorithms follow their published
    descriptions, including Bruls, Huizing and van Wijk (2000)
    <doi:10.1007/978-3-7091-6783-0_4> for squarified treemaps,
    Fruchterman and Reingold (1991) <doi:10.1002/spe.4380211102> for
    force-directed graphs, and Kaplan and Meier (1958)
    <doi:10.1080/01621459.1958.10501452> for survival curves.
URL: https://itsmdivakaran.github.io/ggnext/,
        https://github.com/itsmdivakaran/ggnext
BugReports: https://github.com/itsmdivakaran/ggnext/issues
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: S7, grDevices, stats, utils
Suggests: knitr, markdown, rmarkdown, testthat (>= 3.0.0), xml2
Config/testthat/edition: 3
Collate: 'aes.R' 'build.R' 'animation.R' 'classes.R' 'api.R' 'colors.R'
        'facet.R' 'marks.R' 'stats.R' 'geoms.R' 'geoms-base.R'
        'geoms-clinical.R' 'geoms-layout.R' 'geoms-ml.R'
        'stats-special.R' 'geoms-special.R' 'ggnext-package.R' 'json.R'
        'labels.R' 'logo.R' 'scale-discrete.R' 'theme.R' 'pipe.R'
        'plot-data.R' 'render.R' 'scale-math.R' 'site.R' 'stats-base.R'
        'stats-clinical.R' 'stats-layout.R' 'stats-layout2.R'
        'stats-ml.R' 'svg.R' 'validate.R'
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-08-20 19:17:15 UTC; maheshdivakaran
Author: Mahesh Divakaran [aut, cre, cph]
Maintainer: Mahesh Divakaran <itsmdivakaran@gmail.com>
Repository: CRAN
Date/Publication: 2026-08-26 18:40:02 UTC
