{
  "_id": "6a102d4dacfb0bcc41c93988",
  "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": "2025-12-02 14:03:51 UTC",
  "RemoteUrl": "https://github.com/tidymodels/spatialsample",
  "RemoteRef": "HEAD",
  "RemoteSha": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-22 10:08:49 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>",
  "MD5sum": "bf38af64b454c179b5ed5bb834ad752c",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "spatialsample_0.6.0.9000.tar.gz",
  "_fileid": "a93df830c61f93d0b8fc1f9acc2798a9b870fc6f9e81be094eef93aa70e4ede1",
  "_filesize": 5661047,
  "_sha256": "a93df830c61f93d0b8fc1f9acc2798a9b870fc6f9e81be094eef93aa70e4ede1",
  "_created": "2026-05-22T10:08:49.000Z",
  "_published": "2026-05-22T10:17:49.643Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77359277688,
      "time": 352,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158123853"
    },
    {
      "job": 77359277718,
      "time": 337,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158119693"
    },
    {
      "job": 77359277733,
      "time": 328,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158116678"
    },
    {
      "job": 77359277691,
      "time": 310,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158111378"
    },
    {
      "job": 77359277665,
      "time": 255,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7158094124"
    },
    {
      "job": 77359277690,
      "time": 474,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7158159775"
    },
    {
      "job": 77359277833,
      "time": 196,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158076263"
    },
    {
      "job": 77359277693,
      "time": 478,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158161443"
    },
    {
      "job": 77358574189,
      "time": 281,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158015321"
    },
    {
      "job": 77359277652,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158055343"
    },
    {
      "job": 77359277674,
      "time": 303,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158109205"
    },
    {
      "job": 77359277746,
      "time": 297,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7158107326"
    },
    {
      "job": 77359277724,
      "time": 282,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158102871"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tidymodels/spatialsample",
  "_commit": {
    "id": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
    "author": "Hannah Frick <hfrick@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update GHA (#173)\n\n* `use_tidy_github_actions()`\n\n* `build_readme()`",
    "time": 1764684231
  },
  "_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
  },
  "_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
    }
  ],
  "_tags": [],
  "_stars": 77,
  "_contributors": [
    {
      "user": "mikemahoney218",
      "count": 100,
      "uuid": 38229299
    },
    {
      "user": "juliasilge",
      "count": 48,
      "uuid": 12505835
    },
    {
      "user": "davisvaughan",
      "count": 6,
      "uuid": 19150088
    },
    {
      "user": "hfrick",
      "count": 4,
      "uuid": 12950918
    }
  ],
  "_userbio": {
    "uuid": 29100987,
    "type": "organization",
    "name": "tidymodels"
  },
  "_downloads": {
    "count": 4346,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatialsample"
  },
  "_devurl": "https://github.com/tidymodels/spatialsample",
  "_pkgdown": "https://spatialsample.tidymodels.org",
  "_searchresults": 273,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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",
    "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": "14.2.0-4ubuntu2~24.04.1",
      "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.51704559496503,
  "_indexed": true,
  "_nocasepkg": "spatialsample",
  "_universes": [
    "tidymodels",
    "mikemahoney218"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:11:43.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "ab441e7257ca6423bffce2a3d8a4dcdd883415a34458a963df87e2ede6f03ff2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:11:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "1ca1469a46d5e2713d1f9973491298cde923bfdfcb9822a1ef51de09d0a4a028",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:11:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "59dc6273f43e03250401bca7fb7e251ea0ccd51920a6675e4f8845479a676e59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:11:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "b19c45eb67baee80798f6e3c9922297a48b007fd089710215addef53fcd62ecc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:11:03.000Z",
      "arch": "aarch64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "aeeafa2031bb9513cc8669caa12bb78a804ced47ead93bb94138017df4eaf5af",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:12:51.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "43f947fced4779c92b02447825f96505baff6ec8789fa5ad23f3388836fb7b99",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:10:46.000Z",
      "arch": "aarch64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "6dc0fe89ef48b76332a52df8401cac33050cab99d90fd11fb1c29d23a698a842",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:12:35.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "925d747f52fba724f869b8866c2ce1004237079a3d5714d4ea5dd8b8684bf064",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:11:34.000Z",
      "arch": "emscripten",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "b42ef60f989aac48af17b2c7c25cb8d2324af75f8ec94b596192580c1aba1575",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:10:36.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "c9cd2b3b0ff41aacd08dac9cec1fca3037150e802bb652777d75e266231f8f30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:10:32.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "5ecb9e247a6f47fff748e28fc19361c00cbefed7c4b786526d60b5912ae062bd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-05-22T10:10:28.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "ef4ff25725899759eee44c53caecb9c537f978656afd07baebca61aa1fdc674e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/26281493549"
    }
  ]
}