{
  "_id": "6a3b27305cdecea1d680d1ce",
  "Package": "adj",
  "Title": "Lightweight Adjacency Lists",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(given = \"Christopher T.\",\nfamily = \"Kenny\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ctkenny@proton.me\",\ncomment = c(ORCID = \"0000-0002-9386-6860\")),\nperson(\"Cory\", \"McCartan\", , \"mccartan@psu.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-6251-669X\"))\n)",
  "Description": "Provides an S3 class to represent graph adjacency lists\nusing 'vctrs'. Allows for creation, subsetting, combining, and\npretty printing of these lists. Adjacency lists can be easily\nconverted to zero-indexed lists, which allows for easy passing\nof objects to low-level languages for processing.",
  "License": "MIT + file LICENSE",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "Config/build/compilation-database": "true",
  "Config/testthat/edition": "3",
  "URL": "https://alarm-redist.org/adj/, https://github.com/alarm-redist/adj",
  "Repository": "https://christopherkenny.r-universe.dev",
  "Date/Publication": "2026-02-18 01:15:49 UTC",
  "RemoteUrl": "https://github.com/alarm-redist/adj",
  "RemoteRef": "HEAD",
  "RemoteSha": "9ec03d873aedf47e217275113017b61bfe9adfce",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-24 00:34:54 UTC",
    "User": "root"
  },
  "Author": "Christopher T. Kenny [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9386-6860>),\nCory McCartan [aut] (ORCID: <https://orcid.org/0000-0002-6251-669X>)",
  "Maintainer": "Christopher T. Kenny <ctkenny@proton.me>",
  "MD5sum": "c7679a4ed9ec13bdcbcb71ef22c59169",
  "_user": "christopherkenny",
  "_type": "src",
  "_file": "adj_0.1.0.tar.gz",
  "_fileid": "3dbda554397451cdf4bbd4cd7cbf74e96e549381579b0e976b6cf1731337eb59",
  "_filesize": 148284,
  "_sha256": "3dbda554397451cdf4bbd4cd7cbf74e96e549381579b0e976b6cf1731337eb59",
  "_created": "2026-06-24T00:34:54.000Z",
  "_published": "2026-06-24T00:39:12.044Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83092814359,
      "time": 140,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7837162700"
    },
    {
      "job": 83092814379,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7837162541"
    },
    {
      "job": 83092814454,
      "time": 168,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7837169155"
    },
    {
      "job": 83092814364,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7837163164"
    },
    {
      "job": 83092814398,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7837150434"
    },
    {
      "job": 83092814395,
      "time": 226,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7837180952"
    },
    {
      "job": 83092814397,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7837150994"
    },
    {
      "job": 83092814399,
      "time": 208,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7837177838"
    },
    {
      "job": 83092510836,
      "time": 154,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7837125805"
    },
    {
      "job": 83092814333,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7837160243"
    },
    {
      "job": 83092814390,
      "time": 79,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7837146743"
    },
    {
      "job": 83092814383,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7837147753"
    },
    {
      "job": 83092814384,
      "time": 78,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7837146317"
    }
  ],
  "_buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/alarm-redist/adj",
  "_commit": {
    "id": "9ec03d873aedf47e217275113017b61bfe9adfce",
    "author": "Christopher Kenny <ctk44@cornell.edu>",
    "committer": "Christopher Kenny <ctk44@cornell.edu>",
    "message": "prep cran submission\n",
    "time": 1771377349
  },
  "_maintainer": {
    "name": "Christopher T. Kenny",
    "email": "ctkenny@proton.me",
    "orcid": "0000-0002-9386-6860"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "version": ">= 0.6.5",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Suggests"
    },
    {
      "package": "geos",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "pillar",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "alarm-redist",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 24
    },
    {
      "week": "2025-48",
      "n": 3
    },
    {
      "week": "2025-49",
      "n": 28
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 3
    },
    {
      "week": "2026-08",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "corymccartan",
      "count": 49,
      "uuid": 2958471
    },
    {
      "user": "christopherkenny",
      "count": 28,
      "uuid": 28026893
    }
  ],
  "_userbio": {
    "uuid": 28026893,
    "type": "user",
    "name": "Christopher T. Kenny",
    "followers": 148,
    "description": "Postdoc @princeton-ddss.\r\nRedistricting and rstats.  \r\n\r\nHarvard Government PhD '25.   \r\nCornell '19."
  },
  "_downloads": {
    "count": 251,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/adj"
  },
  "_devurl": "https://github.com/alarm-redist/adj",
  "_pkgdown": "https://alarm-redist.org/adj/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/adj.html",
    "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",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/alarm-redist/adj",
  "_realowner": "alarm-redist",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-02-20"
    }
  ],
  "_exports": [
    "adj",
    "adj_add_edges",
    "adj_color",
    "adj_from_matrix",
    "adj_from_shp",
    "adj_laplacian",
    "adj_quotient",
    "adj_quotient_int",
    "adj_subtract_edges",
    "adj_to_list",
    "adj_zero_index",
    "as_adj",
    "is_adj",
    "vec_cast.adj"
  ],
  "_datasets": [
    {
      "name": "konigsberg",
      "title": "The Seven Bridges of Königsberg",
      "object": "konigsberg",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "area",
        "bridge_to",
        "x",
        "y"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adj",
      "title": "Create an adjacency list",
      "topics": [
        "adj",
        "adj_to_list",
        "as_adj",
        "is_adj"
      ]
    },
    {
      "page": "adj_color",
      "title": "Find a coloring of an adjacency list",
      "topics": [
        "adj_color"
      ]
    },
    {
      "page": "adj_edges",
      "title": "Add and subtract edges from an adjacency list",
      "topics": [
        "adj_add_edges",
        "adj_edges",
        "adj_subtract_edges"
      ]
    },
    {
      "page": "adj_from_shp",
      "title": "Create an 'adj' list from a set of spatial polygons",
      "topics": [
        "adj_from_shp"
      ]
    },
    {
      "page": "adj_indexing",
      "title": "Indexing operations on adjacency lists",
      "topics": [
        "adj_indexing",
        "c.adj",
        "[.adj"
      ]
    },
    {
      "page": "adj_laplacian",
      "title": "Compute the Laplacian matrix of an adjacency list",
      "topics": [
        "adj_laplacian"
      ]
    },
    {
      "page": "adj_matrix",
      "title": "Convert adjacency lists to and from adjacency matrices",
      "topics": [
        "adj_from_matrix",
        "adj_matrix",
        "as.matrix.adj"
      ]
    },
    {
      "page": "adj_quotient",
      "title": "Quotient an adjacency list by a vector",
      "topics": [
        "adj_quotient",
        "adj_quotient_int"
      ]
    },
    {
      "page": "adj_zero_index",
      "title": "Convert adjacency list to use zero-based indices",
      "topics": [
        "adj_zero_index"
      ]
    },
    {
      "page": "format.adj",
      "title": "Format and print methods for adjacency lists",
      "topics": [
        "format.adj",
        "print.adj"
      ]
    },
    {
      "page": "konigsberg",
      "title": "The Seven Bridges of Königsberg",
      "topics": [
        "konigsberg"
      ]
    },
    {
      "page": "plot.adj",
      "title": "Basic plotting for adjacency lists",
      "topics": [
        "plot.adj"
      ]
    },
    {
      "page": "t.adj",
      "title": "Transpose an adjacency list",
      "topics": [
        "t.adj"
      ]
    }
  ],
  "_pkglogo": "https://github.com/alarm-redist/adj/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/alarm-redist/adj/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "glue",
    "lifecycle",
    "rlang",
    "vctrs"
  ],
  "_score": 4.021189299069938,
  "_indexed": false,
  "_nocasepkg": "adj",
  "_universes": [
    "christopherkenny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-24T00:37:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "c9881159cf46d6467794c3394a5bf0c3ed74158cdf884ebdbff3d3f9de334e87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-24T00:37:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "35f1851ec58289010d7748b16bcdc6218f4382b45f2422d1d66119a54159ae5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-24T00:37:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "a1fecc9ba8ece279cdbcb2051dff715c0625f451f6ca502cf018f04b6419e39f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-24T00:37:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "a315d4c5e26d8c455b47c0f95b97b3a7cd0a87e5cad230db03adf3a72c272436",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-24T00:36:25.000Z",
      "arch": "aarch64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "cf048c43f5fcc5e109b11e26010df010f6eca49ae1589bfe172b8e909c5db355",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-24T00:38:02.000Z",
      "arch": "x86_64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "eb9e44abbde0eac80b31c7669f095f3ecfe2cb7c85b769173ab80a4fc68c66ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-24T00:36:33.000Z",
      "arch": "aarch64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "4d04045917abcb36195b13a68b1f139c03e8d7921e159e3d657c29d9b785c8ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-24T00:38:01.000Z",
      "arch": "x86_64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "95b8d7e413a86c08b49c310d75184f55d5c7fe61d42e85a7e722439072ae79c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-24T00:37:26.000Z",
      "arch": "emscripten",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "8eaa6c9585741f6dffce430515f2d5c2d1d950689d334bb058fe7e528f69013e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-24T00:36:09.000Z",
      "arch": "x86_64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "b5d61874b375dc4534e1ad413c8ab9135e04c388645a74b87def31ccfbe2e6b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-24T00:36:01.000Z",
      "arch": "x86_64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "28f8dfd2d50f9dbf342bb5677c9bea7deb4274f1ed28f7ce09b5a989c8ddbdbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-24T00:36:04.000Z",
      "arch": "x86_64",
      "commit": "9ec03d873aedf47e217275113017b61bfe9adfce",
      "fileid": "c7ea4e6990a046eb6bbd9bd87d10537434bf8106c114f434910b5268f9e6bfaa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/christopherkenny/actions/runs/28066698223"
    }
  ]
}