{
  "_id": "6ac222c8773a0037682c2841",
  "Package": "spatialsample",
  "Title": "Spatial Resampling Infrastructure",
  "Version": "0.6.0.9000",
  "Authors@R": "c(\nperson(\"Michael\", \"Mahoney\", , \"mike.mahoney.218@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2402-304X\")),\nperson(\"Julia\", \"Silge\", , \"julia.silge@posit.co\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-3671-836X\")),\nperson(given = \"Posit Software, PBC\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Functions and classes for spatial resampling to use with\nthe 'rsample' package, such as spatial cross-validation\n(Brenning, 2012) <doi:10.1109/IGARSS.2012.6352393>. The scope\nof 'rsample' and 'spatialsample' is to provide the basic\nbuilding blocks for creating and analyzing resamples of a\nspatial data set, but neither package includes functions for\nmodeling or computing statistics. The resampled spatial data\nsets created by 'spatialsample' do not contain much overhead in\nmemory.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/tidymodels/spatialsample,\nhttps://spatialsample.tidymodels.org",
  "BugReports": "https://github.com/tidymodels/spatialsample/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://tidymodels.r-universe.dev",
  "Date/Publication": "2026-07-06 16:51:44 UTC",
  "RemoteUrl": "https://github.com/tidymodels/spatialsample",
  "RemoteRef": "HEAD",
  "RemoteSha": "15c42129bae66f0f63591c735bd107238f2e904d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-04 09:46:25 UTC",
    "User": "root"
  },
  "Author": "Michael Mahoney [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2402-304X>),\nJulia Silge [aut] (ORCID: <https://orcid.org/0000-0002-3671-836X>),\nPosit Software, PBC [cph, fnd]",
  "Maintainer": "Michael Mahoney <mike.mahoney.218@gmail.com>",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "spatialsample_0.6.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/d0027ab4733d1aaf1d2f15399dfb9765c53a72ebb0488dcef7f39d5863f2314c",
  "_filesize": 5666154,
  "_sha256": "d0027ab4733d1aaf1d2f15399dfb9765c53a72ebb0488dcef7f39d5863f2314c",
  "_expires": "2027-01-12T09:56:22.000Z",
  "_created": "2026-10-04T09:46:25.000Z",
  "_published": "2026-10-04T09:56:24.511Z",
  "_jobs": [
    {
      "job": 111409725746,
      "time": 296,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11300141563"
    },
    {
      "job": 111409725751,
      "time": 316,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11300380730"
    },
    {
      "job": 111409725775,
      "time": 298,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11300012043"
    },
    {
      "job": 111409725732,
      "time": 320,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11299987150"
    },
    {
      "job": 111409725729,
      "time": 218,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11299239118"
    },
    {
      "job": 111409725727,
      "time": 534,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11299129691"
    },
    {
      "job": 111409725766,
      "time": 207,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11299981925"
    },
    {
      "job": 111409725762,
      "time": 528,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11300162026"
    },
    {
      "job": 111409003479,
      "time": 269,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11299578147"
    },
    {
      "job": 111409725692,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11300171413"
    },
    {
      "job": 111409725763,
      "time": 335,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11300146707"
    },
    {
      "job": 111409725735,
      "time": 331,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11299992219"
    },
    {
      "job": 111409725788,
      "time": 294,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11299977032"
    },
    {
      "job": 111409725756,
      "time": 392,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11299867478"
    },
    {
      "job": 111409725800,
      "time": 299,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11299712982"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323",
  "_status": "success",
  "_upstream": "https://github.com/tidymodels/spatialsample",
  "_commit": {
    "id": "15c42129bae66f0f63591c735bd107238f2e904d",
    "author": "Jeroen Janssens <jeroen@jeroenjanssens.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Include supported-by-posit script (#169)\n\nCo-authored-by: Hannah Frick <hannah@posit.co>",
    "time": 1783356704
  },
  "_maintainer": {
    "name": "Michael Mahoney",
    "email": "mike.mahoney.218@gmail.com",
    "login": "mikemahoney218",
    "mastodon": "@MikeMahoney218@fosstodon.org",
    "orcid": "0000-0003-2402-304X",
    "description": "R, Python, and using data to understand this complex world we live in",
    "uuid": 38229299
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "cpp11",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rsample",
      "version": ">= 1.1.1",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0-9",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "version": ">= 0.3.6",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "gifski",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lwgeom",
      "role": "Suggests"
    },
    {
      "package": "modeldata",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "whisker",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "yardstick",
      "role": "Suggests"
    }
  ],
  "_owner": "tidymodels",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2026-28",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 80,
  "_contributors": [
    {
      "user": "mikemahoney218",
      "count": 100,
      "uuid": 38229299
    },
    {
      "user": "juliasilge",
      "count": 48,
      "uuid": 12505835
    },
    {
      "user": "davisvaughan",
      "count": 6,
      "uuid": 19150088
    },
    {
      "user": "hfrick",
      "count": 5,
      "uuid": 12950918
    },
    {
      "user": "jeroenjanssens",
      "count": 1,
      "uuid": 1368256
    }
  ],
  "_userbio": {
    "uuid": 29100987,
    "type": "organization",
    "name": "tidymodels",
    "followers": 575
  },
  "_downloads": {
    "count": 2047,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatialsample"
  },
  "_devurl": "https://github.com/tidymodels/spatialsample",
  "_pkgdown": "https://spatialsample.tidymodels.org",
  "_searchresults": 312,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spatialsample.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/tidymodels/spatialsample",
  "_realowner": "tidymodels",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-03-04"
    },
    {
      "version": "0.2.0",
      "date": "2022-06-17"
    },
    {
      "version": "0.2.1",
      "date": "2022-08-06"
    },
    {
      "version": "0.3.0",
      "date": "2023-01-17"
    },
    {
      "version": "0.4.0",
      "date": "2023-05-17"
    },
    {
      "version": "0.5.0",
      "date": "2023-11-03"
    },
    {
      "version": "0.5.1",
      "date": "2023-11-08"
    },
    {
      "version": "0.6.0",
      "date": "2024-10-02"
    },
    {
      "version": "0.6.1",
      "date": "2025-12-02"
    }
  ],
  "_exports": [
    "analysis",
    "assessment",
    "autoplot",
    "get_rsplit",
    "spatial_block_cv",
    "spatial_buffer_vfold_cv",
    "spatial_clustering_cv",
    "spatial_leave_location_out_cv",
    "spatial_nndm_cv"
  ],
  "_datasets": [
    {
      "name": "boston_canopy",
      "title": "Boston tree canopy and heat index data.",
      "object": "boston_canopy",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "grid_id",
        "land_area",
        "canopy_gain",
        "canopy_loss",
        "canopy_no_change",
        "canopy_area_2014",
        "canopy_area_2019",
        "change_canopy_area",
        "change_canopy_percentage",
        "canopy_percentage_2014",
        "canopy_percentage_2019",
        "change_canopy_absolute",
        "mean_temp_morning",
        "mean_temp_evening",
        "mean_temp",
        "mean_heat_index_morning",
        "mean_heat_index_evening",
        "mean_heat_index",
        "geometry"
      ],
      "rows": 682,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "autoplot.spatial_rset",
      "title": "Create a ggplot for spatial resamples.",
      "topics": [
        "autoplot.spatial_block_cv",
        "autoplot.spatial_rset"
      ]
    },
    {
      "page": "boston_canopy",
      "title": "Boston tree canopy and heat index data.",
      "topics": [
        "boston_canopy"
      ]
    },
    {
      "page": "spatial_block_cv",
      "title": "Spatial block cross-validation",
      "topics": [
        "spatial_block_cv"
      ]
    },
    {
      "page": "spatial_vfold",
      "title": "V-Fold Cross-Validation with Buffering",
      "topics": [
        "spatial_buffer_vfold_cv",
        "spatial_leave_location_out_cv"
      ]
    },
    {
      "page": "spatial_clustering_cv",
      "title": "Spatial Clustering Cross-Validation",
      "topics": [
        "spatial_clustering_cv"
      ]
    },
    {
      "page": "spatial_nndm_cv",
      "title": "Nearest neighbor distance matching (NNDM) cross-validation",
      "topics": [
        "spatial_nndm_cv"
      ]
    }
  ],
  "_pkglogo": "https://github.com/tidymodels/spatialsample/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/tidymodels/spatialsample/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "listenv",
    "magrittr",
    "parallelly",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rsample",
    "s2",
    "S7",
    "scales",
    "sf",
    "slider",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "warp",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "spatialsample.Rmd",
      "filename": "spatialsample.html",
      "title": "Using spatial resamples for analysis",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2021-01-20 04:08:39",
      "modified": "2023-03-14 02:21:21",
      "commits": 8
    }
  ],
  "_score": 9.662604933112219,
  "_indexed": true,
  "_nocasepkg": "spatialsample",
  "_universes": [
    "tidymodels",
    "mikemahoney218"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:48:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/1cc90753fb1363adcf552e790947bdda53535dcb5b546931e9993fa5e9dfe023",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:48:59.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/96020dd290515feafd528382608c6b3efd33274f07ba65e53dcb3477e84073b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:48:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/f12ee53bae856ac8f92ba1f2c4392eec93bedde29827bd53fbcca772f24e75f8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:49:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/a8da08e16c6dcff1014451724a5e2eea0828085d8a2dc8c5110835500d7ca727",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:48:36.000Z",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/800be1654ba4a3d6d1a1f24f47c913e7c3fbeca412a94777aec315ba112cc9a4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:50:24.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/39dfb0de57c58a1db30fc80a8e9ec3f430213f31a5dbda24e948d1170ef9f32e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:48:21.000Z",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/7154036f57b7fcf2194bde6adf98664db6ab4b2883552bc47ad17a2ecb699224",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:50:14.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/15dc8c76b5d75bc82859b6036611c0b3e5b76ea8d892619edf09422f5bb8e6f2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:49:18.000Z",
      "arch": "emscripten",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/8aeb6e61f39afe6ad31d4b4182c497e407655df33588cd1f62cb1034c92daf7a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:49:30.000Z",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/143527080d7aaec03f781e18639fea6d25798557fe44de534b8324903005f78a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:48:00.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/95ec406c0ae075ae2eace49fc50b560b21b9d5b18293a14577c0b003c6c19550",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:47:58.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/a57d561e4e957c5c86f19331ed841f51406f746b0b16b69c036bd914325f0e84",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:50:20.000Z",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/4728f0f7e6d4c508c927a5a065d7bcccf30fd93b7493945eae7b75ffc784d05b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-10-04T09:48:42.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/61b49305a3df0c0928fb730b3bd52f2e101e31d2f0ed697142ce2a0cdfd846d4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37192980323"
    }
  ]
}