{
  "_id": "6a180e6aacfb0bcc41dae1a4",
  "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.2",
  "Config/pak/sysreqs": "libudunits2-dev",
  "Repository": "https://elipousson.r-universe.dev",
  "Date/Publication": "2024-10-09 02:30:27 UTC",
  "RemoteUrl": "https://github.com/elipousson/papersize",
  "RemoteRef": "HEAD",
  "RemoteSha": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 09:40:11 UTC",
    "User": "root"
  },
  "Author": "Eli Pousson [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-8280-1706>)",
  "MD5sum": "d5b571dd343fec8a2313649bcda2f405",
  "_user": "elipousson",
  "_type": "src",
  "_file": "papersize_0.1.1.tar.gz",
  "_fileid": "edea0f9436ceccd105226bbab602cd51b49c69b1d85fccab06dc3b2d395c07f2",
  "_filesize": 314990,
  "_sha256": "edea0f9436ceccd105226bbab602cd51b49c69b1d85fccab06dc3b2d395c07f2",
  "_created": "2026-05-28T09:40:11.000Z",
  "_published": "2026-05-28T09:44:10.636Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78264455188,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7262688783"
    },
    {
      "job": 78264455013,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7262692582"
    },
    {
      "job": 78264455164,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7262684992"
    },
    {
      "job": 78264454947,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7262667405"
    },
    {
      "job": 78263809165,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7262639120"
    },
    {
      "job": 78264454919,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7262684516"
    },
    {
      "job": 78264455053,
      "time": 104,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7262674355"
    },
    {
      "job": 78264454994,
      "time": 108,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7262675378"
    },
    {
      "job": 78264455130,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7262687909"
    }
  ],
  "_buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/elipousson/papersize",
  "_commit": {
    "id": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
    "author": "Eli Pousson <eli.pousson@gmail.com>",
    "committer": "Eli Pousson <eli.pousson@gmail.com>",
    "message": "Increment version number to 0.1.1\n",
    "time": 1728441027
  },
  "_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
  },
  "_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",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "filenamr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "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": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "elipousson",
      "count": 151,
      "uuid": 931136
    }
  ],
  "_userbio": {
    "uuid": 931136,
    "type": "user",
    "name": "Eli Pousson",
    "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.0",
  "_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",
    "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",
    "margin",
    "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",
        "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-05-28T09:43:06.000Z",
      "distro": "noble",
      "commit": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
      "fileid": "65e6bfd500bb28b7f078b54c198bab1369e259cf2eaeaa93283872d3e37a6b1d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-28T09:43:17.000Z",
      "distro": "noble",
      "commit": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
      "fileid": "d21b05ad4f7b9c0b3f10581e32e8b0ccfb94336ecb8d136381a5706de313c1c9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-28T09:42:28.000Z",
      "commit": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
      "fileid": "d5832f576a9b2bd49eec5728afa686ab739b373c9303dbf67eccdcea05c66177",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-28T09:42:14.000Z",
      "commit": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
      "fileid": "ad694b376217d3aa8291c6216146823dc0f5af81d44eb906ceee59972319b382",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-28T09:43:23.000Z",
      "commit": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
      "fileid": "8848d8056969aa638964ff8bc2cbb8a2c4f7ad1020e5c2c3f0ff90435f81ac58",
      "status": "success",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-28T09:42:16.000Z",
      "commit": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
      "fileid": "1d4721c8fa050fa2e81ca0b0f3f0279c7141b1e1c1196e3499f13f1167d6d1a1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-28T09:42:17.000Z",
      "commit": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
      "fileid": "fdb2d3ae3d866fac63ccf6cd9be829426ae04e1fca0d4994f0efebe7156af716",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-28T09:42:58.000Z",
      "commit": "33a0a99e829be0e749c279f1cad396ce7d5bbc50",
      "fileid": "c5ea7593f001a2397707eb260a8d2f76b084de1834cc3b4cc067249f956a26a3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/elipousson/actions/runs/26566891720"
    }
  ]
}