{
  "_id": "6a1f1963b401979e7341ef4c",
  "Package": "hexsmoothR",
  "Type": "Package",
  "Title": "Hexagonal Grid Smoothing for Satellite Data",
  "Version": "0.2.0",
  "Authors@R": "person(\"Max M.\", \"Lang\", email = \"max.lang@stx.ox.ac.uk\", role = c(\"aut\", \"cre\"))",
  "Description": "Creates hexagonal grids and applies spatial smoothing to\nsatellite raster data. Provides tools for extracting\nenvironmental variables from TIF files and applying\nGaussian-weighted spatial smoothing using 'Rcpp' for\nperformance. The workflow has two steps: (1) extract raster\ndata into hexagonal grids, and (2) apply N-order neighbour\nsmoothing with customisable weights.",
  "License": "BSD_3_clause + file LICENSE",
  "URL": "https://maxmlang.github.io/hexsmoothR/,\nhttps://github.com/MaxMLang/hexsmoothR",
  "BugReports": "https://github.com/MaxMLang/hexsmoothR/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "SystemRequirements": "GDAL (>= 3.0), GEOS (>= 3.8), PROJ (>= 6.0), C++17",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://maxmlang.r-universe.dev",
  "Date/Publication": "2026-04-17 01:19:15 UTC",
  "RemoteUrl": "https://github.com/MaxMLang/hexsmoothR",
  "RemoteRef": "HEAD",
  "RemoteSha": "989672087916e0d6204319ab165a9bf4104712f2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-17 05:18:33 UTC",
    "User": "root"
  },
  "Author": "Max M. Lang [aut, cre]",
  "Maintainer": "Max M. Lang <max.lang@stx.ox.ac.uk>",
  "MD5sum": "59a437c633ab69ed387f981d59edc8d0",
  "_user": "maxmlang",
  "_type": "src",
  "_file": "hexsmoothR_0.2.0.tar.gz",
  "_fileid": "4634d70bc4f035b2cc0156c71364a47189b1100bf53a0fc9d05a8fd7ed4bfc39",
  "_filesize": 3350694,
  "_sha256": "4634d70bc4f035b2cc0156c71364a47189b1100bf53a0fc9d05a8fd7ed4bfc39",
  "_created": "2026-05-17T05:18:33.000Z",
  "_published": "2026-06-02T17:56:51.165Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79137229210,
      "time": 256,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039581290"
    },
    {
      "job": 79137228781,
      "time": 297,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039586033"
    },
    {
      "job": 79137229587,
      "time": 258,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039581380"
    },
    {
      "job": 79137229375,
      "time": 300,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039586429"
    },
    {
      "job": 79137229476,
      "time": 262,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039578505"
    },
    {
      "job": 79137229324,
      "time": 606,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039614387"
    },
    {
      "job": 79137228886,
      "time": 231,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039575549"
    },
    {
      "job": 79137229456,
      "time": 466,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039600682"
    },
    {
      "job": 79137228659,
      "time": 241,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039553858"
    },
    {
      "job": 79137228306,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365749042"
    },
    {
      "job": 79137229326,
      "time": 285,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039584451"
    },
    {
      "job": 79137229644,
      "time": 297,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039585982"
    },
    {
      "job": 79137229149,
      "time": 339,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039590624"
    }
  ],
  "_buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/MaxMLang/hexsmoothR",
  "_commit": {
    "id": "989672087916e0d6204319ab165a9bf4104712f2",
    "author": "Max Melchior Lang <65287841+MaxMLang@users.noreply.github.com>",
    "committer": "Max Melchior Lang <65287841+MaxMLang@users.noreply.github.com>",
    "message": "Release v0.2.0\n\nFeatures\n- create_grid()/compute_topology() auto-detect UTM via get_utm_crs()\n  when projection_crs = NULL.\n- find_hex_cell_size_for_target_cells() derives sensible\n  cell_size_min/max defaults from the study-area bbox.\n- Global option hexsmoothR.verbose controls all console output via\n  the new internal hex_msg() helper.\n\nBug fixes\n- extract_raster_data() reprojects the hex grid to each raster's CRS\n  before exact_extract(), fixing silent CRS mismatches with multiple\n  rasters; cropped study area is rebuilt per raster.\n- extract_raster_data() returns the (possibly sampled) hex grid as\n  hex_grid; sampling log line corrected.\n- get_utm_crs() handles longitudes near 180 and auto-projects inputs.\n- smooth_variables(): \"raw\" output now stores the original (unsmoothed)\n  centre-cell value as documented.\n- C++ Rcpp::stop() messages no longer print literal %d.\n- compute_topology(): order-N BFS rewritten with set operations -\n  noticeably faster for higher orders.\n\nPackaging\n- Bumped to 0.2.0; switched to BSD_3_clause + file LICENSE (FOSS).\n- Added NEWS.md, BugReports, second URL, Config/testthat/edition: 3,\n  C++17 system requirement.\n- Reorganised tests into focused files with shared fixtures.\n- pkgdown reference index grouped by section; Zenodo DOI surfaced\n  via inst/CITATION.\n- Removed inst/doc build artefacts; tightened .Rbuildignore/.gitignore.\n",
    "time": 1776388755
  },
  "_maintainer": {
    "name": "Max M. Lang",
    "email": "max.lang@stx.ox.ac.uk",
    "login": "maxmlang",
    "uuid": 65287841
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "terra",
      "version": ">= 1.6.0",
      "role": "Imports"
    },
    {
      "package": "exactextractr",
      "version": ">= 0.8.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "maxmlang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2025-09-05"
    },
    {
      "name": "v0.2.0",
      "date": "2026-04-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "maxmlang",
      "count": 6,
      "uuid": 65287841
    }
  ],
  "_userbio": {
    "uuid": 65287841,
    "type": "user",
    "name": "Max Melchior Lang",
    "description": "stats @ university of oxford, previously @lmu"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hexsmoothR"
  },
  "_devurl": "https://github.com/maxmlang/hexsmoothr",
  "_pkgdown": "https://maxmlang.github.io/hexsmoothR/",
  "_searchresults": 6,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hexsmoothR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "compute_topology",
    "create_grid",
    "extract_raster_data",
    "find_hex_cell_size_for_target_cells",
    "get_utm_crs",
    "hex_circumradius_to_flat",
    "hex_edge_to_flat",
    "hex_flat_to_circumradius",
    "hex_flat_to_edge",
    "smooth_variables",
    "smooth_variables_r_fallback"
  ],
  "_help": [
    {
      "page": "compute_topology",
      "title": "Compute spatial topology and weights for hexagonal smoothing",
      "topics": [
        "compute_topology"
      ]
    },
    {
      "page": "create_grid",
      "title": "Create hexagonal or square grids for spatial analysis",
      "topics": [
        "create_grid"
      ]
    },
    {
      "page": "extract_raster_data",
      "title": "Extract raster data into a hexagonal grid",
      "topics": [
        "extract_raster_data"
      ]
    },
    {
      "page": "find_hex_cell_size_for_target_cells",
      "title": "Find a hexagonal cell size that yields approximately a target number of cells",
      "topics": [
        "find_hex_cell_size_for_target_cells"
      ]
    },
    {
      "page": "get_utm_crs",
      "title": "Get an appropriate UTM CRS for a study area",
      "topics": [
        "get_utm_crs"
      ]
    },
    {
      "page": "hex_flat_to_edge",
      "title": "Convert between hexagon measurements",
      "topics": [
        "hex_circumradius_to_flat",
        "hex_edge_to_flat",
        "hex_flat_to_circumradius",
        "hex_flat_to_edge"
      ]
    },
    {
      "page": "smooth_variables",
      "title": "Apply spatial smoothing to variables on a hexagonal grid",
      "topics": [
        "smooth_variables"
      ]
    }
  ],
  "_pkglogo": "https://github.com/MaxMLang/hexsmoothR/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/MaxMLang/hexsmoothR/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "DBI",
    "e1071",
    "exactextractr",
    "KernSmooth",
    "lattice",
    "MASS",
    "proxy",
    "raster",
    "Rcpp",
    "s2",
    "sf",
    "sp",
    "terra",
    "units",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "hexsmoothR-complete-guide.Rmd",
      "filename": "hexsmoothR-complete-guide.html",
      "title": "Getting started with hexsmoothR",
      "author": "Max M. Lang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What hexsmoothR does",
        "Setup",
        "Cell-size units depend on the CRS",
        "Step 1: create a grid",
        "Step 2: extract raster values into cells",
        "Step 3: compute topology",
        "Step 4: smooth",
        "Plotting",
        "N-order smoothing",
        "Multiple variables in one pass",
        "Tips and gotchas"
      ],
      "created": "2025-08-22 16:26:15",
      "modified": "2026-04-17 01:19:15",
      "commits": 3
    }
  ],
  "_score": 3.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "hexsmoothr",
  "_universes": [
    "maxmlang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-17T05:21:07.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "8eaf04dc2d0f3aa169b8b79e4cbb8a4294927d99be651a841bdd1a21c1d2d3ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-17T05:21:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "4c7d22bac912c6b5eefb8952f9d67a1dea4489a1c6b03f7b432d65e2421c6dec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-17T05:21:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "b46faf578f9c224a91c0c0ae75f46f602ffd0f2f3bdbb1457f006a61731b6493",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-17T05:21:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "9cc50cef97cc3ca7dff62ef18254f095c25a7c77f651a4aa07c408d05f561969",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-17T05:21:03.000Z",
      "arch": "aarch64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "982638a1e004cc2864516ad82d15e92c4df1cee6a22f14530b6eba5c15661e47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-17T05:22:45.000Z",
      "arch": "x86_64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "e527b7625e627db4223f73adeed05d604d08fbe2eae93af224c73e5edbab45ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-17T05:20:44.000Z",
      "arch": "aarch64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "94a48d46d00667324da09e2fb7612548c88dced1def2bb6bfd1a6c0fa1d041e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-17T05:22:12.000Z",
      "arch": "x86_64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "954d712715e9283a2c3a14d05511d86e1fbdb9e6c6136fe81ff1fc903766b9a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-17T05:20:08.000Z",
      "arch": "x86_64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "a98f0363047ceaf8ca1647e4c7c8ed4992ad2ddcad95872e16916c8d33624622",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-17T05:20:13.000Z",
      "arch": "x86_64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "a8fae783b43c4bed64aba9fa1a4f0078ec359cbc0d836bbadd05bd3ed883c554",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-17T05:20:05.000Z",
      "arch": "x86_64",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "e129270f33fcb07225ed0414a7147132d711a5d97de34dd83b51fd6c3bca9390",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-02T17:56:24.000Z",
      "arch": "emscripten",
      "commit": "989672087916e0d6204319ab165a9bf4104712f2",
      "fileid": "b83f77ac7371fa1992b4acacb24e52579dd3f28f21ea79654140f64afb846229",
      "status": "success",
      "buildurl": "https://github.com/r-universe/maxmlang/actions/runs/25982132750"
    }
  ]
}