{
  "_id": "6a1ff47ab401979e73442e32",
  "Package": "spatgraphs",
  "Type": "Package",
  "Title": "Graph Edge Computations for Spatial Point Patterns",
  "Version": "3.51",
  "Date": "2025-10-06",
  "Author": "Tuomas Rajala",
  "Maintainer": "Tuomas Rajala <tuomas.rajala@iki.fi>",
  "Description": "Graphs (or networks) and graph component calculations for\nspatial locations in 1D, 2D, 3D etc.",
  "License": "GPL (>= 2)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/antiphon/spatgraphs",
  "BugReports": "https://github.com/antiphon/spatgraphs/issues",
  "Encoding": "UTF-8",
  "Repository": "https://antiphon.r-universe.dev",
  "Date/Publication": "2025-10-06 13:24:07 UTC",
  "RemoteUrl": "https://github.com/antiphon/spatgraphs",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 09:21:34 UTC",
    "User": "root"
  },
  "MD5sum": "80068c0455b7d17d08a23de759c25e0c",
  "_user": "antiphon",
  "_type": "src",
  "_file": "spatgraphs_3.51.tar.gz",
  "_fileid": "bd1ab0bbbef00b8351331ae8b4b074360e109d82d6ab670fa0540627d6e41766",
  "_filesize": 142748,
  "_sha256": "bd1ab0bbbef00b8351331ae8b4b074360e109d82d6ab670fa0540627d6e41766",
  "_created": "2026-06-03T09:21:34.000Z",
  "_published": "2026-06-03T09:31:38.319Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79262120381,
      "time": 170,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380651219"
    },
    {
      "job": 79262120411,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380641722"
    },
    {
      "job": 79262120303,
      "time": 152,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380643972"
    },
    {
      "job": 79262120388,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380640935"
    },
    {
      "job": 79262120376,
      "time": 213,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380652268"
    },
    {
      "job": 79262120380,
      "time": 541,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380771234"
    },
    {
      "job": 79262120475,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380642760"
    },
    {
      "job": 79262120329,
      "time": 346,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380707199"
    },
    {
      "job": 79261558718,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380587349"
    },
    {
      "job": 79262120251,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380635616"
    },
    {
      "job": 79262120322,
      "time": 146,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380641079"
    },
    {
      "job": 79262120427,
      "time": 122,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380632198"
    },
    {
      "job": 79262120278,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380632680"
    }
  ],
  "_buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/antiphon/spatgraphs",
  "_commit": {
    "id": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
    "author": "Tuomas Rajala <tuomas.rajala@iki.fi>",
    "committer": "Tuomas Rajala <tuomas.rajala@iki.fi>",
    "message": "sub_geometric\n",
    "time": 1759757047
  },
  "_maintainer": {
    "name": "Tuomas Rajala",
    "email": "tuomas.rajala@iki.fi",
    "login": "antiphon",
    "description": "",
    "uuid": 207210
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.6",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rgl",
      "role": "Suggests"
    }
  ],
  "_owner": "antiphon",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "antiphon",
      "count": 36,
      "uuid": 207210
    },
    {
      "user": "dmurdoch",
      "count": 1,
      "uuid": 1935680
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 207210,
    "type": "user",
    "name": "Tuomas Rajala"
  },
  "_downloads": {
    "count": 265,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/spatgraphs"
  },
  "_devurl": "https://github.com/antiphon/spatgraphs",
  "_searchresults": 15,
  "_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/spatgraphs.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/antiphon/spatgraphs",
  "_realowner": "antiphon",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2",
      "date": "2007-03-01"
    },
    {
      "version": "0.52",
      "date": "2007-11-17"
    },
    {
      "version": "2.01",
      "date": "2008-08-01"
    },
    {
      "version": "2.1",
      "date": "2008-11-12"
    },
    {
      "version": "2.27",
      "date": "2009-09-18"
    },
    {
      "version": "2.30",
      "date": "2009-11-12"
    },
    {
      "version": "2.31",
      "date": "2010-01-15"
    },
    {
      "version": "2.32",
      "date": "2010-01-21"
    },
    {
      "version": "2.37",
      "date": "2010-06-16"
    },
    {
      "version": "2.43",
      "date": "2011-02-10"
    },
    {
      "version": "2.44",
      "date": "2011-02-10"
    },
    {
      "version": "2.60",
      "date": "2012-04-08"
    },
    {
      "version": "2.62",
      "date": "2012-09-26"
    },
    {
      "version": "3.0",
      "date": "2015-10-27"
    },
    {
      "version": "3.1-2",
      "date": "2017-10-05"
    },
    {
      "version": "3.1-3",
      "date": "2017-10-06"
    },
    {
      "version": "3.2-1",
      "date": "2017-12-14"
    },
    {
      "version": "3.2-2",
      "date": "2020-06-08"
    },
    {
      "version": "3.4",
      "date": "2023-02-10"
    }
  ],
  "_exports": [
    "adj2sg",
    "as.sg",
    "as.sgadj",
    "as.sgc",
    "edgeLengths",
    "is_sg",
    "plot3_sg",
    "prune_sg",
    "remove_nodes",
    "sg_parse_coordinates",
    "sg_verify_parameters",
    "sg2adj",
    "sg2dxf",
    "sg2igraph",
    "sg2sparse",
    "sg2sym",
    "sg2wadj",
    "shortestPath",
    "shortestPath_legacy",
    "shortestPath2",
    "sparse2sg",
    "spatcluster",
    "spatgraph",
    "spectral_sg",
    "weight_sg"
  ],
  "_help": [
    {
      "page": "adj2sg",
      "title": "sgadj to sg",
      "topics": [
        "adj2sg"
      ]
    },
    {
      "page": "as.sg",
      "title": "Class creator",
      "topics": [
        "as.sg"
      ]
    },
    {
      "page": "as.sgadj",
      "title": "Creator for sgadj-class",
      "topics": [
        "as.sgadj"
      ]
    },
    {
      "page": "as.sgc",
      "title": "Creator for sgc",
      "topics": [
        "as.sgc"
      ]
    },
    {
      "page": "cut.sg",
      "title": "cut edges",
      "topics": [
        "cut.sg"
      ]
    },
    {
      "page": "edgeLengths",
      "title": "Edge lengths",
      "topics": [
        "edgeLengths"
      ]
    },
    {
      "page": "is_sg",
      "title": "verify class sg",
      "topics": [
        "is_sg"
      ]
    },
    {
      "page": "plot.sg",
      "title": "Plot a spatial graph",
      "topics": [
        "plot.sg"
      ]
    },
    {
      "page": "plot.sgadj",
      "title": "plot sgadj",
      "topics": [
        "plot.sgadj"
      ]
    },
    {
      "page": "plot.sgc",
      "title": "plot clusters",
      "topics": [
        "plot.sgc"
      ]
    },
    {
      "page": "plot.sgspectral",
      "title": "plot spectral clustering results",
      "topics": [
        "plot.sgspectral"
      ]
    },
    {
      "page": "plot3_sg",
      "title": "Plot 3d graph",
      "topics": [
        "plot3_sg"
      ]
    },
    {
      "page": "print.sg",
      "title": "Print method for sg",
      "topics": [
        "print.sg"
      ]
    },
    {
      "page": "print.sgadj",
      "title": "print method for sgadj",
      "topics": [
        "print.sgadj"
      ]
    },
    {
      "page": "print.sgc",
      "title": "sgc print method",
      "topics": [
        "print.sgc"
      ]
    },
    {
      "page": "prune_sg",
      "title": "Prune a graph",
      "topics": [
        "prune_sg"
      ]
    },
    {
      "page": "remove_nodes",
      "title": "Remove edges connected to certain nodes",
      "topics": [
        "remove_nodes"
      ]
    },
    {
      "page": "sg_parse_coordinates",
      "title": "Parse input for coordinates",
      "topics": [
        "sg_parse_coordinates"
      ]
    },
    {
      "page": "sg_verify_parameters",
      "title": "Verify input parameters for the graph",
      "topics": [
        "sg_verify_parameters"
      ]
    },
    {
      "page": "sg2adj",
      "title": "sg to sgadj",
      "topics": [
        "sg2adj"
      ]
    },
    {
      "page": "sg2dxf",
      "title": "sg to dxf format",
      "topics": [
        "sg2dxf"
      ]
    },
    {
      "page": "sg2igraph",
      "title": "sg to igraph",
      "topics": [
        "sg2igraph"
      ]
    },
    {
      "page": "sg2sparse",
      "title": "Make a sparse adjacency matrix from sg-object",
      "topics": [
        "sg2sparse"
      ]
    },
    {
      "page": "sg2sym",
      "title": "Symmetrisation of sg adjacency matrix wrapper for 1way and 2way symmetrisation",
      "topics": [
        "sg2sym"
      ]
    },
    {
      "page": "sg2wadj",
      "title": "weighted sg to weighted adjacency matrix",
      "topics": [
        "sg2wadj"
      ]
    },
    {
      "page": "shortestPath",
      "title": "shortest path on the graph",
      "topics": [
        "shortestPath"
      ]
    },
    {
      "page": "shortestPath_legacy",
      "title": "shortest path on the graph",
      "topics": [
        "shortestPath_legacy"
      ]
    },
    {
      "page": "shortestPath2",
      "title": "shortest path on the graph",
      "topics": [
        "shortestPath2"
      ]
    },
    {
      "page": "sparse2sg",
      "title": "Make an sg-object from adjacency matrix",
      "topics": [
        "sparse2sg"
      ]
    },
    {
      "page": "spatcluster",
      "title": "Compute the connected components of a graph",
      "topics": [
        "spatcluster"
      ]
    },
    {
      "page": "spatgraph",
      "title": "Compute the edges of a spatial graph",
      "topics": [
        "spatgraph"
      ]
    },
    {
      "page": "spectral_sg",
      "title": "spectral clustering",
      "topics": [
        "spectral_sg"
      ]
    },
    {
      "page": "summary.sg",
      "title": "sg summary",
      "topics": [
        "summary.sg"
      ]
    },
    {
      "page": "summary.sgc",
      "title": "sgc summary",
      "topics": [
        "summary.sgc"
      ]
    },
    {
      "page": "t.sg",
      "title": "Transpose sg object",
      "topics": [
        "t.sg"
      ]
    },
    {
      "page": "t.sgadj",
      "title": "Transpose sgadj object",
      "topics": [
        "t.sgadj"
      ]
    },
    {
      "page": "weight_sg",
      "title": "Set weights to edges of sg",
      "topics": [
        "weight_sg"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "Matrix",
    "Rcpp"
  ],
  "_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"
    }
  ],
  "_score": 2.778151250383644,
  "_indexed": true,
  "_nocasepkg": "spatgraphs",
  "_universes": [
    "antiphon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.51",
      "date": "2026-06-03T09:24:14.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "bf9c9140bc68a2d25e25a157b5f0f457a035b2bdb5e5f9e28efe3683b8fd0812",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.51",
      "date": "2026-06-03T09:23:49.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "9a3e19dc2f4371d0adc97dc8febbb97878a49266b7f78bd8b31bcb52721696e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.51",
      "date": "2026-06-03T09:24:00.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "b957e0e2552f8d0f5e19413abaffc6a372eae5e33088774c4388ea6d127c9ae6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.51",
      "date": "2026-06-03T09:23:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "ca082e835178ae2d8043e0b9a559fcf1ff2e8c37f48c440e2501400427eae499",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.51",
      "date": "2026-06-03T09:24:18.000Z",
      "arch": "aarch64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "c9668eb662d4ccf402f9af3d329b86cc85dd783267df49f275e5034141619ef9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.51",
      "date": "2026-06-03T09:28:14.000Z",
      "arch": "x86_64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "b532adea8e83824056e95b8b6f2e33aa3560676d057c7c4f919c710e6654d141",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.51",
      "date": "2026-06-03T09:23:57.000Z",
      "arch": "aarch64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "04aea3a45c0216df844f1819123ffec59bfdf5f31d34fdf4068fd1188d578f8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.51",
      "date": "2026-06-03T09:26:14.000Z",
      "arch": "x86_64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "9552e48a355569abc76e2c6b554a3857dc42e3c91033736d84acb3a6aec50a9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.51",
      "date": "2026-06-03T09:24:00.000Z",
      "arch": "emscripten",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "7518d7dc6d47cd9d919a1bd7206d5fab0198344971c6b8be9d4b6dd6e75a80dc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.51",
      "date": "2026-06-03T09:23:14.000Z",
      "arch": "x86_64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "05a38d891702a435ebb74384fa96763c4022f68632e49c40e138ccfbe87bcd20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.51",
      "date": "2026-06-03T09:22:55.000Z",
      "arch": "x86_64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "c73a5726232c2c1b571b1997a095a0ed5eab3bd62ceb85563165c26052e7d9f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.51",
      "date": "2026-06-03T09:22:57.000Z",
      "arch": "x86_64",
      "commit": "ee723a5708c7e38eda45bdcfdce8422c8a262e55",
      "fileid": "a7225ec32bc1c600baf20f0e9888eeb4cbd17dc58e3c0e9ab3bf0ca8139fe4c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antiphon/actions/runs/26875482829"
    }
  ]
}