{
  "_id": "6a268a9924555f66ed51ab84",
  "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-06-08 09:21:27 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",
  "MD5sum": "9aab19a1fc81c29cd34cebd824ac29a9",
  "_user": "neil-sps",
  "_type": "src",
  "_file": "sparsecommunity_0.1.1.tar.gz",
  "_fileid": "bf95072e0b8984fae4c1ddfcfea663517a742af08b5f248571f7457d8b7444d7",
  "_filesize": 518607,
  "_sha256": "bf95072e0b8984fae4c1ddfcfea663517a742af08b5f248571f7457d8b7444d7",
  "_created": "2026-06-08T09:21:27.000Z",
  "_published": "2026-06-08T09:25:45.419Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80061676766,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7476216438"
    },
    {
      "job": 80061676656,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476220423"
    },
    {
      "job": 80061676636,
      "time": 213,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7476230855"
    },
    {
      "job": 80061676594,
      "time": 201,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476222738"
    },
    {
      "job": 80061092563,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476161262"
    },
    {
      "job": 80061676648,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476208232"
    },
    {
      "job": 80061676649,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7476204294"
    },
    {
      "job": 80061676596,
      "time": 101,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7476202069"
    },
    {
      "job": 80061676690,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476199317"
    }
  ],
  "_buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 457,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparsecommunity"
  },
  "_searchresults": 0,
  "_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/sparsecommunity.html",
    "manual.pdf"
  ],
  "_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-06-08T09:23:32.000Z",
      "distro": "noble",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "d8d335010101a2c117a9008b15c5a2d4a33d25f3aceb7b02470e3e1e2eae6e93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-08T09:23:44.000Z",
      "distro": "noble",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "de4cc9bd6174210815ad7ef780c8d506371eb179770f03203f4ebf931c2eba26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-08T09:24:13.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "0909c757b6fad8e023b3d8e09413356471fd165c14f1ec95e315816778cc4a7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-08T09:23:49.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "15d6d4bf6bc64e155612dc7c50e2f5de26aa9ac87bdbadba72b86712d957972e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-08T09:23:41.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "9bd1d170bc804a1cced4235b66cdbcda55d58b62559619aa0917d933ff7ce134",
      "status": "success",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-08T09:23:07.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "fc6df8fe489c43dd3c88ef4fcf76f1742e6b33d3c1c699beadf8a7f8209a6eee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-08T09:22:46.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "0cb4a2db06ca39fe6915aacbfa732aa842ebab74b50b7ecf37ece59704f3b5b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-08T09:22:45.000Z",
      "commit": "8c100c579a6138f61057bb67ef3a21aa4d125c15",
      "fileid": "14a82a01befb40570142c83255b7c1fbfbcacd4109b4a2f9963a449ac95c8e62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/neil-sps/actions/runs/27127734930"
    }
  ]
}