{
  "_id": "6ac4c5e3f511ae58c09a120f",
  "Package": "sparsecommunity",
  "Title": "Spectral Community Detection for Sparse Networks",
  "Version": "0.1.1",
  "Authors@R": "person(\"Neil\", \"Hwang\", role = c(\"aut\", \"cre\"),\nemail = \"neil.hwang@bcc.cuny.edu\",\ncomment = c(ORCID = \"0000-0002-5175-9397\"))",
  "Description": "Implements spectral clustering algorithms for community\ndetection in sparse networks under the stochastic block model\n('SBM') and degree-corrected stochastic block model ('DCSBM'),\nfollowing the methods of Lei and Rinaldo (2015)\n<doi:10.1214/14-AOS1274>. Provides a regularized normalized\nLaplacian embedding, spherical k-median clustering for 'DCSBM',\nstandard k-means for 'SBM', simulation utilities for both\nmodels, and a misclustering rate evaluation metric. Also\nincludes the 'NCAA' college football network of Girvan and\nNewman (2002) <doi:10.1073/pnas.122653799> as a benchmark\ndataset, and the Bethe-Hessian community number estimator of\nHwang (2023) <doi:10.1080/01621459.2023.2223793>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-06 09:52:07 UTC",
    "User": "root"
  },
  "Author": "Neil Hwang [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5175-9397>)",
  "Maintainer": "Neil Hwang <neil.hwang@bcc.cuny.edu>",
  "Repository": "https://neil-sps.r-universe.dev",
  "Date/Publication": "2026-04-08 15:51:46 UTC",
  "RemoteUrl": "https://github.com/cran/sparsecommunity",
  "RemoteRef": "HEAD",
  "RemoteSha": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
  "_user": "neil-sps",
  "_type": "src",
  "_file": "sparsecommunity_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/401fff2339c8b62d9f0a0783d94087c7b839ebc4ba439eefebbbf0fd6085a4f4",
  "_filesize": 519740,
  "_sha256": "401fff2339c8b62d9f0a0783d94087c7b839ebc4ba439eefebbbf0fd6085a4f4",
  "_expires": "2027-01-14T09:56:50.000Z",
  "_created": "2026-10-06T09:52:07.000Z",
  "_published": "2026-10-06T09:56:51.829Z",
  "_jobs": [
    {
      "job": 112210697819,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11403271774"
    },
    {
      "job": 112210697570,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11403780594"
    },
    {
      "job": 112210697525,
      "time": 238,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11403810429"
    },
    {
      "job": 112210697610,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11403510851"
    },
    {
      "job": 112209374357,
      "time": 210,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11403218150"
    },
    {
      "job": 112210697566,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11403555570"
    },
    {
      "job": 112210697458,
      "time": 84,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11403465749"
    },
    {
      "job": 112210697564,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11403262475"
    },
    {
      "job": 112210697530,
      "time": 83,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11403014196"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165",
  "_status": "success",
  "_upstream": "https://github.com/cran/sparsecommunity",
  "_commit": {
    "id": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
    "author": "Neil Hwang <neil.hwang@bcc.cuny.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1775663506
  },
  "_maintainer": {
    "name": "Neil Hwang",
    "email": "neil.hwang@bcc.cuny.edu",
    "login": "neil-sps",
    "description": "",
    "uuid": 31450499,
    "orcid": "0000-0002-5175-9397"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "RSpectra",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "irlba",
      "role": "Suggests"
    },
    {
      "package": "clue",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "igraphdata",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-04-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "neil-sps",
      "count": 1,
      "uuid": 31450499
    }
  ],
  "_userbio": {
    "uuid": 31450499,
    "type": "user",
    "name": "neil-sps",
    "followers": 0
  },
  "_downloads": {
    "count": 373,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparsecommunity"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/sparsecommunity.html"
  ],
  "_realowner": "neil-sps",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-04-08"
    }
  ],
  "_exports": [
    "community_detect",
    "estimate_K",
    "misclustering_rate",
    "plot_scree",
    "simulate_dcsbm",
    "simulate_sbm"
  ],
  "_datasets": [
    {
      "name": "football_A",
      "title": "NCAA college football network",
      "object": "football",
      "class": [
        "dgCMatrix"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "football_labels",
      "title": "NCAA college football network",
      "object": "football",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "football_teams",
      "title": "NCAA college football network",
      "object": "football",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "community_detect",
      "title": "Spectral community detection for sparse networks",
      "topics": [
        "community_detect"
      ]
    },
    {
      "page": "estimate_K",
      "title": "Estimate the number of communities in a sparse network",
      "topics": [
        "estimate_K"
      ]
    },
    {
      "page": "football_A",
      "title": "NCAA college football network",
      "topics": [
        "football_A",
        "football_labels",
        "football_teams"
      ]
    },
    {
      "page": "misclustering_rate",
      "title": "Misclustering rate",
      "topics": [
        "misclustering_rate"
      ]
    },
    {
      "page": "plot_scree",
      "title": "Scree plot of regularized Laplacian eigenvalues",
      "topics": [
        "plot_scree"
      ]
    },
    {
      "page": "plot.sparsecommunity",
      "title": "Plot the spectral embedding of a community detection fit",
      "topics": [
        "plot.sparsecommunity"
      ]
    },
    {
      "page": "simulate_dcsbm",
      "title": "Simulate from a degree-corrected stochastic block model",
      "topics": [
        "simulate_dcsbm"
      ]
    },
    {
      "page": "simulate_sbm",
      "title": "Simulate from a stochastic block model",
      "topics": [
        "simulate_sbm"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "RSpectra"
  ],
  "_vignettes": [
    {
      "source": "sparsecommunity-intro.Rmd",
      "filename": "sparsecommunity-intro.html",
      "title": "Introduction to sparsecommunity",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "1. Stochastic block model (SBM)",
        "1.1 Simulating SBM data",
        "1.2 Fitting the SBM model",
        "1.3 Evaluating accuracy",
        "1.4 Examining the spectral embedding",
        "2. Degree-corrected stochastic block model (DCSBM)",
        "2.1 Simulating DCSBM data",
        "2.2 Why standard SBM clustering fails under degree heterogeneity",
        "2.3 Fitting the DCSBM model",
        "2.4 Embedding comparison",
        "3. Real-data example: Zachary's karate club",
        "4. Real-data example: NCAA college football (Girvan & Newman 2002)",
        "5. Summary of the community_detect() interface",
        "References"
      ],
      "created": "2026-04-08 15:51:46",
      "modified": "2026-04-08 15:51:46",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "sparsecommunity",
  "_universes": [
    "neil-sps"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-06T09:54:00.000Z",
      "distro": "resolute",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "https://r2.ropensci.org/ff3699661216afe82cc9c1068660880087e73b7a99ac5471afd118c97133e050",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-06T09:54:02.000Z",
      "distro": "resolute",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "https://r2.ropensci.org/4734aea1eb1e2513de7bdb495a2bce3e7ae0eefc829e4eb92a629e45ae6311ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-06T09:55:01.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "https://r2.ropensci.org/41be311cd0327e66c1c7b087595eb7e9968e0b3c5a51d331eb63611ae34826a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-06T09:54:38.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "https://r2.ropensci.org/c4baec2ab35332a659773285bdebe3c0478bdc56b4610fcfd4a6378a6cfacd29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-06T09:53:59.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "https://r2.ropensci.org/29fa2d1eff355c68fe796d26b5c7ebbbe0b66c9662d82dec6f3173cfdcaae57c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-06T09:53:16.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "https://r2.ropensci.org/11fa5fc108f6062a6311dfbca502bdce78f0bedf69ed7e6623879179944aa4d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-06T09:53:24.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "https://r2.ropensci.org/584eab0abb953fd2b47b273954348d65a30b6b6ea03ca6bb7b592edd3d3c2203",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-06T09:53:16.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "https://r2.ropensci.org/f8148ea93e2dcfa0beed0087d55fbed2565e278cca0b01e92bcab32bbd89dc54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/37445323165"
    }
  ]
}