{
  "_id": "6a1701feacfb0bcc41d90240",
  "Package": "highdir",
  "Title": "Backend-Agnostic Figure Builder for 'highcharter' and 'ggplot2'",
  "Version": "0.5.0",
  "Authors@R": "person(\ngiven = \"Yusman\",\nfamily = \"Kamaleri\",\nemail = \"ybkamaleri@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-5014-3665\")\n)",
  "Description": "Provides a backend-agnostic 'API' for creating data\nvisualizations using 'highcharter' (interactive) or 'ggplot2'\n(static). Figures are defined once via a specification object\nand can be rendered to either backend without modifying the\ncalling code. Supports both declarative and layered workflows,\nflexible theming and colour palettes, optional 'JavaScript'\nenhancements, and tools for exporting figures and interactive\nexploration via a 'shiny' app.",
  "URL": "https://folkehelsestats.github.io/highdir/,\nhttps://github.com/folkehelsestats/highdir",
  "BugReports": "https://github.com/folkehelsestats/highdir/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 14:34:51 UTC",
    "User": "root"
  },
  "Author": "Yusman Kamaleri [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5014-3665>)",
  "Maintainer": "Yusman Kamaleri <ybkamaleri@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-27 09:40:06 UTC",
  "RemoteUrl": "https://github.com/cran/highdir",
  "RemoteRef": "HEAD",
  "RemoteSha": "7c2a12ee2f53868fab91398162a4dd78083a8964",
  "MD5sum": "2b7dde6552dda01240448d4c77432414",
  "_user": "cran",
  "_type": "src",
  "_file": "highdir_0.5.0.tar.gz",
  "_fileid": "6ca95b9ee5f164e87ffb4de6d6fe5ea373b8d0486fc3bd7e87efb810c3f7dbf5",
  "_filesize": 819516,
  "_sha256": "6ca95b9ee5f164e87ffb4de6d6fe5ea373b8d0486fc3bd7e87efb810c3f7dbf5",
  "_created": "2026-05-27T14:34:51.000Z",
  "_published": "2026-05-27T14:38:54.573Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78100440209,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7243221797"
    },
    {
      "job": 78100439920,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243211637"
    },
    {
      "job": 78099693677,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243142568"
    },
    {
      "job": 78100439956,
      "time": 201,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7243224532"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26517726704",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/highdir",
  "_commit": {
    "id": "7c2a12ee2f53868fab91398162a4dd78083a8964",
    "author": "Yusman Kamaleri <ybkamaleri@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.0\n",
    "time": 1779874806
  },
  "_maintainer": {
    "name": "Yusman Kamaleri",
    "email": "ybkamaleri@gmail.com",
    "login": "ybkamaleri",
    "description": "@folkehelsestats \n@fyrtaarn \n@helseprofil\n@folkehelseinstituttet\n@Rapporteket\n\n",
    "uuid": 12102394,
    "orcid": "0000-0001-5014-3665"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "highcharter",
      "version": ">= 0.9.4",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "htmlwidgets",
      "version": ">= 1.6.0",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "version": ">= 1.8.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "version": ">= 0.6.0",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "maps",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "webshot2",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "version": ">= 0.7.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "version": ">= 2.5.0",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.5.0",
      "date": "2026-05-27"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ybkamaleri",
      "count": 1,
      "uuid": 12102394
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/highdir"
  },
  "_devurl": "https://github.com/folkehelsestats/highdir",
  "_pkgdown": "https://folkehelsestats.github.io/highdir/",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/highdir.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2026-05-27"
    }
  ],
  "_exports": [
    "geom_args",
    "get_palette",
    "gg_theme",
    "hd",
    "hd_add_js",
    "hd_app",
    "hd_geom_arearange",
    "hd_geom_column",
    "hd_geom_line",
    "hd_geom_pie",
    "hd_geom_ranked_bar",
    "hd_geom_scatter",
    "hd_geom_stacked_column",
    "hd_make",
    "hd_opts",
    "hd_save",
    "hd_set_theme",
    "hd_spec",
    "hd_theme",
    "list_backends",
    "list_geoms",
    "list_palettes",
    "register_backend",
    "register_geom",
    "register_palette"
  ],
  "_datasets": [
    {
      "name": "alco1",
      "title": "Alcohol Consumption Data",
      "object": "alco1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "adj_mean",
        "SE",
        "lower_95CI",
        "upper_95CI",
        "adj_enhet",
        "SE_enhet",
        "lower_enhet",
        "upper_enhet"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "alco2",
      "title": "Alcohol Consumption by Gender",
      "object": "alco2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "kjonn",
        "year",
        "adj_mean",
        "SE",
        "lower_95CI",
        "upper_95CI",
        "adj_enhet",
        "SE_enhet",
        "lower_enhet",
        "upper_enhet"
      ],
      "rows": 28,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "plus-.hd",
      "title": "Add Layers to an hd Object",
      "topics": [
        "+.hd"
      ]
    },
    {
      "page": "alco1",
      "title": "Alcohol Consumption Data",
      "topics": [
        "alco1"
      ]
    },
    {
      "page": "alco2",
      "title": "Alcohol Consumption by Gender",
      "topics": [
        "alco2"
      ]
    },
    {
      "page": "geom_args",
      "title": "Show Arguments for a Geometry",
      "topics": [
        "geom_args"
      ]
    },
    {
      "page": "get_palette",
      "title": "Retrieve a Named Palette",
      "topics": [
        "get_palette"
      ]
    },
    {
      "page": "gg_theme",
      "title": "Build a ggplot2 Theme Object",
      "topics": [
        "gg_theme"
      ]
    },
    {
      "page": "hd",
      "title": "Initialise a Composable highdir Figure",
      "topics": [
        "hd"
      ]
    },
    {
      "page": "hd_add_js",
      "title": "Inject JavaScript into a Highcharts Widget",
      "topics": [
        "hd_add_js"
      ]
    },
    {
      "page": "hd_app",
      "title": "Launch the highdir Shiny GUI",
      "topics": [
        "hd_app"
      ]
    },
    {
      "page": "hd_geom_arearange",
      "title": "Add an Arearange (Confidence Band) Layer",
      "topics": [
        "hd_geom_arearange"
      ]
    },
    {
      "page": "hd_geom_column",
      "title": "Column Geometry Layer for hd Objects",
      "topics": [
        "hd_geom_column"
      ]
    },
    {
      "page": "hd_geom_line",
      "title": "Line Geometry Layer for hd Objects",
      "topics": [
        "hd_geom_line"
      ]
    },
    {
      "page": "hd_geom_pie",
      "title": "Pie Geometry Layer for hd Objects",
      "topics": [
        "hd_geom_pie"
      ]
    },
    {
      "page": "hd_geom_ranked_bar",
      "title": "Ranked bar geometry",
      "concept": [
        "Geoms"
      ],
      "topics": [
        "hd_geom_ranked_bar"
      ]
    },
    {
      "page": "hd_geom_scatter",
      "title": "Scatter Geometry Layer for hd Objects",
      "topics": [
        "hd_geom_scatter"
      ]
    },
    {
      "page": "hd_geom_stacked_column",
      "title": "Stacked Column Geometry Layer",
      "topics": [
        "hd_geom_stacked_column"
      ]
    },
    {
      "page": "hd_make",
      "title": "Build a Figure from a Specification",
      "topics": [
        "hd_make"
      ]
    },
    {
      "page": "hd_opts",
      "title": "Create Figure Presentation Options",
      "topics": [
        "hd_opts"
      ]
    },
    {
      "page": "hd_save",
      "title": "Save a Figure to Disk",
      "topics": [
        "hd_save"
      ]
    },
    {
      "page": "hd_set_theme",
      "title": "Set Package-Wide Style Defaults",
      "topics": [
        "hd_set_theme"
      ]
    },
    {
      "page": "hd_spec",
      "title": "Create a Figure Data Specification",
      "topics": [
        "hd_spec"
      ]
    },
    {
      "page": "hd_theme",
      "title": "Build a Highcharts Theme Object",
      "topics": [
        "hd_theme"
      ]
    },
    {
      "page": "list_backends",
      "title": "List Registered Backends",
      "topics": [
        "list_backends"
      ]
    },
    {
      "page": "list_geoms",
      "title": "List Registered Geometries",
      "topics": [
        "list_geoms"
      ]
    },
    {
      "page": "list_palettes",
      "title": "List Registered Palettes",
      "topics": [
        "list_palettes"
      ]
    },
    {
      "page": "print.hd",
      "title": "Render an hd Object",
      "topics": [
        "print.hd"
      ]
    },
    {
      "page": "register_backend",
      "title": "Register a Rendering Backend and used when loding in zzz.R file",
      "topics": [
        "register_backend"
      ]
    },
    {
      "page": "register_geom",
      "title": "Register a Geometry",
      "topics": [
        "register_geom"
      ]
    },
    {
      "page": "register_palette",
      "title": "Register a Named Colour Palette",
      "topics": [
        "register_palette"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/highdir/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/highdir/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "backports",
    "base64enc",
    "broom",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "curl",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highcharter",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "igraph",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "otel",
    "pillar",
    "pkgconfig",
    "promises",
    "purrr",
    "quantmod",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rjson",
    "rlang",
    "rlist",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tinytex",
    "TTR",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "xfun",
    "XML",
    "xtable",
    "xts",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "accessibility.Rmd",
      "filename": "accessibility.html",
      "title": "Accessibility: writing descriptions for figures",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why accessibility descriptions matter",
        "Example data",
        "Highcharter: how description is delivered",
        "Saving to HTML and JSON: what is preserved",
        "HTML (hd_save(fig, \"file.html\"))",
        "JSON (hd_save(fig, \"file.json\"))",
        "ggplot2 — which output formats carry the description",
        "Writing good descriptions"
      ],
      "created": "2026-05-27 09:40:06",
      "modified": "2026-05-27 09:40:06",
      "commits": 1
    },
    {
      "source": "examples.Rmd",
      "filename": "examples.html",
      "title": "Geom examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Column chart",
        "Interactive figure",
        "Static figure",
        "Column with groups",
        "Line chart",
        "Static",
        "Ranked bar chart",
        "Arearange chart",
        "Interactive",
        "Pie chart",
        "Donut",
        "Solid pie",
        "Stacked column chart",
        "Reusing a spec across geoms",
        "Reusing opts across languages",
        "Theming",
        "Saving figures"
      ],
      "created": "2026-05-27 09:40:06",
      "modified": "2026-05-27 09:40:06",
      "commits": 1
    },
    {
      "source": "quick-start.Rmd",
      "filename": "quick-start.html",
      "title": "Quick start",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Declarative API",
        "Layered API",
        "Geom"
      ],
      "created": "2026-05-27 09:40:06",
      "modified": "2026-05-27 09:40:06",
      "commits": 1
    },
    {
      "source": "specification.Rmd",
      "filename": "specification.html",
      "title": "Specifications",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Types",
        "1. hd_spec()",
        "2. hd_opts()",
        "3. Required Specifications",
        "4. Optional Specifications",
        "Theming",
        "JavaScript injection"
      ],
      "created": "2026-05-27 09:40:06",
      "modified": "2026-05-27 09:40:06",
      "commits": 1
    }
  ],
  "_score": 3.5314789170422554,
  "_indexed": false,
  "_nocasepkg": "highdir",
  "_universes": [
    "cran",
    "ybkamaleri",
    "folkehelsestats"
  ],
  "_indexurl": "https://folkehelsestats.r-universe.dev/highdir",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-05-27T14:37:45.000Z",
      "distro": "noble",
      "commit": "7c2a12ee2f53868fab91398162a4dd78083a8964",
      "fileid": "028d7882b35c25b50f845f88280e3d44b203476a50498ffce0ecf5ad3e5c8d32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26517726704"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-05-27T14:37:19.000Z",
      "distro": "noble",
      "commit": "7c2a12ee2f53868fab91398162a4dd78083a8964",
      "fileid": "1cd35c861377f2067013d51732c0e04854469a9f0314e6f210fde8081405004f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26517726704"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-05-27T14:38:22.000Z",
      "commit": "7c2a12ee2f53868fab91398162a4dd78083a8964",
      "fileid": "487174d0ef20dab166cf450f7a2b63efcb1369deed24aa5dec6b3b8eb8241718",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26517726704"
    }
  ]
}