{
  "_id": "6a44d0db6ff6f2357551bcd7",
  "Package": "grainchanger",
  "Title": "Moving-Window and Direct Data Aggregation",
  "Version": "0.3.2",
  "Authors@R": "c(person(\"Laura\", \"Graham\", \nemail = \"LauraJaneEGraham@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3611-7281\")),\nperson(\"Felix\", \"Eigenbrod\",\nrole = \"ctb\",\nemail = \"f.eigenbrod@soton.ac.uk\",\ncomment = \"Input on initial conceptual development\"),\nperson(\"Marco\", \"Sciaini\",\nrole = \"ctb\",\nemail = \"sciaini.marco@gmail.com\",\ncomment = \"Input on package development and structure\"))",
  "Description": "Data aggregation via moving window or direct methods.\nAggregate a fine-resolution raster to a grid. The moving window\nmethod smooths the surface using a specified function within a\nmoving window of a specified size and shape prior to\naggregation. The direct method simply aggregates to the grid\nusing the specified function.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.1",
  "Language": "en-GB",
  "VignetteBuilder": "knitr",
  "URL": "https://docs.ropensci.org/grainchanger/,\nhttps://github.com/ropensci/grainchanger",
  "BugReports": "https://github.com/ropensci/grainchanger/issues",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\ngit make libuv1-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev libx11-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2023-06-01 10:22:32 UTC",
  "RemoteUrl": "https://github.com/ropensci/grainchanger",
  "RemoteRef": "master",
  "RemoteSha": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-01 08:17:51 UTC",
    "User": "root"
  },
  "Author": "Laura Graham [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3611-7281>),\nFelix Eigenbrod [ctb] (Input on initial conceptual development),\nMarco Sciaini [ctb] (Input on package development and structure)",
  "Maintainer": "Laura Graham <LauraJaneEGraham@gmail.com>",
  "_user": "ropensci",
  "_type": "src",
  "_file": "grainchanger_0.3.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/5d6508931ca6c1936c9a3e3b0e5e8f520707ebf12b809d983c51e293bf6bebd1",
  "_filesize": 544655,
  "_sha256": "5d6508931ca6c1936c9a3e3b0e5e8f520707ebf12b809d983c51e293bf6bebd1",
  "_expires": "2026-10-09T08:33:31.000Z",
  "_created": "2026-07-01T08:17:51.000Z",
  "_published": "2026-07-01T08:33:31.749Z",
  "_jobs": [
    {
      "job": 84486725534,
      "time": 280,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8004199019"
    },
    {
      "job": 84486725396,
      "time": 249,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8004187494"
    },
    {
      "job": 84486725385,
      "time": 149,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8004381415"
    },
    {
      "job": 84486725413,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8004402891"
    },
    {
      "job": 84485965675,
      "time": 170,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": ""
    },
    {
      "job": 84485965695,
      "time": 255,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8004066517"
    },
    {
      "job": 84486725394,
      "time": 173,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8004159308"
    },
    {
      "job": 84486725407,
      "time": 222,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8004173237"
    },
    {
      "job": 84486725419,
      "time": 246,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8004181987"
    },
    {
      "job": 84486725428,
      "time": 227,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8004175438"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946",
  "_status": "failure",
  "_upstream": "https://github.com/ropensci/grainchanger",
  "_commit": {
    "id": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
    "author": "Maëlle Salmon <maelle.salmon@yahoo.se>",
    "committer": "Maëlle Salmon <maelle.salmon@yahoo.se>",
    "message": "docs: make pkgdown::check_pkgdown() happy (not sure these are the rights categories)\n",
    "time": 1685614952
  },
  "_maintainer": {
    "name": "Laura Graham",
    "email": "laurajaneegraham@gmail.com",
    "orcid": "0000-0002-3611-7281"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3",
      "role": "Depends"
    },
    {
      "package": "raster",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "usethis",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8-0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "landscapetools",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 51,
  "_contributors": [
    {
      "user": "laurajanegraham",
      "count": 4,
      "uuid": 5324996
    },
    {
      "user": "mhesselbarth",
      "count": 3,
      "uuid": 29225293
    },
    {
      "user": "maelle",
      "count": 2,
      "uuid": 8360597
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "followers": 1106,
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 22,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/grainchanger"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/ropensci/grainchanger",
  "_pkgdown": "https://docs.ropensci.org/grainchanger/",
  "_searchresults": 35,
  "_metadata": {
    "review": {
      "id": 289,
      "status": "reviewed",
      "version": "0.1.0.9000",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/289"
    },
    "ropensci_category": "geospatial"
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/grainchanger.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "ropensci",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-03-08"
    },
    {
      "version": "0.2.0",
      "date": "2019-06-28"
    },
    {
      "version": "0.3.1",
      "date": "2021-01-29"
    },
    {
      "version": "0.3.2",
      "date": "2021-02-01"
    }
  ],
  "_exports": [
    "create_torus",
    "mean",
    "nomove_agg",
    "prop",
    "shdi",
    "shei",
    "var_range",
    "winmove",
    "winmove_agg"
  ],
  "_datasets": [
    {
      "name": "cat_ls",
      "title": "Example categorical raster (fine_dat)",
      "object": "cat_ls",
      "class": [
        "RasterLayer"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "cont_ls",
      "title": "Example continuous raster (fine_dat)",
      "object": "cont_ls",
      "class": [
        "RasterLayer"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "g_sf",
      "title": "Example grid (coarse_dat)",
      "object": "g_sf",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "geometry"
      ],
      "rows": 25,
      "table": false,
      "tojson": true
    },
    {
      "name": "poly_sf",
      "title": "Example polygon (coarse_dat)",
      "object": "poly_sf",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "geometry"
      ],
      "rows": 110,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cat_ls",
      "title": "Example categorical raster (fine_dat)",
      "topics": [
        "cat_ls"
      ]
    },
    {
      "page": "cont_ls",
      "title": "Example continuous raster (fine_dat)",
      "topics": [
        "cont_ls"
      ]
    },
    {
      "page": "create_torus",
      "title": "Pad a raster by a specified radius",
      "topics": [
        "create_torus"
      ]
    },
    {
      "page": "diversity-metrics",
      "title": "Diversity metrics",
      "topics": [
        "diversity-metrics",
        "shdi",
        "shdi.numeric",
        "shdi.winmove",
        "shei",
        "shei.numeric",
        "shei.winmove"
      ]
    },
    {
      "page": "g_sf",
      "title": "Example grid (coarse_dat)",
      "topics": [
        "g_sf"
      ]
    },
    {
      "page": "mean",
      "title": "Arithmetic mean",
      "topics": [
        "mean",
        "mean.winmove"
      ]
    },
    {
      "page": "nomove_agg",
      "title": "Direct data aggregation",
      "topics": [
        "nomove_agg"
      ]
    },
    {
      "page": "poly_sf",
      "title": "Example polygon (coarse_dat)",
      "topics": [
        "poly_sf"
      ]
    },
    {
      "page": "prop",
      "title": "Calculate proportion of a given value",
      "topics": [
        "prop",
        "prop.numeric",
        "prop.winmove"
      ]
    },
    {
      "page": "var_range",
      "title": "Size of range of values",
      "topics": [
        "var_range",
        "var_range.numeric",
        "var_range.winmove"
      ]
    },
    {
      "page": "winmove",
      "title": "Create moving window surface",
      "topics": [
        "winmove"
      ]
    },
    {
      "page": "winmove_agg",
      "title": "Moving-window data aggregation",
      "topics": [
        "winmove_agg"
      ]
    },
    {
      "page": "winmove-class",
      "title": "An S4 class for use with winmove functions (extends RasterLayer)",
      "topics": [
        "winmove-class"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ropensci/grainchanger/raw/master/man/figures/logo.png",
  "_readme": "https://github.com/ropensci/grainchanger/raw/master/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "clipr",
    "codetools",
    "crayon",
    "credentials",
    "curl",
    "DBI",
    "desc",
    "digest",
    "e1071",
    "fs",
    "furrr",
    "future",
    "gert",
    "gitcreds",
    "globals",
    "glue",
    "httr2",
    "ini",
    "jsonlite",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "openssl",
    "parallelly",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "raster",
    "Rcpp",
    "rlang",
    "rprojroot",
    "rstudioapi",
    "s2",
    "sf",
    "sp",
    "sys",
    "terra",
    "units",
    "usethis",
    "vctrs",
    "whisker",
    "withr",
    "wk",
    "yaml",
    "zip"
  ],
  "_score": 4.251638220448212,
  "_indexed": true,
  "_nocasepkg": "grainchanger",
  "_universes": [
    "ropensci"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-07-01T08:21:54.000Z",
      "distro": "resolute",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "https://r2.ropensci.org/255120f8136cf87722bc184d4d01ff9c9bd41472d0f22b6425287f156349717a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-07-01T08:21:46.000Z",
      "distro": "resolute",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "https://r2.ropensci.org/07bc55a5a925b63dceb9112195584e8d0b0801ce5b8c7915ededf704cc70e3e0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-07-01T08:30:56.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "https://r2.ropensci.org/3acb4d6a7d3b1a2a7f78ffffcfb5a574f789c4d8daf0214ad3505cf9976a0e1f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-07-01T08:31:30.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "https://r2.ropensci.org/c3957408be0307ca7500fcfd7286e977f95a3af226503858dc5574a527e7d343",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-07-01T08:22:29.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "https://r2.ropensci.org/fc8362034822275db789ce8c08000fc75d9afa172cc5bbb23525fdef5f366988",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-07-01T08:20:34.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "https://r2.ropensci.org/43a447f9d1b11aa2f92c1ed18ab5fd5630a35a8fa75f7267ec779f33159d534f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-07-01T08:20:36.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "https://r2.ropensci.org/e0b68259833776927d02ad8ceb44af267999d7e4b18bfe676ac0dbed7d912660",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-07-01T08:20:41.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "https://r2.ropensci.org/bfd9ada7251088631959162202681f278c8a61fe4b99f630d514992fc6856987",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/28503417946"
    }
  ]
}