{
  "_id": "6ab3c0863d719c1f84093736",
  "Package": "Canton",
  "Title": "Consistent Fonts and Figure Export for Scientific Publication\nWorkflows",
  "Version": "0.0.8",
  "Authors@R": "person(\"Tim\", \"Holy\", , \"email@timholy.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides a unified interface for exporting figures created\nwith base graphics, 'ggplot2', 'grid', 'pheatmap', and\n'ComplexHeatmap' to PDF, PNG, JPEG, and TIFF files. Selects an\nappropriate rendering strategy based on the plot object and\nsupports exporting a figure to multiple formats in one call.\nAlso provides font configuration and diagnostics, reusable\nfigure presets, publication-oriented themes, and colour\npalettes. The 'ggplot2' graphics framework is described by\nWickham (2016, ISBN:978-3-319-24277-4).",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/ScienceAdvances/Canton",
  "BugReports": "https://github.com/ScienceAdvances/Canton/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev",
  "Repository": "https://scienceadvances.r-universe.dev",
  "Date/Publication": "2026-09-23 09:27:18 UTC",
  "RemoteUrl": "https://github.com/scienceadvances/canton",
  "RemoteRef": "HEAD",
  "RemoteSha": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-23 12:01:12 UTC",
    "User": "root"
  },
  "Author": "Tim Holy [aut, cre]",
  "Maintainer": "Tim Holy <email@timholy.com>",
  "_user": "scienceadvances",
  "_type": "src",
  "_file": "Canton_0.0.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/42c74369eb0d05757486ec5fbac34b17b22a5bb0c03c992d9460a0047a6340a6",
  "_filesize": 134483,
  "_sha256": "42c74369eb0d05757486ec5fbac34b17b22a5bb0c03c992d9460a0047a6340a6",
  "_expires": "2027-01-01T12:05:24.000Z",
  "_created": "2026-09-23T12:01:12.000Z",
  "_published": "2026-09-23T12:05:26.259Z",
  "_jobs": [
    {
      "job": 107170831468,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10747659179"
    },
    {
      "job": 107170831477,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10748910091"
    },
    {
      "job": 107170831618,
      "time": 67,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10748471432"
    },
    {
      "job": 107170831605,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10748361876"
    },
    {
      "job": 107169856696,
      "time": 179,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10747419246"
    },
    {
      "job": 107170831460,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10748645369"
    },
    {
      "job": 107170831466,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10748381374"
    },
    {
      "job": 107170831576,
      "time": 69,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10748253761"
    },
    {
      "job": 107170831689,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10747324773"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541",
  "_status": "success",
  "_upstream": "https://github.com/scienceadvances/canton",
  "_commit": {
    "id": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
    "author": "ScienceAdvances <aubot@hotmail.com>",
    "committer": "ScienceAdvances <aubot@hotmail.com>",
    "message": "CRAN\n",
    "time": 1790155638
  },
  "_maintainer": {
    "name": "Tim Holy",
    "email": "email@timholy.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "systemfonts",
      "role": "Imports"
    },
    {
      "package": "ComplexHeatmap",
      "role": "Suggests"
    },
    {
      "package": "pheatmap",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "scienceadvances",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-33",
      "n": 4
    },
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "timholyy",
      "count": 25,
      "uuid": 37234272
    }
  ],
  "_userbio": {
    "uuid": 248839604,
    "type": "organization",
    "name": "Science Advances",
    "followers": 1,
    "description": "Science Advances"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Canton"
  },
  "_devurl": "https://github.com/scienceadvances/canton",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/Canton.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/scienceadvances/canton",
  "_realowner": "scienceadvances",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.8",
      "date": "2026-09-22"
    }
  ],
  "_exports": [
    "figure_preset",
    "fontcheck",
    "fontlist",
    "hue",
    "imagesave",
    "mkdir",
    "pwd",
    "resetfont",
    "scale_color_canton_c",
    "scale_color_canton_d",
    "scale_colour_canton_c",
    "scale_colour_canton_d",
    "scale_fill_canton_c",
    "scale_fill_canton_d",
    "setfont",
    "theme_canton",
    "using"
  ],
  "_help": [
    {
      "page": "canton_scales",
      "title": "Canton colour scales for ggplot2",
      "topics": [
        "canton_scales",
        "scale_color_canton_c",
        "scale_color_canton_d",
        "scale_colour_canton_c",
        "scale_colour_canton_d",
        "scale_fill_canton_c",
        "scale_fill_canton_d"
      ]
    },
    {
      "page": "figure_preset",
      "title": "Create a figure export preset",
      "topics": [
        "figure_preset"
      ]
    },
    {
      "page": "fontcheck",
      "title": "Check whether a plotting font is available",
      "topics": [
        "fontcheck"
      ]
    },
    {
      "page": "fontlist",
      "title": "List available font families",
      "topics": [
        "fontlist"
      ]
    },
    {
      "page": "hue",
      "title": "Return a Canton colour palette",
      "topics": [
        "hue"
      ]
    },
    {
      "page": "imagesave",
      "title": "Save plots in one or more image formats",
      "topics": [
        "imagesave"
      ]
    },
    {
      "page": "mkdir",
      "title": "Create directories",
      "topics": [
        "mkdir"
      ]
    },
    {
      "page": "pwd",
      "title": "Return the current working directory",
      "topics": [
        "pwd"
      ]
    },
    {
      "page": "resetfont",
      "title": "Compatibility helper for scoped font settings",
      "topics": [
        "resetfont"
      ]
    },
    {
      "page": "setfont",
      "title": "Configure a font locally",
      "topics": [
        "setfont"
      ]
    },
    {
      "page": "theme_canton",
      "title": "A publication-oriented ggplot2 theme",
      "topics": [
        "theme_canton"
      ]
    },
    {
      "page": "using",
      "title": "Load multiple packages quietly",
      "topics": [
        "using"
      ]
    }
  ],
  "_readme": "https://github.com/scienceadvances/canton/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "systemfonts",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "canton",
  "_universes": [
    "scienceadvances"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.8",
      "date": "2026-09-23T12:03:56.000Z",
      "distro": "resolute",
      "commit": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
      "fileid": "https://r2.ropensci.org/e1c58c8aab174f44eab68e87825a233aa9cde99da9187314e4a18571bd4c1b6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.8",
      "date": "2026-09-23T12:03:52.000Z",
      "distro": "resolute",
      "commit": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
      "fileid": "https://r2.ropensci.org/4abbb2536b9075b920ded4a863cbee37abaa75984539cfcb90b28cdfbc916191",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.8",
      "date": "2026-09-23T12:04:16.000Z",
      "commit": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
      "fileid": "https://r2.ropensci.org/53cbc3f0485f8230be6d0c97cc8e77a4aec2cff583e2d4cfb83cfbd631a445e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.8",
      "date": "2026-09-23T12:04:51.000Z",
      "commit": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
      "fileid": "https://r2.ropensci.org/62e9058d67d4e1f3b4f5d5036a3a2403dfc7012c477a42a7b89c55ffeb40e66d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.8",
      "date": "2026-09-23T12:03:58.000Z",
      "commit": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
      "fileid": "https://r2.ropensci.org/095f0f130852950715da67349237774663c71a04b2c5376b73561d1e8ee7cea6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.8",
      "date": "2026-09-23T12:02:43.000Z",
      "commit": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
      "fileid": "https://r2.ropensci.org/57a3406b748e959966345d5a38d6fb5fb7ffc543f6cf3fb4f0654c2f18ddc79e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.8",
      "date": "2026-09-23T12:02:43.000Z",
      "commit": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
      "fileid": "https://r2.ropensci.org/6c59a0022dcce11894a84a73ee667d7b545f9dfea3e7e2fb38b7f77866d937f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.8",
      "date": "2026-09-23T12:02:53.000Z",
      "commit": "629aeb2017aff2157ecd471833c6ae3c2a970b38",
      "fileid": "https://r2.ropensci.org/93a940bc64aee480f78197b280cb6596d2ea444b9f8961ecd0a06812525f7152",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/scienceadvances/actions/runs/35857608541"
    }
  ]
}