{
  "_id": "6a4bff8195416c417953604d",
  "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-07-06 19:07:39 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/978cdffaf0ced11830b573072c8f24a9c5f276f0647d46cd71cbb53179322245",
  "_filesize": 5666794,
  "_sha256": "978cdffaf0ced11830b573072c8f24a9c5f276f0647d46cd71cbb53179322245",
  "_expires": "2026-10-14T19:18:23.000Z",
  "_created": "2026-07-06T19:07:39.000Z",
  "_published": "2026-07-06T19:18:25.062Z",
  "_jobs": [
    {
      "job": 85457064509,
      "time": 373,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8119116848"
    },
    {
      "job": 85457064514,
      "time": 353,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8119107948"
    },
    {
      "job": 85457064518,
      "time": 379,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8119118925"
    },
    {
      "job": 85457064573,
      "time": 358,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8119110242"
    },
    {
      "job": 85457064499,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8119049548"
    },
    {
      "job": 85457064583,
      "time": 565,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8119197940"
    },
    {
      "job": 85457064555,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8119055639"
    },
    {
      "job": 85457064538,
      "time": 396,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8119129683"
    },
    {
      "job": 85456181901,
      "time": 263,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8118972065"
    },
    {
      "job": 85457064461,
      "time": 173,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8119041256"
    },
    {
      "job": 85457064516,
      "time": 330,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8119099237"
    },
    {
      "job": 85457064511,
      "time": 284,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8119081108"
    },
    {
      "job": 85457064530,
      "time": 336,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8119101883"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793",
  "_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": 4,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2026-28",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 78,
  "_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": 555
  },
  "_downloads": {
    "count": 2580,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatialsample"
  },
  "_devurl": "https://github.com/tidymodels/spatialsample",
  "_pkgdown": "https://spatialsample.tidymodels.org",
  "_searchresults": 301,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/spatialsample.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_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",
    "MASS",
    "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.639613300678823,
  "_indexed": true,
  "_nocasepkg": "spatialsample",
  "_universes": [
    "tidymodels",
    "mikemahoney218"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:11:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/68f879aa64fb11ee67fec0e82fb54c20d9840cfea18aa63b81606d0acfabfb4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:10:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/9ceb3773eb3f04f2077aa50ba8abbff739c863f46b2e5fa67544afb6c2547200",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:11:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/c22af36f26214223a80bbb1bc1ae21fa57855aa8a75ebba9cba9b02b19f8589f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:10:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/0775c08fd16ea0aa8851d176000b186a18eda3d7e3990128efd417cd1e9809a9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:09:35.000Z",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/4afcbdce9ddda974bc48b2cff6d5a2098956f454b740f1c957945f01a52adcf0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:11:52.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/f0b4ff0bb30280d5d2cd8104c59479df44d7734547b753674f1421e0be9d63b9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:09:45.000Z",
      "arch": "aarch64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/126ab147a93da9cffde474e9bd6e0d50c2deefd4f4b263564cc3ce399f70c428",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:11:17.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/e680eeb1f3b077fb67e0683d5eb7f18dae55262ccb3d6c52f31bc3965f3479d6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:11:06.000Z",
      "arch": "emscripten",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/6f10896cd996e707bba71f982bb6b3fc4cc0031b44e45e75da743af3a82569eb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:09:48.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/7ca5602b014ff4eaa809bab858aa2014312d1ddcbd24c97055ffa1eeee27639a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:09:12.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/5e66b7dd5c49029fef793213660ed0f4a1c77495344ab2480c7d47ba02a1ea15",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-07-06T19:09:57.000Z",
      "arch": "x86_64",
      "commit": "15c42129bae66f0f63591c735bd107238f2e904d",
      "fileid": "https://r2.ropensci.org/687e6b42c388c52de184a500af313ef1588293153ecc7b65d9fa3c00c41d85fe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/28816208793"
    }
  ]
}