{
  "_id": "6a1a1ea81d7bb097a09ceb9f",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libuv1-dev\nlibxml2-dev libssl-dev zlib1g-dev",
  "Repository": "https://folkehelsestats.r-universe.dev",
  "Date/Publication": "2026-05-29 22:51:53 UTC",
  "RemoteUrl": "https://github.com/folkehelsestats/highdir",
  "RemoteRef": "HEAD",
  "RemoteSha": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 23:14:39 UTC",
    "User": "root"
  },
  "Author": "Yusman Kamaleri [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5014-3665>)",
  "Maintainer": "Yusman Kamaleri <ybkamaleri@gmail.com>",
  "MD5sum": "8ed99bd9e3c1b25948d80eba328fdec9",
  "_user": "folkehelsestats",
  "_type": "src",
  "_file": "highdir_0.5.0.tar.gz",
  "_fileid": "c7da05b8db367066a0444c9cdc44d8dcdce6cb391ac5824719d9df3cd65c4a6e",
  "_filesize": 817348,
  "_sha256": "c7da05b8db367066a0444c9cdc44d8dcdce6cb391ac5824719d9df3cd65c4a6e",
  "_created": "2026-05-29T23:14:39.000Z",
  "_published": "2026-05-29T23:18:00.660Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78602387482,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7302943277"
    },
    {
      "job": 78602387518,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302943151"
    },
    {
      "job": 78602387471,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7302931020"
    },
    {
      "job": 78602387486,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302932700"
    },
    {
      "job": 78602042337,
      "time": 217,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302912163"
    },
    {
      "job": 78602387460,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302938279"
    },
    {
      "job": 78602387511,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7302932183"
    },
    {
      "job": 78602387478,
      "time": 117,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7302935274"
    },
    {
      "job": 78602387492,
      "time": 111,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302933958"
    }
  ],
  "_buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/folkehelsestats/highdir",
  "_commit": {
    "id": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
    "author": "Yusman Bin Kamaleri <Yusman.Bin.Kamaleri@helsedir.no>",
    "committer": "Yusman Bin Kamaleri <Yusman.Bin.Kamaleri@helsedir.no>",
    "message": "Doc: Update release version\n",
    "time": 1780095113
  },
  "_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": "folkehelsestats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 7
    },
    {
      "week": "2026-05",
      "n": 8
    },
    {
      "week": "2026-10",
      "n": 20
    },
    {
      "week": "2026-11",
      "n": 12
    },
    {
      "week": "2026-12",
      "n": 9
    },
    {
      "week": "2026-13",
      "n": 4
    },
    {
      "week": "2026-14",
      "n": 5
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 6
    },
    {
      "week": "2026-19",
      "n": 9
    },
    {
      "week": "2026-20",
      "n": 9
    },
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "ver0.5.0",
      "date": "2026-05-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ybkamaleri",
      "count": 3,
      "uuid": 12102394
    }
  ],
  "_userbio": {
    "uuid": 206562609,
    "type": "organization",
    "name": "Folkehelsestatistikk"
  },
  "_downloads": {
    "count": 27,
    "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"
  ],
  "_homeurl": "https://github.com/folkehelsestats/highdir",
  "_realowner": "folkehelsestats",
  "_cranurl": true,
  "_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/folkehelsestats/highdir/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/folkehelsestats/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-03-25 23:44:56",
      "modified": "2026-05-04 14:48:48",
      "commits": 3
    },
    {
      "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-03-19 16:25:56",
      "modified": "2026-04-23 16:02:28",
      "commits": 6
    },
    {
      "source": "quick-start.Rmd",
      "filename": "quick-start.html",
      "title": "Quick start",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Declarative API",
        "Layered API",
        "Geom"
      ],
      "created": "2026-03-14 16:01:26",
      "modified": "2026-05-04 14:48:48",
      "commits": 7
    },
    {
      "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-03-17 22:50:56",
      "modified": "2026-03-25 23:44:56",
      "commits": 2
    }
  ],
  "_score": 5.73559889969818,
  "_indexed": true,
  "_nocasepkg": "highdir",
  "_universes": [
    "folkehelsestats",
    "ybkamaleri"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-05-29T23:17:07.000Z",
      "distro": "noble",
      "commit": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
      "fileid": "ac7e623924dfb928011c3f87a8699c567df48a98ce78599454e5752141d29254",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-05-29T23:17:12.000Z",
      "distro": "noble",
      "commit": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
      "fileid": "d8cb6eb6e653c98197458265aae65cef1a585da2d4d3656fc8e6832b79d05ab9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-05-29T23:16:15.000Z",
      "commit": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
      "fileid": "9496269e94ad0d6a265c6ab30b11c5c465a0ee8b27b1468c26a8d33dc42892b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-05-29T23:16:21.000Z",
      "commit": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
      "fileid": "48035a8ed3e2eb6d56790603caa9f6bed99695ec17caac554b58a2207353de96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-05-29T23:17:13.000Z",
      "commit": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
      "fileid": "239ab1b3c66bfb628733b1cf80a10bda7fdad0fbf1f111cb92f535dfb40b2b47",
      "status": "success",
      "buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-05-29T23:15:58.000Z",
      "commit": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
      "fileid": "b2bb68325bdaa4a607ae80770e9c6fbcfab10f2e5cd97a79c08952ca404aa435",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-05-29T23:16:13.000Z",
      "commit": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
      "fileid": "b7298a75ade5205f8ffceb8294d338cb2a370ccdd08574a8f91fcb8817582fae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-05-29T23:16:07.000Z",
      "commit": "f4884ac6eda33c9ca666c8b8c9347307219fefb7",
      "fileid": "f47f8ec0f2d7efd86f6b0780243890a121db598229f1098a1ab9aaa0e353ba83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/folkehelsestats/actions/runs/26666866230"
    }
  ]
}