{
  "_id": "6a37b2af3efcd9bda442735a",
  "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-06-21 09:37:02 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": "11d4571b860d95f4eb14e94734527f8c",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "spatialsample_0.6.0.9000.tar.gz",
  "_fileid": "a48ab1ed9e3bc603c827ace1dee5f454ef94037d9fd1ba54693abda3bb6985f9",
  "_filesize": 5665908,
  "_sha256": "a48ab1ed9e3bc603c827ace1dee5f454ef94037d9fd1ba54693abda3bb6985f9",
  "_created": "2026-06-21T09:37:02.000Z",
  "_published": "2026-06-21T09:45:19.215Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82559276265,
      "time": 350,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7774062785"
    },
    {
      "job": 82559276269,
      "time": 347,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7774062052"
    },
    {
      "job": 82559276278,
      "time": 348,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774062445"
    },
    {
      "job": 82559276275,
      "time": 374,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774065434"
    },
    {
      "job": 82559276268,
      "time": 198,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7774042846"
    },
    {
      "job": 82559276262,
      "time": 437,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7774073469"
    },
    {
      "job": 82559276259,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774042866"
    },
    {
      "job": 82559276273,
      "time": 386,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774067020"
    },
    {
      "job": 82558990731,
      "time": 280,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774016117"
    },
    {
      "job": 82559276183,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774033242"
    },
    {
      "job": 82559276188,
      "time": 308,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7774057028"
    },
    {
      "job": 82559276279,
      "time": 293,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7774055030"
    },
    {
      "job": 82559276191,
      "time": 299,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774055841"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669",
  "_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": 78,
  "_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",
    "followers": 556
  },
  "_downloads": {
    "count": 3827,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatialsample"
  },
  "_devurl": "https://github.com/tidymodels/spatialsample",
  "_pkgdown": "https://spatialsample.tidymodels.org",
  "_searchresults": 305,
  "_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",
    "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": "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.515555405029053,
  "_indexed": true,
  "_nocasepkg": "spatialsample",
  "_universes": [
    "tidymodels",
    "mikemahoney218"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:40:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "93ee9cf82e4a75af7c5bd8c73b6308ec60d1af426b69c6f88027159193b7fc3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:39:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "87e30e61817741b03ea9725c04354434fe7c0159c763c160f400c94bda94d98d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:40:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "752e705a71aac309f729fba25a979398cfabdb9748b4f185b13acd50d2cff89b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:40:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "f7491b37fd7449da73745573dc3c025d1c9273f15d433ed2fa2362325134cbb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:39:03.000Z",
      "arch": "aarch64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "06b66204bc8b12c026f49388e4a188136f4fd6a324ce51846c23470406804949",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:40:49.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "9f0ac05a473b923321e740f6b1eb94d5436cc20ab1ab6308a2fd3b41df7a4820",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:39:00.000Z",
      "arch": "aarch64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "de37536b1a27ce708547220809419edafb061c21eab26660a85eec02cd75b77f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:40:09.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "fe9da8c9353c0f0c0eee4846f7b6446a66b83661886243b224f8e550a9661090",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:39:47.000Z",
      "arch": "emscripten",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "a0e6e93651f28b92f1aae186a016307c76060c5899c60abecc5154a1d9ca9917",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:38:49.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "0a4fbef2fdbff706a8fef4fcb789c8710ebe3c3823237e21781830ccb553d956",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:38:45.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "908ad93f2e048e33c8be7bbad9547eb3e920e7055c7a2985fa02cb77a3d51a3f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.0.9000",
      "date": "2026-06-21T09:38:48.000Z",
      "arch": "x86_64",
      "commit": "9a44b7c2735d7d5be31b79d29c3d34eafa88ba08",
      "fileid": "ede29cfcd51d8bd98ca6e3dd0a3a85b1926fcce4d3f0d7916460e31058a61813",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/27900179669"
    }
  ]
}