{
  "_id": "6a2e6f463efcd9bda431363a",
  "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-06-14 09:02:01 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": "df2e5ef5fb995af1b354758fda3b9169",
  "_user": "ropensci",
  "_type": "src",
  "_file": "grainchanger_0.3.2.tar.gz",
  "_fileid": "b35864ddd26bdfaab783a8850cf4b16982577025e0e485888db9ffd13c6c6d27",
  "_filesize": 544645,
  "_sha256": "b35864ddd26bdfaab783a8850cf4b16982577025e0e485888db9ffd13c6c6d27",
  "_created": "2026-06-14T09:02:01.000Z",
  "_published": "2026-06-14T09:07:18.636Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81264629974,
      "time": 266,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7619462312"
    },
    {
      "job": 81264629979,
      "time": 251,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7619460310"
    },
    {
      "job": 81264629960,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7619445088"
    },
    {
      "job": 81264629962,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7619445565"
    },
    {
      "job": 81264358452,
      "time": 167,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": ""
    },
    {
      "job": 81264358450,
      "time": 227,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7619426939"
    },
    {
      "job": 81264629953,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7619444968"
    },
    {
      "job": 81264629992,
      "time": 253,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7619461060"
    },
    {
      "job": 81264629976,
      "time": 230,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7619457711"
    },
    {
      "job": 81264629984,
      "time": 231,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7619457888"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916",
  "_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",
    "followers": 1098,
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 16,
    "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.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",
    "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-06-14T09:04:38.000Z",
      "distro": "noble",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "15a1b5401379ec0cf6088c5009c458f1fc99d9395cf93ce9f7a1f205a4085c4c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-06-14T09:04:44.000Z",
      "distro": "noble",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "7e0d0e150464d5e5081b78ded02c5351204f7aa6350fc26136b7b2adfe447a2a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-06-14T09:03:42.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "e25524ca334dcb9df5863604ea6ab3695b3389491f5db1de584fa5c4210f2d48",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-06-14T09:03:43.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "a71d8abe775ce65433d1d17e4e1949d2fa620f3ed088e7a066de5fef18ed9188",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-06-14T09:04:43.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "2e5d0a72c440efcff18f99dd791f7480e0f3c1ae8e058eebce41d70877e1d463",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-14T09:04:08.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "883731432fa25fc3d22b138ac6ce11d86058a0160806437077b11fb204a8bee8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-14T09:03:46.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "2ea4997bc7fa918d3907d75c7d7cc72ad832252b85e8453b1fc94d466c46ba40",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-14T09:03:44.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "da86f57345564feec806c2b29a70c99968f02333fc7e411059fa48aaf5305821",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/27493934916"
    }
  ]
}