{
  "_id": "6a48b543e06c18f0a6547ef4",
  "Package": "sf2",
  "Type": "Package",
  "Title": "Spatial Analysis tools",
  "Version": "0.1.6",
  "Authors@R": "person(\"Dongdong\", \"Kong\", email = \"kongdd.sysu@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "sf2 extends the function of sf package.",
  "License": "GPL-3",
  "LazyData": "TRUE",
  "import": "RoxygenNote: 6.1.0",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://rpkgs.r-universe.dev",
  "Date/Publication": "2025-09-07 12:13:20 UTC",
  "RemoteUrl": "https://github.com/rpkgs/sf2",
  "RemoteRef": "HEAD",
  "RemoteSha": "2088240ee34486b52ad8fd5506a525b26e76a16a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-04 06:42:43 UTC",
    "User": "root"
  },
  "Author": "Dongdong Kong [aut, cre]",
  "Maintainer": "Dongdong Kong <kongdd.sysu@gmail.com>",
  "_user": "rpkgs",
  "_type": "src",
  "_file": "sf2_0.1.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/787f59c959d8ab6560431119f8b41cdefc03e15678a01954f0ccd45bb8b9cc05",
  "_filesize": 8378893,
  "_sha256": "787f59c959d8ab6560431119f8b41cdefc03e15678a01954f0ccd45bb8b9cc05",
  "_expires": "2026-10-12T07:24:49.000Z",
  "_created": "2026-07-04T06:42:43.000Z",
  "_published": "2026-07-04T07:24:51.672Z",
  "_jobs": [
    {
      "job": 85111176286,
      "time": 241,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8079273601"
    },
    {
      "job": 85111176293,
      "time": 235,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8079272941"
    },
    {
      "job": 85111176307,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8079567042"
    },
    {
      "job": 85111176305,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8079556744"
    },
    {
      "job": 85110960707,
      "time": 211,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079244084"
    },
    {
      "job": 85111176288,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079264315"
    },
    {
      "job": 85111176299,
      "time": 181,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8079266521"
    },
    {
      "job": 85111176301,
      "time": 178,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8079266322"
    },
    {
      "job": 85111176350,
      "time": 194,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8079268148"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555",
  "_status": "success",
  "_upstream": "https://github.com/rpkgs/sf2",
  "_commit": {
    "id": "2088240ee34486b52ad8fd5506a525b26e76a16a",
    "author": "Dongdong Kong <kongdd@users.noreply.github.com>",
    "committer": "Dongdong Kong <kongdd@users.noreply.github.com>",
    "message": "fix ci\n",
    "time": 1757247200
  },
  "_maintainer": {
    "name": "Dongdong Kong",
    "email": "kongdd.sysu@gmail.com",
    "login": "kongdd",
    "description": "Professor (Associate) At China University of Geosciences; \n公众号: eco-hydro",
    "uuid": 9815742
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "exactextractr",
      "role": "Suggests"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "rpkgs",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "spatial-analysis"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "kongdd",
      "count": 62,
      "uuid": 9815742
    }
  ],
  "_userbio": {
    "uuid": 73266396,
    "type": "organization",
    "name": "rpkgs",
    "followers": 11,
    "description": "My peasonal R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sf2"
  },
  "_devurl": "https://github.com/rpkgs/sf2",
  "_searchresults": 53,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sf2.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "array<-",
    "as_rast",
    "check_rast_vals",
    "df2sf",
    "fix_lon",
    "get_crs",
    "get_grid",
    "get_grid.lonlat",
    "get_RegionalMean",
    "get_RegionalMeans",
    "guess_network",
    "index_mat2vec",
    "load_china",
    "load_china_river",
    "load_continent",
    "make_grid",
    "make_rast",
    "mat2vec",
    "overlap_fraction",
    "plot",
    "rast",
    "rast_array",
    "rast_cellId",
    "rast_df",
    "rast_dim",
    "rast2colormap",
    "rast2SpatialGrid",
    "rdist.earth",
    "read_polyline",
    "res",
    "shp_contains",
    "st_area2",
    "st_clip",
    "st_coord",
    "st_dissolve",
    "st_extractId",
    "st_range",
    "st_read",
    "st_rect",
    "st_write",
    "value2colormap",
    "write_shp"
  ],
  "_datasets": [
    {
      "name": "basin_yangtze",
      "title": "",
      "object": "basin_yangtze",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Id",
        "geometry"
      ],
      "rows": 1,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "get_RegionalMean",
      "title": "get_RegionalMean",
      "topics": [
        "get_RegionalMean",
        "get_RegionalMeans"
      ]
    },
    {
      "page": "guess_network",
      "title": "guess_network",
      "topics": [
        "guess_network"
      ]
    },
    {
      "page": "load_data",
      "title": "load_data",
      "topics": [
        "load_china",
        "load_china_river",
        "load_continent",
        "load_data"
      ]
    },
    {
      "page": "make_grid",
      "title": "make_grid",
      "topics": [
        "fix_lon",
        "get_grid.lonlat",
        "make_grid"
      ]
    },
    {
      "page": "make_rast",
      "title": "make_rast",
      "topics": [
        "make_rast"
      ]
    },
    {
      "page": "overlap_fraction",
      "title": "overlap_fraction",
      "topics": [
        "overlap_fraction"
      ]
    },
    {
      "page": "rast_df",
      "title": "rast_coord",
      "topics": [
        "rast_df"
      ]
    },
    {
      "page": "rdist.earth",
      "title": "rdist.earth",
      "topics": [
        "rdist.earth"
      ]
    },
    {
      "page": "select.SpatRaster",
      "title": "Select layers from a SpatRaster object",
      "topics": [
        "select.SpatRaster"
      ]
    },
    {
      "page": "st_clip",
      "title": "clip shapefile",
      "topics": [
        "st_clip"
      ]
    },
    {
      "page": "st_dissolve",
      "title": "st_dissolve",
      "topics": [
        "st_dissolve",
        "st_dissolve.character",
        "st_dissolve.sf"
      ]
    },
    {
      "page": "st_extractId",
      "title": "st_extractId",
      "topics": [
        "st_extractId"
      ]
    },
    {
      "page": "st_range",
      "title": "get range of 'sf' object",
      "topics": [
        "st_range"
      ]
    },
    {
      "page": "st_rect",
      "title": "st_rect",
      "topics": [
        "st_rect"
      ]
    },
    {
      "page": "write_shp",
      "title": "write and read ESRI Shapefile",
      "topics": [
        "write_shp"
      ]
    }
  ],
  "_readme": "https://github.com/rpkgs/sf2/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "data.table",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "stringi",
    "stringr",
    "terra",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "rast_values_order.Rmd",
      "filename": "rast_values_order.html",
      "title": "rast_values_order",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-08-13 00:52:33",
      "modified": "2023-08-13 02:16:23",
      "commits": 2
    }
  ],
  "_score": 3.724275869600789,
  "_indexed": true,
  "_nocasepkg": "sf2",
  "_universes": [
    "rpkgs",
    "kongdd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-07-04T06:45:30.000Z",
      "distro": "resolute",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/c910166d4a9c94e48abe017235f80336c982b049d03cc96f7e452abdf9a12d8f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-07-04T06:45:29.000Z",
      "distro": "resolute",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/6cd0c8fae8b19aba38ad9261a4940d7e298d0fae308dbf0a8a4e44d042597124",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-07-04T07:23:16.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/ad00474c40cb195d2f2699ccdb273454a2e3143deb3ed4ce6e1c5bfb827f76d0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-07-04T07:22:10.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/1da1d3eb612ae2767b5fbd5e26fe4fbe2b1d69a627f28fc7f58a07fe30dc61e2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.6",
      "date": "2026-07-04T06:45:52.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/c920d15dade2958e8a101ebc8933440779d964aa34b72cf64bb003517ddb8378",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-07-04T06:44:21.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/aeb2f69257c4d1f751906b384e471bfd1ae05afb79569fd043ba1326fb491bfd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-07-04T06:44:17.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/1f17430891473b5a99c23784f14e60c8b9730cbf48f03b784ec46abf57ecd984",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-07-04T06:44:33.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/d87d7f9d60045a950d161fb87aaefc40afebbc039e528ca1b834e9a36df18be4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/28697989555"
    }
  ]
}