{
  "_id": "6aeaf443818c9e3ef6dc0b7a",
  "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-11-04 08:51:56 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/411c2ff8f8945054a34f21c6ff29d1dadd4425b92ea8dc130176c0e1e00e00e3",
  "_filesize": 8378223,
  "_sha256": "411c2ff8f8945054a34f21c6ff29d1dadd4425b92ea8dc130176c0e1e00e00e3",
  "_expires": "2027-02-12T09:00:48.000Z",
  "_created": "2026-11-04T08:51:56.000Z",
  "_published": "2026-11-04T09:00:51.286Z",
  "_upstream": "https://github.com/rpkgs/sf2",
  "_status": "success",
  "_maintainer": {
    "name": "Dongdong Kong",
    "email": "kongdd.sysu@gmail.com",
    "login": "kongdd",
    "description": "Professor (Associate) At China University of Geosciences; \n公众号: eco-hydro\n",
    "uuid": 9815742
  },
  "_jobs": [
    {
      "job": 126482652167,
      "time": 205,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13309260024"
    },
    {
      "job": 126482652181,
      "time": 217,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13308048121"
    },
    {
      "job": 126482652237,
      "time": 222,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13308268398"
    },
    {
      "job": 126482652184,
      "time": 173,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13307929862"
    },
    {
      "job": 126480970456,
      "time": 234,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13308696143"
    },
    {
      "job": 126482652305,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13308138803"
    },
    {
      "job": 126482652187,
      "time": 185,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13308651805"
    },
    {
      "job": 126482652324,
      "time": 183,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13309325276"
    },
    {
      "job": 126482652197,
      "time": 150,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13309041173"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_tags": [],
  "_topics": [
    "spatial-analysis"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "kongdd",
      "count": 62,
      "uuid": 9815742
    }
  ],
  "_userbio": {
    "uuid": 73266396,
    "type": "organization",
    "name": "rpkgs",
    "followers": 12,
    "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": 48,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sf2.html"
  ],
  "_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",
    "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.380211241711606,
  "_indexed": true,
  "_nocasepkg": "sf2",
  "_universes": [
    "rpkgs",
    "kongdd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-11-04T08:54:19.000Z",
      "distro": "resolute",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/cfcef19d64bb8f1cb0ce3eca547342a78d54f47d9188b4514bdb21cc72adb2bc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-11-04T08:54:29.000Z",
      "distro": "resolute",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/40b2c8e6008b76cbb6b12fd9d8bcd100fbf1b260a8578800fff22f096608f3c5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-11-04T08:58:30.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/7541179fd90c825068d02da409fb9b5c1e08de01cfa4c4da739211f8ee251ebc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-11-04T08:54:39.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/6e72f7c00a47549b890af6549bf3b8d462e21e3d4c36a04f571ec1f37c3a4b1c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.6",
      "date": "2026-11-04T08:54:24.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/7a5fe441998231e6ab55cfc29796a86efe6a86addd126c035fa23269c08c243f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-11-04T08:53:39.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/fad5e55c735c54cd30a04c1d05b0f6db9f66071c56c03608ae4dbef316fdbfdf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-11-04T08:53:43.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/bf594fd248f0518014acbe900c7b0cbcc2b13fbfdd67d80e459dabc8f154c728",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-11-04T08:53:32.000Z",
      "commit": "2088240ee34486b52ad8fd5506a525b26e76a16a",
      "fileid": "https://r2.ropensci.org/ff68eb5987037c4eb342ac5812f696cad876aecd1fe627a257e4fd8df185b4dd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/41802317476"
    }
  ]
}