{
  "_id": "69df45f3c5259ad4cd8de9f7",
  "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-04-15 07:56:43 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": "30ad67b7022ea18e461cb2cffc47bd63",
  "_user": "ropensci",
  "_type": "src",
  "_file": "grainchanger_0.3.2.tar.gz",
  "_fileid": "9fe8a3546f3fc2a94edf8a78a007b33844da736b0aac305a96c0360c1b7c24f0",
  "_filesize": 952443,
  "_sha256": "9fe8a3546f3fc2a94edf8a78a007b33844da736b0aac305a96c0360c1b7c24f0",
  "_created": "2026-04-15T07:56:43.000Z",
  "_published": "2026-04-15T08:01:55.937Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 71412731464,
      "time": 254,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6445690236"
    },
    {
      "job": 71412731492,
      "time": 244,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6445687625"
    },
    {
      "job": 71412731532,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6445653323"
    },
    {
      "job": 71412731481,
      "time": 186,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6445671707"
    },
    {
      "job": 71412171888,
      "time": 199,
      "config": "pkgdown",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "6445606882"
    },
    {
      "job": 71412171950,
      "time": 257,
      "config": "source",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445621854"
    },
    {
      "job": 71412731470,
      "time": 146,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "6445661345"
    },
    {
      "job": 71412731478,
      "time": 230,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "6445683822"
    },
    {
      "job": 71412731479,
      "time": 201,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "6445675921"
    },
    {
      "job": 71412731471,
      "time": 208,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6445677986"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439",
  "_status": "success",
  "_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": 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": 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.5.3",
  "_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"
  ],
  "_vignettes": [
    {
      "source": "user-defined.Rmd",
      "filename": "user-defined.html",
      "title": "User-defined functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "User-defined win_fun example",
        "User-defined agg_fun"
      ],
      "created": "2019-06-01 16:05:20",
      "modified": "2019-06-01 16:05:20",
      "commits": 1
    },
    {
      "source": "grainchanger.Rmd",
      "filename": "grainchanger.html",
      "title": "Using Grainchanger",
      "author": "Laura J. Graham",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package overview",
        "Data aggregation & sf",
        "Moving-window data aggregation",
        "Direct data aggregation",
        "Functions",
        "Additional utilities",
        "Create torus",
        "Running aggregation in parallel"
      ],
      "created": "2019-06-01 16:05:20",
      "modified": "2021-01-27 13:09:36",
      "commits": 4
    }
  ],
  "_score": 5.527114111639805,
  "_indexed": true,
  "_nocasepkg": "grainchanger",
  "_universes": [
    "ropensci"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-04-15T07:59:12.000Z",
      "distro": "noble",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "8375f7378c1d8b64b0eca4349f8f0ee8d7f32ebb3088c006905c12e9ec541c94",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439"
    },
    {
      "r": "4.5.3",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-04-15T07:59:18.000Z",
      "distro": "noble",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "2a99006271afd3886c6350c79a7bb03a5c1b3e11f5722061d6dc08e2e76fc84e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-04-15T07:58:18.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "550c9c84b09e9e78c9aa6fff4958d597092508af47db74a633591cfaae53fa2d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-04-15T07:58:32.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "c0068b4321f0287d7cfb1ca3d4055c08a989e635eb754f5749c3a36b4c8e5fe0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-04-15T07:59:35.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "18f1b7047f8dedbea3f0c717a0cd8e1e81fc8e94ed58be375c111f309d8f0c17",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-04-15T07:58:46.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "36c9f782ff1a7ffc7ae053b2b2bf9441bce263ad0123ac8ed4671a729e59447f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-04-15T07:58:16.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "5af08011e77f2c1ab5b2a8ebad3e9fd2b731c2a263ed75adcaf9f9e67a2da4d9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-04-15T07:58:19.000Z",
      "commit": "398ce4e0bb4198dcaf069be6e5fdce33f3d4bca0",
      "fileid": "b57babf1360a0fc1902fc7d76f5921d0340360602e3b54bda3cbeeaa30e9f85d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24442936439"
    }
  ]
}