Package: ggnext Title: A Next-Generation Grammar of Graphics Version: 0.1.0 Authors@R: c( person("Mahesh", "Divakaran", email = "itsmdivakaran@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-3488-0857", affiliation = "Senior Technical Lead - R Developer, Ephicacy LifeScience Analytics Pvt Ltd")), person("Dr. Rasin", "R S", email = "rasinrs@gmail.com", role = "ctb", comment = c(ORCID = "0000-0002-8393-5869", affiliation = "Assistant Professor, St. Thomas' College (Autonomous), Thrissur, Kerala, India")), person("Rakesh", "Poduval", role = "ctb", comment = c(affiliation = "Data Science Manager, IMMO Information Technology Private Limited"))) 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) for squarified treemaps, Fruchterman and Reingold (1991) for force-directed graphs, and Kaplan and Meier (1958) for survival curves. URL: https://itsmdivakaran.github.io/ggnext/, https://github.com/itsmdivakaran/ggnext, https://cran.r-project.org/web/packages/ggnext/index.html BugReports: https://github.com/itsmdivakaran/ggnext/issues License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) 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 Repository: https://itsmdivakaran.r-universe.dev Date/Publication: 2026-10-17 05:10:36 UTC RemoteUrl: https://github.com/itsmdivakaran/ggnext RemoteRef: HEAD RemoteSha: 8177e9490bb679546011acd0b42d540c76c1766a NeedsCompilation: no Packaged: 2026-10-17 05:27:52 UTC; root Author: Mahesh Divakaran [aut, cre, cph] (ORCID: , affiliation: Senior Technical Lead - R Developer, Ephicacy LifeScience Analytics Pvt Ltd), Dr. Rasin R S [ctb] (ORCID: , affiliation: Assistant Professor, St. Thomas' College (Autonomous), Thrissur, Kerala, India), Rakesh Poduval [ctb] (affiliation: Data Science Manager, IMMO Information Technology Private Limited) Maintainer: Mahesh Divakaran