{
  "_id": "6a59cb5409eb0996dd68de77",
  "Type": "Package",
  "Package": "papersize",
  "Title": "Sizing Plots and Files for Paper",
  "Version": "0.1.1",
  "Authors@R": "person(\"Eli\", \"Pousson\", , \"eli.pousson@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-8280-1706\"))",
  "Maintainer": "Eli Pousson <eli.pousson@gmail.com>",
  "Description": "A set of convenience functions extending grid, ggplot2,\nand patchwork to help you size plots and files for printing to\npaper, postcards, playing cards, and other physical media.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/elipousson/papersize,\nhttps://elipousson.github.io/papersize/",
  "BugReports": "https://github.com/elipousson/papersize/issues",
  "Remotes": [
    "elipousson/cliExtras",
    "elipousson/filenamr"
  ],
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libudunits2-dev",
  "Repository": "https://elipousson.r-universe.dev",
  "Date/Publication": "2026-07-17 06:16:56 UTC",
  "RemoteUrl": "https://github.com/elipousson/papersize",
  "RemoteRef": "HEAD",
  "RemoteSha": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-17 06:23:39 UTC",
    "User": "root"
  },
  "Author": "Eli Pousson [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-8280-1706>)",
  "_user": "elipousson",
  "_type": "src",
  "_file": "papersize_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/b19d14a993b7832628038b0f887dd3c7885e1e024110f76b9654447abefcf6c6",
  "_filesize": 315715,
  "_sha256": "b19d14a993b7832628038b0f887dd3c7885e1e024110f76b9654447abefcf6c6",
  "_expires": "2026-10-25T06:27:30.000Z",
  "_created": "2026-07-17T06:23:39.000Z",
  "_published": "2026-07-17T06:27:32.015Z",
  "_jobs": [
    {
      "job": 87820029457,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8398891332"
    },
    {
      "job": 87820029470,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8398888466"
    },
    {
      "job": 87820029456,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8398878929"
    },
    {
      "job": 87820029460,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8398876580"
    },
    {
      "job": 87819429735,
      "time": 256,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8398845184"
    },
    {
      "job": 87820029462,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8398880328"
    },
    {
      "job": 87820029496,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8398872047"
    },
    {
      "job": 87820029471,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8398872118"
    },
    {
      "job": 87820029485,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8398870189"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785",
  "_status": "success",
  "_upstream": "https://github.com/elipousson/papersize",
  "_commit": {
    "id": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
    "author": "Eli Pousson <eli.pousson@gmail.com>",
    "committer": "Eli Pousson <eli.pousson@gmail.com>",
    "message": "Style w/ Air\n",
    "time": 1784269016
  },
  "_maintainer": {
    "name": "Eli Pousson",
    "email": "eli.pousson@gmail.com",
    "login": "elipousson",
    "orcid": "0000-0001-8280-1706",
    "twitter": "@elipousson",
    "description": "I love old buildings and bicycles. Planner with the Baltimore City Department of Planning. Former preservationist @baltimoreheritage",
    "uuid": 931136
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "cliExtras",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "filenamr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.0",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "janitor",
      "role": "Suggests"
    },
    {
      "package": "magick",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "qpdf",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "elipousson",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-29",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "elipousson",
      "count": 158,
      "uuid": 931136
    }
  ],
  "_userbio": {
    "uuid": 931136,
    "type": "user",
    "name": "Eli Pousson",
    "followers": 136,
    "description": "I love old buildings and bicycles. Planner with the Baltimore City Department of Planning. Former preservationist @baltimoreheritage"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/papersize"
  },
  "_devurl": "https://github.com/elipousson/papersize",
  "_pkgdown": "https://elipousson.github.io/papersize/",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/papersize.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_card_border",
    "add_card_number",
    "add_card_text",
    "as_asp",
    "as_dist_units",
    "as_page",
    "as_unit",
    "as_unit_type",
    "convert_dist_scale",
    "convert_dist_units",
    "convert_page_units",
    "convert_unit_type",
    "get_card",
    "get_dist_units",
    "get_margin",
    "get_page_dims",
    "get_page_size",
    "get_paper",
    "get_scale",
    "get_social_size",
    "ggsave_ext",
    "ggsave_social",
    "inset_page_element",
    "is_dist_units",
    "is_margin",
    "is_same_unit_type",
    "is_same_units",
    "is_unit_type",
    "make_contact_sheets",
    "make_page_size",
    "map_ggsave_ext",
    "margins",
    "page_layout",
    "page_to_layout",
    "page_to_viewport",
    "plot_cards",
    "print_to_page",
    "print_to_page_layout",
    "set_page_asp",
    "set_page_dims",
    "set_page_margin",
    "set_page_orientation",
    "theme_page"
  ],
  "_datasets": [
    {
      "name": "area_unit_options",
      "title": "Area units (vector)",
      "object": "area_unit_options",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "card_sizes",
      "title": "Standard card sizes",
      "object": "card_sizes",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "name",
        "units",
        "width",
        "height",
        "orientation"
      ],
      "rows": 7,
      "table": true,
      "tojson": true
    },
    {
      "name": "dist_unit_options",
      "title": "Distance units (vector)",
      "object": "dist_unit_options",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "dist_units",
      "title": "Distance units (data frame)",
      "object": "dist_units",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "symbol",
        "symbol_aliases",
        "name_singular",
        "name_singular_aliases",
        "name_plural",
        "name_plural_aliases",
        "def",
        "definition",
        "comment",
        "dimensionless",
        "source_xml",
        "unit_opts"
      ],
      "rows": 33,
      "table": true,
      "tojson": true
    },
    {
      "name": "grid_units",
      "title": "Grid units (vector)",
      "object": "grid_units",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "page_extras",
      "title": "Extra reference data for page layouts",
      "object": "page_extras",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "paper_sizes",
      "title": "Standard paper and image sizes",
      "object": "paper_sizes",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "name",
        "series",
        "size",
        "standard",
        "units",
        "width",
        "height",
        "orientation",
        "type"
      ],
      "rows": 125,
      "table": true,
      "tojson": true
    },
    {
      "name": "standard_scales",
      "title": "Standard map, architectural, and engineering scales",
      "object": "standard_scales",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "scale",
        "standard",
        "series",
        "actual_ft",
        "actual_ft_unit",
        "scale_in",
        "scale_in_unit",
        "scale_in_accuracy",
        "scale_cm",
        "scale_cm_unit",
        "scale_cm_accuracy",
        "size_latlon",
        "size_latlon_unit",
        "area_approx",
        "area_approx_unit",
        "series_status"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "area_unit_options",
      "title": "Area units (vector)",
      "topics": [
        "area_unit_options"
      ]
    },
    {
      "page": "as_asp",
      "title": "Convert character string, page name, or page data.frame to numeric aspect ratio",
      "topics": [
        "as_asp"
      ]
    },
    {
      "page": "as_page",
      "title": "Coerce a character or named vector to a page data.frame using get_page_size() or make_page_size()",
      "topics": [
        "as_page"
      ]
    },
    {
      "page": "as_unit",
      "title": "Helper functions for grid units",
      "topics": [
        "as_unit",
        "as_unit_type",
        "convert_unit_type",
        "is_same_unit_type",
        "is_unit_type"
      ]
    },
    {
      "page": "card_sizes",
      "title": "Standard card sizes",
      "topics": [
        "card_sizes"
      ]
    },
    {
      "page": "convert_dist_scale",
      "title": "Convert distance from scale to actual units",
      "concept": [
        "dist"
      ],
      "topics": [
        "convert_dist_scale"
      ]
    },
    {
      "page": "convert_dist_units",
      "title": "Convert distance (and area) values between different units",
      "concept": [
        "dist"
      ],
      "topics": [
        "convert_dist_units"
      ]
    },
    {
      "page": "dist_unit_options",
      "title": "Distance units (vector)",
      "topics": [
        "dist_unit_options"
      ]
    },
    {
      "page": "dist_units",
      "title": "Distance units (data frame)",
      "topics": [
        "dist_units"
      ]
    },
    {
      "page": "get_page_size",
      "title": "Get a paper or card size based on name, dimensions, orientation, or type",
      "topics": [
        "convert_page_units",
        "get_card",
        "get_page_dims",
        "get_page_size",
        "get_paper"
      ]
    },
    {
      "page": "get_scale",
      "title": "Get standard scales and convert to scale distances",
      "topics": [
        "get_scale",
        "get_standard_scale"
      ]
    },
    {
      "page": "get_social_size",
      "title": "Get social media image size to match platform and format",
      "topics": [
        "get_social_size"
      ]
    },
    {
      "page": "ggsave_ext",
      "title": "Save a ggplot2 plot to file and update file EXIF metadata",
      "topics": [
        "ggsave_ext",
        "ggsave_social",
        "map_ggsave_ext"
      ]
    },
    {
      "page": "grid_units",
      "title": "Grid units (vector)",
      "topics": [
        "grid_units"
      ]
    },
    {
      "page": "inset_page_element",
      "title": "Create an inset with page size dimensions be added on top of the previous plot",
      "topics": [
        "inset_page_element"
      ]
    },
    {
      "page": "is_dist_units",
      "title": "General utility functions for working with distance units objects",
      "concept": [
        "dist"
      ],
      "topics": [
        "as_dist_units",
        "get_dist_units",
        "is_dist_units",
        "is_same_units"
      ]
    },
    {
      "page": "make_contact_sheets",
      "title": "Use 'magick::image_ggplot()' to make contact sheets for images",
      "topics": [
        "make_contact_sheets"
      ]
    },
    {
      "page": "make_page_size",
      "title": "Make a page size data frame",
      "topics": [
        "make_page_size"
      ]
    },
    {
      "page": "margins",
      "title": "Specify the margins of a page or element",
      "topics": [
        "get_margin",
        "is_margin",
        "margins"
      ]
    },
    {
      "page": "page_extras",
      "title": "Extra reference data for page layouts",
      "topics": [
        "page_extras"
      ]
    },
    {
      "page": "page_layout",
      "title": "Use patchwork to lay out a list of fixed aspect plots on a larger page",
      "topics": [
        "layout_cards",
        "page_layout"
      ]
    },
    {
      "page": "page_to_layout",
      "title": "Convert a page size data.frame to a Grid layout object",
      "topics": [
        "page_to_layout"
      ]
    },
    {
      "page": "page_to_viewport",
      "title": "Convert a page data.frame to a 'viewport' class object",
      "topics": [
        "page_to_viewport"
      ]
    },
    {
      "page": "paper_sizes",
      "title": "Standard paper and image sizes",
      "topics": [
        "paper_sizes"
      ]
    },
    {
      "page": "plot_cards",
      "title": "Use ggplot to plot for one or more cards",
      "topics": [
        "plot_cards"
      ]
    },
    {
      "page": "print_to_page",
      "title": "Explicitly draw plot using dimensions from page data.frame or list",
      "topics": [
        "print_to_page",
        "print_to_page_layout"
      ]
    },
    {
      "page": "set_page_dims",
      "title": "Set page data.frame dimensions, orientation, or aspect ratio",
      "topics": [
        "set_page_asp",
        "set_page_dims",
        "set_page_orientation"
      ]
    },
    {
      "page": "set_page_margin",
      "title": "Set margins for page data.frame (adding body width, height, and asp)",
      "topics": [
        "set_page_margin"
      ]
    },
    {
      "page": "standard_scales",
      "title": "Standard map, architectural, and engineering scales",
      "topics": [
        "standard_scales"
      ]
    },
    {
      "page": "theme_page",
      "title": "Modify plot aspect ratio to match a page size",
      "topics": [
        "theme_page"
      ]
    }
  ],
  "_readme": "https://github.com/elipousson/papersize/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cliExtras",
    "glue",
    "lifecycle",
    "Rcpp",
    "rlang",
    "units",
    "vctrs"
  ],
  "_score": 2.778151250383644,
  "_indexed": true,
  "_nocasepkg": "papersize",
  "_universes": [
    "elipousson"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-07-17T06:26:30.000Z",
      "distro": "resolute",
      "commit": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
      "fileid": "https://r2.ropensci.org/720c614350f6038ae2f12ebc636e1ba940a1582c415f64cbf0afef9ff9020738",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-07-17T06:26:24.000Z",
      "distro": "resolute",
      "commit": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
      "fileid": "https://r2.ropensci.org/33af7032309d7cd50f1d7de932c926b6fb722ab822bdb3f0bc484d835be66799",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-07-17T06:25:50.000Z",
      "commit": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
      "fileid": "https://r2.ropensci.org/f7221c9090e3e81e21cd79719a34f7b2b04237762fb72cfbac7e5ad9c0d4f9bc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-07-17T06:25:44.000Z",
      "commit": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
      "fileid": "https://r2.ropensci.org/de0008e8a24ef4c8d7f478bd54c79b216c84279c34cce1f4570c4c392992ce6f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-07-17T06:26:23.000Z",
      "commit": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
      "fileid": "https://r2.ropensci.org/6156e0b81ca43d1448598ea30912ebf9ce3d7004192e9a89be2567471cfca1dc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-17T06:25:13.000Z",
      "commit": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
      "fileid": "https://r2.ropensci.org/8a65a492a6c6f0d0f92aebe544139d08f255a48eb891749d2e312e751caa3330",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-17T06:25:14.000Z",
      "commit": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
      "fileid": "https://r2.ropensci.org/80b0bfff7e543e29d78c4131bb46c18bdb54cbb11837b069ca97958eff70a879",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-17T06:25:09.000Z",
      "commit": "5ae06bd2bee1552533c123d1a9b3679f08c68aa3",
      "fileid": "https://r2.ropensci.org/9f428d67fff43a31966b387b1c7039612c9c836232acd0372ccd11bf531fecab",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/29559716785"
    }
  ]
}