{
  "_id": "6a495b9ef6c47c441949e9b0",
  "Package": "sdsfun",
  "Title": "Spatial Data Science Complementary Features",
  "Version": "0.9.0",
  "Authors@R": "person(given = \"Wenbo\", family = \"Lyu\",\nemail = \"lyu.geosocial@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0009-0002-6003-3800\"))",
  "Description": "Wrapping and supplementing commonly used functions in the\nR ecosystem related to spatial data science, while serving as a\nbasis for other packages maintained by Wenbo Lyu.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://stscl.github.io/sdsfun/, https://github.com/stscl/sdsfun",
  "BugReports": "https://github.com/stscl/sdsfun/issues",
  "Config/testthat/edition": "3",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://stscl.r-universe.dev",
  "Date/Publication": "2026-05-06 05:17:31 UTC",
  "RemoteUrl": "https://github.com/stscl/sdsfun",
  "RemoteRef": "HEAD",
  "RemoteSha": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-24 03:24:16 UTC",
    "User": "root"
  },
  "Author": "Wenbo Lyu [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0002-6003-3800>)",
  "Maintainer": "Wenbo Lyu <lyu.geosocial@gmail.com>",
  "_user": "stscl",
  "_type": "src",
  "_file": "sdsfun_0.9.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/1de41359179493b2a5c43ebb483984750fbc1a83bdfbba47abe97812e84c6760",
  "_filesize": 384795,
  "_sha256": "1de41359179493b2a5c43ebb483984750fbc1a83bdfbba47abe97812e84c6760",
  "_expires": "2026-10-12T19:14:36.000Z",
  "_created": "2026-06-24T03:24:16.000Z",
  "_published": "2026-07-04T19:14:38.186Z",
  "_jobs": [
    {
      "job": 85159602107,
      "time": 265,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7839421936"
    },
    {
      "job": 85159602190,
      "time": 460,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7839460682"
    },
    {
      "job": 85159602195,
      "time": 259,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7839420620"
    },
    {
      "job": 85159602335,
      "time": 199,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7839407281"
    },
    {
      "job": 85159602164,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7839394184"
    },
    {
      "job": 85159602143,
      "time": 379,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7839444969"
    },
    {
      "job": 85159602132,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7839393131"
    },
    {
      "job": 85159602274,
      "time": 373,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7839444020"
    },
    {
      "job": 85159602049,
      "time": 256,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7839364475"
    },
    {
      "job": 85159602069,
      "time": 216,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7839410738"
    },
    {
      "job": 85159602272,
      "time": 238,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7839415314"
    },
    {
      "job": 85159602289,
      "time": 231,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7839414203"
    },
    {
      "job": 85159602123,
      "time": 221,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7839412010"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253",
  "_status": "success",
  "_upstream": "https://github.com/stscl/sdsfun",
  "_commit": {
    "id": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
    "author": "Wenbo Lyu <lyu.geosocial@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #68 from stscl/dev\n\nsync with the latest roxygen release and r-lib github actions",
    "time": 1778044651
  },
  "_maintainer": {
    "name": "Wenbo Lyu",
    "email": "lyu.geosocial@gmail.com",
    "login": "spatlyu",
    "uuid": 118346681
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "geosphere",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "pander",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "Rcpp",
      "role": "Suggests"
    },
    {
      "package": "RcppArmadillo",
      "role": "Suggests"
    },
    {
      "package": "terra",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "stscl",
  "_selfowned": true,
  "_usedby": 11,
  "_updates": [
    {
      "week": "2025-38",
      "n": 3
    },
    {
      "week": "2025-39",
      "n": 6
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.8.1",
      "date": "2025-09-22"
    }
  ],
  "_topics": [
    "geoinformatics",
    "spatial-data-analysis",
    "spatial-data-science",
    "spatial-statistics",
    "openblas",
    "cpp"
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "spatlyu",
      "count": 551,
      "uuid": 118346681
    }
  ],
  "_userbio": {
    "uuid": 179955713,
    "type": "organization",
    "name": "Spatio-Temporal Statistical Computing",
    "followers": 23,
    "description": "Spatio-Temporal Statistical Computing Related to Wenbo Lyu: Open-Source Toolkits & Learning Resources"
  },
  "_downloads": {
    "count": 554,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sdsfun"
  },
  "_devurl": "https://github.com/stscl/sdsfun",
  "_pkgdown": "https://stscl.github.io/sdsfun/",
  "_searchresults": 6,
  "_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/sdsfun.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stscl/sdsfun",
  "_realowner": "stscl",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-08-30"
    },
    {
      "version": "0.1.1",
      "date": "2024-09-08"
    },
    {
      "version": "0.2.0",
      "date": "2024-09-15"
    },
    {
      "version": "0.2.1",
      "date": "2024-09-23"
    },
    {
      "version": "0.3.0",
      "date": "2024-09-30"
    },
    {
      "version": "0.4.0",
      "date": "2024-10-08"
    },
    {
      "version": "0.4.1",
      "date": "2024-10-16"
    },
    {
      "version": "0.4.2",
      "date": "2024-11-14"
    },
    {
      "version": "0.4.3",
      "date": "2024-11-15"
    },
    {
      "version": "0.5.0",
      "date": "2024-11-25"
    },
    {
      "version": "0.6.0",
      "date": "2024-12-11"
    },
    {
      "version": "0.7.0",
      "date": "2025-01-13"
    },
    {
      "version": "0.8.0",
      "date": "2025-05-12"
    },
    {
      "version": "0.8.1",
      "date": "2025-09-22"
    }
  ],
  "_exports": [
    "%>%",
    "check_tbl_na",
    "cor_test",
    "discretize_vector",
    "dummy_tbl",
    "dummy_vec",
    "formula_varname",
    "fuzzyoverlay",
    "generate_subsets",
    "geodetector_q",
    "hclustgeo_disc",
    "inverse_distance_swm",
    "loess_optnum",
    "moran_test",
    "normalize_vector",
    "rm_lineartrend",
    "sf_coordinates",
    "sf_distance_matrix",
    "sf_geometry_name",
    "sf_geometry_type",
    "sf_gk_proj_cgcs2000",
    "sf_utm_proj_wgs84",
    "sf_voronoi_diagram",
    "spade_psd",
    "spdep_contiguity_swm",
    "spdep_distance_swm",
    "spdep_lmtest",
    "spdep_nb",
    "spdep_skater",
    "spvar",
    "ssh_test",
    "standardize_vector",
    "tbl_all2int",
    "tbl_xyz2mat"
  ],
  "_help": [
    {
      "page": "check_tbl_na",
      "title": "check for NA values in a tibble",
      "topics": [
        "check_tbl_na"
      ]
    },
    {
      "page": "cor_test",
      "title": "(partial) correlation test",
      "topics": [
        "cor_test"
      ]
    },
    {
      "page": "discretize_vector",
      "title": "discretization",
      "topics": [
        "discretize_vector"
      ]
    },
    {
      "page": "dummy_tbl",
      "title": "transforming a category tibble into the corresponding dummy variable tibble",
      "topics": [
        "dummy_tbl"
      ]
    },
    {
      "page": "dummy_vec",
      "title": "transforming a categorical variable into dummy variables",
      "topics": [
        "dummy_vec"
      ]
    },
    {
      "page": "formula_varname",
      "title": "get variable names in a formula and data",
      "topics": [
        "formula_varname"
      ]
    },
    {
      "page": "fuzzyoverlay",
      "title": "spatial fuzzy overlay",
      "topics": [
        "fuzzyoverlay"
      ]
    },
    {
      "page": "generate_subsets",
      "title": "generate subsets of a set",
      "topics": [
        "generate_subsets"
      ]
    },
    {
      "page": "geodetector_q",
      "title": "only geodetector q-value",
      "topics": [
        "geodetector_q"
      ]
    },
    {
      "page": "hclustgeo_disc",
      "title": "hierarchical clustering with spatial soft constraints",
      "topics": [
        "hclustgeo_disc"
      ]
    },
    {
      "page": "inverse_distance_swm",
      "title": "construct inverse distance weight",
      "topics": [
        "inverse_distance_swm"
      ]
    },
    {
      "page": "loess_optnum",
      "title": "determine optimal spatial data discretization for individual variables",
      "topics": [
        "loess_optnum"
      ]
    },
    {
      "page": "moran_test",
      "title": "global spatial autocorrelation test",
      "topics": [
        "moran_test"
      ]
    },
    {
      "page": "normalize_vector",
      "title": "normalization",
      "topics": [
        "normalize_vector"
      ]
    },
    {
      "page": "rm_lineartrend",
      "title": "remove variable linear trend based on covariate",
      "topics": [
        "rm_lineartrend"
      ]
    },
    {
      "page": "sf_coordinates",
      "title": "extract locations",
      "topics": [
        "sf_coordinates"
      ]
    },
    {
      "page": "sf_distance_matrix",
      "title": "generates distance matrix",
      "topics": [
        "sf_distance_matrix"
      ]
    },
    {
      "page": "sf_geometry_name",
      "title": "sf object geometry column name",
      "topics": [
        "sf_geometry_name"
      ]
    },
    {
      "page": "sf_geometry_type",
      "title": "sf object geometry type",
      "topics": [
        "sf_geometry_type"
      ]
    },
    {
      "page": "sf_gk_proj_cgcs2000",
      "title": "generates cgcs2000 Gauss-Kruger projection epsg coding character",
      "topics": [
        "sf_gk_proj_cgcs2000"
      ]
    },
    {
      "page": "sf_utm_proj_wgs84",
      "title": "generates wgs84 utm projection epsg coding character",
      "topics": [
        "sf_utm_proj_wgs84"
      ]
    },
    {
      "page": "sf_voronoi_diagram",
      "title": "generates voronoi diagram",
      "topics": [
        "sf_voronoi_diagram"
      ]
    },
    {
      "page": "spade_psd",
      "title": "only spade power of spatial determinant",
      "topics": [
        "spade_psd"
      ]
    },
    {
      "page": "spdep_contiguity_swm",
      "title": "constructs spatial weight matrices based on contiguity",
      "topics": [
        "spdep_contiguity_swm"
      ]
    },
    {
      "page": "spdep_distance_swm",
      "title": "constructs spatial weight matrices based on distance",
      "topics": [
        "spdep_distance_swm"
      ]
    },
    {
      "page": "spdep_lmtest",
      "title": "spatial linear models selection",
      "topics": [
        "spdep_lmtest"
      ]
    },
    {
      "page": "spdep_nb",
      "title": "construct neighbours list",
      "topics": [
        "spdep_nb"
      ]
    },
    {
      "page": "spdep_skater",
      "title": "spatial c(k)luster analysis by tree edge removal",
      "topics": [
        "spdep_skater"
      ]
    },
    {
      "page": "spvar",
      "title": "spatial variance",
      "topics": [
        "spvar"
      ]
    },
    {
      "page": "ssh_test",
      "title": "spatial stratified heterogeneity test",
      "topics": [
        "ssh_test"
      ]
    },
    {
      "page": "standardize_vector",
      "title": "standardization",
      "topics": [
        "standardize_vector"
      ]
    },
    {
      "page": "tbl_all2int",
      "title": "convert discrete variables in a tibble to integers",
      "topics": [
        "tbl_all2int"
      ]
    },
    {
      "page": "tbl_xyz2mat",
      "title": "convert xyz tbl to matrix",
      "topics": [
        "tbl_xyz2mat"
      ]
    }
  ],
  "_pkglogo": "https://github.com/stscl/sdsfun/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/stscl/sdsfun/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "class",
    "classInt",
    "cli",
    "DBI",
    "deldir",
    "digest",
    "dplyr",
    "e1071",
    "generics",
    "geosphere",
    "glue",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "pander",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "s2",
    "sf",
    "sp",
    "spData",
    "spdep",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 6.217483944213907,
  "_indexed": true,
  "_nocasepkg": "sdsfun",
  "_universes": [
    "stscl",
    "spatlyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-06-24T03:28:46.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/a53bc1117a43ee0f6bd7c1875fd048d35cd521e26e808a4b4fed9663b9c205b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-06-24T03:31:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/699d049c6e1b77e2e13614640e03ad940231ebd6b5f149764ab02e1b2c6090bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-06-24T03:28:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/b04268a8ae6c7453ad63781437acbbfd6ff13d6b0abf505d8d510a8d178ca8e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.0",
      "date": "2026-06-24T03:27:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/07f20f1e0675398c46bbd3b6f1ee182a58de63f49bbb4c8c8fcc47653c47ee83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-06-24T03:26:56.000Z",
      "arch": "aarch64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/41ef07f116db92d71d02aef7db66e094ffc2e0a2681bdb74aa90ecbf2d7b0a21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-06-24T03:29:00.000Z",
      "arch": "x86_64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/6da064c28b977d3a452ee8f11f6960e2f2ac52e42b37ad0924a1a038122f5c78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-06-24T03:27:00.000Z",
      "arch": "aarch64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/98b713b463fa0c49698f8c17074597fc4b7b3b5bd093ba492856755228051f9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.0",
      "date": "2026-06-24T03:29:01.000Z",
      "arch": "x86_64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/80ef78d3c6a93b8ccf999bb9c6c7703fdb91663095a3102ef110f62988947cb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.0",
      "date": "2026-06-24T03:28:12.000Z",
      "arch": "emscripten",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/4fcf4c564e7e76fd3eecb0f11b1d3fbebafb54af4360a16567f8abb751a0d362",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-06-24T03:26:42.000Z",
      "arch": "x86_64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/43e111b139bcbae8e7529d26455d0ef475182c8b9a300cc3ef111b56ef122460",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-06-24T03:26:53.000Z",
      "arch": "x86_64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/68de9848035bbe51ffcdc18c577935ff26c53345577ddb0d30bab8be0241c73c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.0",
      "date": "2026-06-24T03:26:38.000Z",
      "arch": "x86_64",
      "commit": "35b4521dc9c86fe34ba5a57a696c5cd18b92bf54",
      "fileid": "https://r2.ropensci.org/47816d34f90c1c77e3e8602d63109f81a028b01202a2d85f07e086ce672e1b89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stscl/actions/runs/28072822253"
    }
  ]
}