{
  "_id": "6a46d7206527f6f71f9f53dc",
  "Package": "a5R",
  "Title": "'A5' Discrete Global Grid System",
  "Version": "0.5.0",
  "Authors@R": "c(\nperson(\"Hugh\", \"Graham\", role = c(\"aut\", \"cre\"),\nemail = \"hugh@belian.earth\"),\nperson(\"belian.earth\", role = \"cph\")\n)",
  "Description": "Bindings for the \"A5 geospatial index\"\n<https://a5geo.org/>. 'A5' partitions the Earth's surface into\npentagonal cells across 31 resolution levels using an\nequal-area projection onto a dodecahedron. Provides functions\nfor indexing coordinates to cells, traversing the cell\nhierarchy, computing cell boundaries, and\ncompacting/uncompacting cell sets. Powered by the 'A5' 'Rust'\ncrate via 'extendr'.",
  "License": "Apache License (>= 2)",
  "URL": "https://github.com/belian-earth/a5R,\nhttps://belian-earth.github.io/a5R/",
  "BugReports": "https://github.com/belian-earth/a5R/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/rextendr/version": "0.5.0",
  "SystemRequirements": "Cargo (Rust's package manager), rustc",
  "Encoding": "UTF-8",
  "RoxygenNote": "8.0.0",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-02 21:20:24 UTC",
    "User": "root"
  },
  "Author": "Hugh Graham [aut, cre], belian.earth [cph]",
  "Maintainer": "Hugh Graham <hugh@belian.earth>",
  "Config/pak/sysreqs": "libclang-dev",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-02 03:20:30 UTC",
  "RemoteUrl": "https://github.com/cran/a5R",
  "RemoteRef": "HEAD",
  "RemoteSha": "44902acd77b7e1db4f724e39c24f99e1249e0210",
  "_user": "cran",
  "_type": "src",
  "_file": "a5R_0.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/993d1196eabe9d8eedf3c7249a460c50eebdff69574e326363077bfd7977e250",
  "_filesize": 3044037,
  "_sha256": "993d1196eabe9d8eedf3c7249a460c50eebdff69574e326363077bfd7977e250",
  "_expires": "2026-10-10T21:24:47.000Z",
  "_created": "2026-07-02T21:20:24.000Z",
  "_published": "2026-07-02T21:24:48.493Z",
  "_jobs": [
    {
      "job": 84880862245,
      "time": 196,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8051959709"
    },
    {
      "job": 84880862249,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8051952187"
    },
    {
      "job": 84880862248,
      "time": 167,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8051950163"
    },
    {
      "job": 84880862239,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8051949535"
    },
    {
      "job": 84880007083,
      "time": 300,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051893672"
    },
    {
      "job": 84880862213,
      "time": 184,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8051954172"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28622069674",
  "_status": "success",
  "_upstream": "https://github.com/cran/a5R",
  "_commit": {
    "id": "44902acd77b7e1db4f724e39c24f99e1249e0210",
    "author": "Hugh Graham <hugh@belian.earth>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.0\n",
    "time": 1782962430
  },
  "_maintainer": {
    "name": "Hugh Graham",
    "email": "hugh@belian.earth",
    "login": "h-a-graham",
    "mastodon": "@hughagraham@fosstodon.org",
    "description": "A geospatial scientist trying to understand tropical forest dynamics and biomass change. Used to study the impact of beavers. All about OSS, mainly R + Python",
    "uuid": 43027949
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "version": ">= 0.6.0",
      "role": "Imports"
    },
    {
      "package": "wk",
      "version": ">= 0.9.0",
      "role": "Imports"
    },
    {
      "package": "arrow",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pillar",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "terra",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-03-16"
    },
    {
      "name": "0.3.1",
      "date": "2026-03-26"
    },
    {
      "name": "0.4.0",
      "date": "2026-05-14"
    },
    {
      "name": "0.5.0",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "h-a-graham",
      "count": 4,
      "uuid": 43027949
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 624,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/a5R"
  },
  "_devurl": "https://github.com/belian-earth/a5r",
  "_pkgdown": "https://belian-earth.github.io/a5R/",
  "_searchresults": 21,
  "_cargo": true,
  "_topics": [
    "rust",
    "cargo"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/a5R.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/belian-earth/a5r",
  "_realowner": "belian-earth",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-03-16"
    },
    {
      "version": "0.3.1",
      "date": "2026-03-26"
    },
    {
      "version": "0.4.0",
      "date": "2026-05-14"
    },
    {
      "version": "0.5.0",
      "date": "2026-07-02"
    }
  ],
  "_exports": [
    "a5_cell",
    "a5_cell_area",
    "a5_cell_distance",
    "a5_cell_from_arrow",
    "a5_cell_to_arrow",
    "a5_cell_to_boundary",
    "a5_cell_to_children",
    "a5_cell_to_lonlat",
    "a5_cell_to_parent",
    "a5_compact",
    "a5_get_num_cells",
    "a5_get_num_children",
    "a5_get_res0_cells",
    "a5_get_resolution",
    "a5_get_threads",
    "a5_grid_disk",
    "a5_hex_to_u64",
    "a5_is_valid",
    "a5_linestring_to_cells",
    "a5_lonlat_to_cell",
    "a5_polygon_to_cells",
    "a5_set_threads",
    "a5_spherical_cap",
    "a5_u64_to_hex",
    "a5_uncompact",
    "as_a5_cell",
    "is_a5_cell"
  ],
  "_help": [
    {
      "page": "a5_cell",
      "title": "A5 Cell Index Vector",
      "topics": [
        "a5_cell",
        "a5_is_valid",
        "as_a5_cell",
        "is_a5_cell"
      ]
    },
    {
      "page": "a5_cell_area",
      "title": "Cell area at a given resolution",
      "topics": [
        "a5_cell_area"
      ]
    },
    {
      "page": "a5_cell_distance",
      "title": "Distance between cell centroids",
      "topics": [
        "a5_cell_distance"
      ]
    },
    {
      "page": "a5_cell_from_arrow",
      "title": "Convert between a5_cell and Arrow uint64 arrays",
      "topics": [
        "a5_cell_from_arrow",
        "a5_cell_to_arrow"
      ]
    },
    {
      "page": "a5_cell_to_boundary",
      "title": "Get cell boundary polygons",
      "topics": [
        "a5_cell_to_boundary"
      ]
    },
    {
      "page": "a5_cell_to_children",
      "title": "Get child cells",
      "topics": [
        "a5_cell_to_children"
      ]
    },
    {
      "page": "a5_cell_to_lonlat",
      "title": "Convert A5 cell indices to coordinates",
      "topics": [
        "a5_cell_to_lonlat"
      ]
    },
    {
      "page": "a5_cell_to_parent",
      "title": "Navigate to parent cell(s)",
      "topics": [
        "a5_cell_to_parent"
      ]
    },
    {
      "page": "a5_compact",
      "title": "Compact a set of A5 cells",
      "topics": [
        "a5_compact"
      ]
    },
    {
      "page": "a5_get_num_cells",
      "title": "Total number of cells at a given resolution",
      "topics": [
        "a5_get_num_cells"
      ]
    },
    {
      "page": "a5_get_num_children",
      "title": "Number of children between two resolutions",
      "topics": [
        "a5_get_num_children"
      ]
    },
    {
      "page": "a5_get_res0_cells",
      "title": "Get all resolution-0 root cells",
      "topics": [
        "a5_get_res0_cells"
      ]
    },
    {
      "page": "a5_get_resolution",
      "title": "Get the resolution of A5 cell indices",
      "topics": [
        "a5_get_resolution"
      ]
    },
    {
      "page": "a5_grid_disk",
      "title": "Cells within k hops of a cell",
      "topics": [
        "a5_grid_disk"
      ]
    },
    {
      "page": "a5_linestring_to_cells",
      "title": "Cells traced by a great-circle linestring",
      "topics": [
        "a5_linestring_to_cells"
      ]
    },
    {
      "page": "a5_lonlat_to_cell",
      "title": "Convert coordinates to A5 cell indices",
      "topics": [
        "a5_lonlat_to_cell"
      ]
    },
    {
      "page": "a5_polygon_to_cells",
      "title": "Cells whose centres lie inside a polygon",
      "topics": [
        "a5_polygon_to_cells"
      ]
    },
    {
      "page": "a5_threads",
      "title": "Set the number of threads used by a5R",
      "topics": [
        "a5_get_threads",
        "a5_set_threads"
      ]
    },
    {
      "page": "a5_spherical_cap",
      "title": "Cells within a great-circle radius",
      "topics": [
        "a5_spherical_cap"
      ]
    },
    {
      "page": "a5_u64_to_hex",
      "title": "Coerce between hex strings and A5 cell vectors",
      "topics": [
        "a5_hex_to_u64",
        "a5_u64_to_hex"
      ]
    },
    {
      "page": "a5_uncompact",
      "title": "Uncompact a set of A5 cells to a target resolution",
      "topics": [
        "a5_uncompact"
      ]
    },
    {
      "page": "wk_methods",
      "title": "wk methods for a5_cell",
      "topics": [
        "wk_crs.a5_cell",
        "wk_handle.a5_cell",
        "wk_methods"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/a5R/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/a5R/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "Rcpp",
    "rlang",
    "units",
    "vctrs",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "a5R.Rmd",
      "filename": "a5R.html",
      "title": "Getting started with a5R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Index a point",
        "Cell boundaries",
        "Hierarchy and compaction",
        "Compact and uncompact",
        "Traversal",
        "Converting geometries to a5 cells",
        "Tracing a line"
      ],
      "created": "2026-03-16 19:10:19",
      "modified": "2026-05-14 13:10:27",
      "commits": 3
    },
    {
      "source": "internal-cell-representation.Rmd",
      "filename": "internal-cell-representation.html",
      "title": "How a5R stores cell IDs without strings",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The problem",
        "The solution: eight raw-byte fields",
        "R-side: a vctrs record type",
        "Why this matters",
        "NA handling",
        "Summary"
      ],
      "created": "2026-03-26 14:02:23",
      "modified": "2026-05-14 13:10:27",
      "commits": 2
    },
    {
      "source": "multithreading.Rmd",
      "filename": "multithreading.html",
      "title": "Multi-threading",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setting the thread count",
        "What gets parallelised",
        "When is it worthwhile?",
        "Thread safety"
      ],
      "created": "2026-03-16 19:10:19",
      "modified": "2026-05-14 13:10:27",
      "commits": 3
    },
    {
      "source": "traversal-and-distance.Rmd",
      "filename": "traversal-and-distance.html",
      "title": "Traversal and distance",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Selecting cells around a point",
        "Distance heatmap",
        "Distance methods"
      ],
      "created": "2026-03-16 19:10:19",
      "modified": "2026-05-14 13:10:27",
      "commits": 2
    },
    {
      "source": "arrow-parquet.Rmd",
      "filename": "arrow-parquet.html",
      "title": "Working with Arrow and Parquet",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The uint64 problem",
        "The solution: a5_cell_from_arrow() and a5_cell_to_arrow()",
        "Writing and reading Parquet",
        "How it works under the hood"
      ],
      "created": "2026-03-26 14:02:23",
      "modified": "2026-05-14 13:10:27",
      "commits": 2
    }
  ],
  "_score": 4.3222192947339195,
  "_indexed": false,
  "_nocasepkg": "a5r",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://belian-earth.r-universe.dev/a5R",
  "_previous": "0.4.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-02T21:23:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "44902acd77b7e1db4f724e39c24f99e1249e0210",
      "fileid": "https://r2.ropensci.org/dda8eca71cc5c645c854af56b73c7f0722760abbf0a7fb6b37231dc5108207c6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622069674"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-02T21:23:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "44902acd77b7e1db4f724e39c24f99e1249e0210",
      "fileid": "https://r2.ropensci.org/7aca101b620ef6094ddd62fdb82452f94e3128afca36ac6296046df005a2dc81",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622069674"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-02T21:23:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "44902acd77b7e1db4f724e39c24f99e1249e0210",
      "fileid": "https://r2.ropensci.org/c58f1a80c2843cc3f9e71be3fcc9bd15db195a5f1b8455699442055a1a2b9aa0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622069674"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-07-02T21:23:08.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "44902acd77b7e1db4f724e39c24f99e1249e0210",
      "fileid": "https://r2.ropensci.org/7e6b630dd3ad452de8d10bae900515616058d2aed0e976c57bf13784ad1abab3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622069674"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-07-02T21:23:51.000Z",
      "arch": "emscripten",
      "commit": "44902acd77b7e1db4f724e39c24f99e1249e0210",
      "fileid": "https://r2.ropensci.org/8951066dc882a010304c973bd6b88ad5c7fa60756a961036a07ea47b7c668988",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622069674"
    }
  ]
}