{
  "_id": "6a1027caacfb0bcc41c90542",
  "Package": "sgplot",
  "Title": "Graphic Styles and Colours for Scottish Government Plots",
  "Version": "0.5.0.9000",
  "Authors@R": "c(\nperson(\"Scottish Government\", , , \"statistics.enquiries@gov.scot\", role = c(\"cph\", \"fnd\")),\nperson(\"Alice\", \"Hannah\", , \"alice.hannah@gov.scot\", role = c(\"aut\", \"cre\"))\n)",
  "Description": "A 'ggplot2' theme and colour palettes to create accessible\ndata visualisations in the Scottish Government.",
  "License": "MIT + file LICENSE",
  "URL": "https://ScotGovAnalysis.github.io/sgplot/,\nhttps://github.com/ScotGovAnalysis/sgplot",
  "BugReports": "https://github.com/ScotGovAnalysis/sgplot/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/Needs/website": "rmarkdown",
  "Repository": "https://scotgovanalysis.r-universe.dev",
  "Date/Publication": "2026-01-13 14:11:30 UTC",
  "RemoteUrl": "https://github.com/scotgovanalysis/sgplot",
  "RemoteRef": "HEAD",
  "RemoteSha": "955094d4092d357c7a2411a2b700b485c040178b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 08:24:41 UTC",
    "User": "root"
  },
  "Author": "Scottish Government [cph, fnd],\nAlice Hannah [aut, cre]",
  "Maintainer": "Alice Hannah <alice.hannah@gov.scot>",
  "MD5sum": "d82a1b11e34ae3140435e9c450577b0a",
  "_user": "scotgovanalysis",
  "_type": "src",
  "_file": "sgplot_0.5.0.9000.tar.gz",
  "_fileid": "9c9c00485a4bca590dcc9c74c62a147c6138eca1c7156ef2944fe8e5512af141",
  "_filesize": 151968,
  "_sha256": "9c9c00485a4bca590dcc9c74c62a147c6138eca1c7156ef2944fe8e5512af141",
  "_created": "2026-05-13T08:24:41.000Z",
  "_published": "2026-05-22T09:54:18.217Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77356627133,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965160234"
    },
    {
      "job": 77356627073,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965157418"
    },
    {
      "job": 77356627580,
      "time": 170,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965146439"
    },
    {
      "job": 77356627207,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965137843"
    },
    {
      "job": 77356627027,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965100286"
    },
    {
      "job": 77356626795,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157733571"
    },
    {
      "job": 77356627092,
      "time": 85,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965128332"
    },
    {
      "job": 77356627636,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965127958"
    },
    {
      "job": 77356627673,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965133648"
    }
  ],
  "_buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/scotgovanalysis/sgplot",
  "_commit": {
    "id": "955094d4092d357c7a2411a2b700b485c040178b",
    "author": "alice-hannah <alice.hannah@gov.scot>",
    "committer": "alice-hannah <alice.hannah@gov.scot>",
    "message": "Increment version number to 0.5.0.9000\n",
    "time": 1768313490
  },
  "_maintainer": {
    "name": "Alice Hannah",
    "email": "alice.hannah@gov.scot",
    "login": "alice-hannah",
    "uuid": 36480969
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "gapminder",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "scotgovanalysis",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 4
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2025-05-22"
    },
    {
      "name": "v0.5.0",
      "date": "2026-01-13"
    }
  ],
  "_topics": [
    "accessibility",
    "colours",
    "ggplot2",
    "ggplot2-theme",
    "style"
  ],
  "_stars": 18,
  "_contributors": [
    {
      "user": "alice-hannah",
      "count": 299,
      "uuid": 36480969
    },
    {
      "user": "alicebyers5",
      "count": 7,
      "uuid": 172813683
    }
  ],
  "_userbio": {
    "uuid": 46483824,
    "type": "organization",
    "name": "Scottish Government Analysis",
    "description": "This GitHub organisation is for analysts in the Scottish Government and its agencies to code and collaborate in the open."
  },
  "_downloads": {
    "count": 577,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sgplot"
  },
  "_devurl": "https://github.com/scotgovanalysis/sgplot",
  "_pkgdown": "https://ScotGovAnalysis.github.io/sgplot/",
  "_searchresults": 61,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sgplot.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/scotgovanalysis/sgplot",
  "_realowner": "scotgovanalysis",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2025-05-27"
    },
    {
      "version": "0.5.0",
      "date": "2026-01-13"
    }
  ],
  "_exports": [
    "available_palette_types",
    "available_palettes",
    "check_palette",
    "check_palette_type",
    "mm_to_inch",
    "scale_colour_continuous_sg",
    "scale_colour_discrete_sg",
    "scale_fill_continuous_sg",
    "scale_fill_discrete_sg",
    "theme_sg",
    "use_sgplot"
  ],
  "_datasets": [
    {
      "name": "af_colour_palettes",
      "title": "Government Analysis Function colours and palettes",
      "object": "af_colour_palettes",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "af_colour_values",
      "title": "Government Analysis Function colours and palettes",
      "object": "af_colour_values",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "sg_colour_palettes",
      "title": "Scottish Government colours and palettes",
      "object": "sg_colour_palettes",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "sg_colour_values",
      "title": "Scottish Government colours and palettes",
      "object": "sg_colour_values",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "sss_colour_palettes",
      "title": "Social Security Scotland colours and palettes",
      "object": "sss_colour_palettes",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "sss_colour_values",
      "title": "Social Security Scotland colours and palettes",
      "object": "sss_colour_values",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "af_colour_values",
      "title": "Government Analysis Function colours and palettes",
      "topics": [
        "af_colour_palettes",
        "af_colour_values"
      ]
    },
    {
      "page": "available_palettes",
      "title": "Available palettes and palette types",
      "topics": [
        "available_palettes",
        "available_palette_types"
      ]
    },
    {
      "page": "check_palette",
      "title": "Check palettes and palette types",
      "topics": [
        "check_palette",
        "check_palette_type"
      ]
    },
    {
      "page": "mm_to_inch",
      "title": "Convert millimetres to inches",
      "topics": [
        "mm_to_inch"
      ]
    },
    {
      "page": "scale_colour_continuous_sg",
      "title": "Continuous colour/fill scales for Scottish Government plots",
      "topics": [
        "scale_colour_continuous_sg",
        "scale_fill_continuous_sg"
      ]
    },
    {
      "page": "scale_colour_discrete_sg",
      "title": "Discrete colour/fill scales for Scottish Government plots",
      "topics": [
        "scale_colour_discrete_sg",
        "scale_fill_discrete_sg"
      ]
    },
    {
      "page": "sg_colour_values",
      "title": "Scottish Government colours and palettes",
      "topics": [
        "sg_colour_palettes",
        "sg_colour_values"
      ]
    },
    {
      "page": "sss_colour_values",
      "title": "Social Security Scotland colours and palettes",
      "topics": [
        "sss_colour_palettes",
        "sss_colour_values"
      ]
    },
    {
      "page": "theme_sg",
      "title": "Scottish Government theme for ggplot2 charts.",
      "topics": [
        "theme_sg"
      ]
    },
    {
      "page": "use_sgplot",
      "title": "Use sgplot defaults.",
      "topics": [
        "use_sgplot"
      ]
    }
  ],
  "_pkglogo": "https://github.com/scotgovanalysis/sgplot/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/scotgovanalysis/sgplot/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 5.438542348786111,
  "_indexed": true,
  "_nocasepkg": "sgplot",
  "_universes": [
    "scotgovanalysis",
    "alice-hannah"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-05-13T08:27:45.000Z",
      "distro": "noble",
      "commit": "955094d4092d357c7a2411a2b700b485c040178b",
      "fileid": "bdbac6335ab8bf05fb058ad9f2a23565ee62c1563a83940d5999de512efe5371",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-05-13T08:27:38.000Z",
      "distro": "noble",
      "commit": "955094d4092d357c7a2411a2b700b485c040178b",
      "fileid": "7a586f9e6dc971f8960762633d8d282dd61fffb874ee3c8df7fb2918ff861ea1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-05-13T08:27:12.000Z",
      "commit": "955094d4092d357c7a2411a2b700b485c040178b",
      "fileid": "e694939899b4300143c14da46eb86662252da41e39a0f10e43053ca486318efc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-05-13T08:26:45.000Z",
      "commit": "955094d4092d357c7a2411a2b700b485c040178b",
      "fileid": "7424502893cb2b5237254de36edcd037449f6857207dab22ea9802d34972b806",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-05-13T08:26:08.000Z",
      "commit": "955094d4092d357c7a2411a2b700b485c040178b",
      "fileid": "4c95ea42c07dccc738860ae5e829f389b02cb84cc65151ffb92c4313b08a44db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-05-13T08:26:09.000Z",
      "commit": "955094d4092d357c7a2411a2b700b485c040178b",
      "fileid": "c11dfa1851682cea7e8790e460702ed3aee547feb150db0a9b47057df5019dad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-05-13T08:26:28.000Z",
      "commit": "955094d4092d357c7a2411a2b700b485c040178b",
      "fileid": "9a1314ec79dc535d21cf2cb2ea39ed8674b8f4a85b094183e50b13a101642672",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0.9000",
      "date": "2026-05-22T09:54:00.000Z",
      "commit": "955094d4092d357c7a2411a2b700b485c040178b",
      "fileid": "ebf738e2a4360c833ff9a9c34971d689936d1d0f5e9997948eb0cf340ec9277b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/scotgovanalysis/actions/runs/25787294005"
    }
  ]
}