{
  "_id": "6a1f3204b401979e73427de6",
  "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-05-15 08:17:09 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>",
  "MD5sum": "2318faec534857f97bae648f8a2aeb19",
  "_user": "ropensci",
  "_type": "src",
  "_file": "grainchanger_0.3.2.tar.gz",
  "_fileid": "63c558cefa81a8e532335ff80a6ec222508318330c4143a7689dae214c7dcc18",
  "_filesize": 542085,
  "_sha256": "63c558cefa81a8e532335ff80a6ec222508318330c4143a7689dae214c7dcc18",
  "_created": "2026-05-15T08:17:09.000Z",
  "_published": "2026-06-02T19:41:56.468Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79156945294,
      "time": 255,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7012973315"
    },
    {
      "job": 79156945305,
      "time": 261,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7012974710"
    },
    {
      "job": 79156945330,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7012960697"
    },
    {
      "job": 79156945268,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7012944982"
    },
    {
      "job": 79156945193,
      "time": 169,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": ""
    },
    {
      "job": 79156944755,
      "time": 255,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7012915505"
    },
    {
      "job": 79156944661,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7368042320"
    },
    {
      "job": 79156945719,
      "time": 222,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7012965656"
    },
    {
      "job": 79156945417,
      "time": 215,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7012964130"
    },
    {
      "job": 79156945742,
      "time": 223,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7012965966"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "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": 33,
  "_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.0",
  "_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",
    "gh",
    "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.226084115975824,
  "_indexed": true,
  "_nocasepkg": "grainchanger",
  "_universes": [
    "ropensci"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-05-15T08:19:53.000Z",
      "distro": "noble",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "af95e2cf060e06fed2445bfa5a2046af9757c49095aaf10547d7073cffebd054",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-05-15T08:19:59.000Z",
      "distro": "noble",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "b6bf8613af0245eac3ca7647d6c9045d2499b8ddf72eb5d05be9e124d662d565",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-05-15T08:19:20.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "db43d972f49f3e400dfdf9024828b4c9d464e1d2e5cb082e624794ae29ddead7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-05-15T08:18:47.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "17d0a674c15f1e2f5856abc8868c8ba1cb2223abeb7163e5e5c0635c64993a72",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-05-15T08:18:45.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "444befd22ff20c8a122d4035ac16c3789bb4772892ec9f9d1504a893305949ad",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-05-15T08:18:48.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "e6691e0d11d0bc898e047fab4a5611560993d4a420fe24ff5b2aa3abe246617d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-05-15T08:18:51.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "b91eeab09d898466f0f29bb737aed69bb1a5ae1d5325c87bc18ca32043c4af24",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-06-02T19:41:34.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "62ee1e919fb0791dbd73b52ac6f3d0392133da4055b9df2b89d1b1caf93c42e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25907578725"
    }
  ]
}