{
  "_id": "6a4a22ae8f3d752091bd5c44",
  "Type": "Package",
  "Package": "sparsegl",
  "Title": "Sparse Group Lasso",
  "Version": "1.1.1.9002",
  "Authors@R": "c(\nperson(\"Daniel J.\", \"McDonald\", , \"daniel@stat.ubc.ca\", role = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Xiaoxuan\", \"Liang\", , \"xiaoxuan.liang@stat.ubc.ca\", role = \"aut\"),\nperson(\"Anibal\", \"Solón Heinsfeld\", , \"anibalsolon@gmail.com\", role = \"aut\"),\nperson(\"Aaron\", \"Cohen\", , \"cohenaa@indiana.edu\", role = \"aut\"),\nperson(\"Yi\", \"Yang\", , \"yi.yang6@mcgill.ca\", role = \"ctb\"),\nperson(\"Hui\", \"Zou\", role = \"ctb\"),\nperson(\"Jerome\", \"Friedman\", role = \"ctb\"),\nperson(\"Trevor\", \"Hastie\", role = \"ctb\"),\nperson(\"Rob\", \"Tibshirani\", role = \"ctb\"),\nperson(\"Balasubramanian\", \"Narasimhan\", role = \"ctb\"),\nperson(\"Kenneth\", \"Tay\", role = \"ctb\"),\nperson(\"Noah\", \"Simon\", role = \"ctb\"),\nperson(\"Junyang\", \"Qian\", role = \"ctb\"),\nperson(\"James\", \"Yang\", role = \"ctb\")\n)",
  "Description": "Efficient implementation of sparse group lasso with\noptional bound constraints on the coefficients; see Liang, et\nal., (2024) <doi:10.18637/jss.v110.i06>.  It supports the use\nof a sparse design matrix as well as returning coefficient\nestimates in a sparse matrix. Furthermore, it correctly\ncalculates the degrees of freedom to allow for information\ncriteria rather than cross-validation with very large data.\nFinally, the interface to compiled code avoids unnecessary\ncopies and allows for the use of long integers.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/dajmcdon/sparsegl,\nhttps://dajmcdon.github.io/sparsegl/",
  "BugReports": "https://github.com/dajmcdon/sparsegl/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://dajmcdon.r-universe.dev",
  "Date/Publication": "2026-01-10 00:06:30 UTC",
  "RemoteUrl": "https://github.com/dajmcdon/sparsegl",
  "RemoteRef": "HEAD",
  "RemoteSha": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
  "Packaged": {
    "Date": "2026-06-09 10:07:15 UTC",
    "User": "root"
  },
  "Author": "Daniel J. McDonald [aut, cre, cph],\nXiaoxuan Liang [aut],\nAnibal Solón Heinsfeld [aut],\nAaron Cohen [aut],\nYi Yang [ctb],\nHui Zou [ctb],\nJerome Friedman [ctb],\nTrevor Hastie [ctb],\nRob Tibshirani [ctb],\nBalasubramanian Narasimhan [ctb],\nKenneth Tay [ctb],\nNoah Simon [ctb],\nJunyang Qian [ctb],\nJames Yang [ctb]",
  "Maintainer": "Daniel J. McDonald <daniel@stat.ubc.ca>",
  "_user": "dajmcdon",
  "_type": "src",
  "_file": "sparsegl_1.1.1.9002.tar.gz",
  "_fileid": "https://r2.ropensci.org/51a697ce9e61d101f878358f6881bb3cbcaf0562f988750b5040f95f16e8d87c",
  "_filesize": 956606,
  "_sha256": "51a697ce9e61d101f878358f6881bb3cbcaf0562f988750b5040f95f16e8d87c",
  "_expires": "2026-10-13T09:23:56.000Z",
  "_created": "2026-06-09T10:07:15.000Z",
  "_published": "2026-07-05T09:23:58.786Z",
  "_jobs": [
    {
      "job": 85210549535,
      "time": 217,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7504676671"
    },
    {
      "job": 85210549525,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7504672081"
    },
    {
      "job": 85210549532,
      "time": 201,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7504670180"
    },
    {
      "job": 85210549586,
      "time": 194,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7504666169"
    },
    {
      "job": 85210549460,
      "time": 236,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7504667767"
    },
    {
      "job": 85210549582,
      "time": 993,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7504930735"
    },
    {
      "job": 85210549534,
      "time": 169,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7504650680"
    },
    {
      "job": 85210549490,
      "time": 430,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7504738864"
    },
    {
      "job": 85210549223,
      "time": 210,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7504595118"
    },
    {
      "job": 85210549368,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7504639163"
    },
    {
      "job": 85210549381,
      "time": 191,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7504664811"
    },
    {
      "job": 85210549564,
      "time": 170,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7504657670"
    },
    {
      "job": 85210549402,
      "time": 176,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7504659572"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039",
  "_status": "success",
  "_upstream": "https://github.com/dajmcdon/sparsegl",
  "_commit": {
    "id": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
    "author": "Daniel McDonald <dajmcdon@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #60 from dajmcdon/59-unsorted-group-does-not-throw-an-error\n\n59 unsorted group does not throw an error",
    "time": 1768003590
  },
  "_maintainer": {
    "name": "Daniel J. McDonald",
    "email": "daniel@stat.ubc.ca",
    "login": "dajmcdon",
    "description": "",
    "uuid": 20528078
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dotCall64",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "RSpectra",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "gglasso",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "splines",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "dajmcdon",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-24",
      "n": 2
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 17,
  "_contributors": [
    {
      "user": "dajmcdon",
      "count": 258,
      "uuid": 20528078
    },
    {
      "user": "xiaoxuan1121",
      "count": 84,
      "uuid": 48426929
    },
    {
      "user": "acohen237",
      "count": 28,
      "uuid": 54781997
    },
    {
      "user": "anibalsolon",
      "count": 5,
      "uuid": 562525
    }
  ],
  "_userbio": {
    "uuid": 20528078,
    "type": "user",
    "name": "Daniel McDonald"
  },
  "_downloads": {
    "count": 867,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparsegl"
  },
  "_devurl": "https://github.com/dajmcdon/sparsegl",
  "_pkgdown": "https://dajmcdon.github.io/sparsegl/",
  "_searchresults": 28,
  "_topics": [
    "fortran"
  ],
  "_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/readme.html",
    "extra/readme.md",
    "extra/sparsegl.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dajmcdon/sparsegl",
  "_realowner": "dajmcdon",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2022-03-07"
    },
    {
      "version": "0.4.0",
      "date": "2022-09-05"
    },
    {
      "version": "0.5.0",
      "date": "2022-09-22"
    },
    {
      "version": "1.0.0",
      "date": "2022-11-29"
    },
    {
      "version": "1.0.1",
      "date": "2023-01-27"
    },
    {
      "version": "1.0.2",
      "date": "2023-09-25"
    },
    {
      "version": "1.1.0",
      "date": "2024-06-26"
    },
    {
      "version": "1.1.1",
      "date": "2024-08-26"
    }
  ],
  "_exports": [
    "cv.sparsegl",
    "estimate_risk",
    "gr_one_norm",
    "gr_two_norm",
    "grouped_one_norm",
    "grouped_sp_norm",
    "grouped_two_norm",
    "grouped_zero_norm",
    "make_irls_warmup",
    "one_norm",
    "sp_group_norm",
    "sparsegl",
    "two_norm",
    "zero_norm"
  ],
  "_datasets": [
    {
      "name": "trust_experts",
      "title": "Trust in scientific experts during the Covid-19 pandemic",
      "object": "trust_experts",
      "class": [
        "data.frame"
      ],
      "fields": [
        "region",
        "age",
        "gender",
        "raceethnicity",
        "cli",
        "hh_cmnty_cli",
        "period",
        "trust_experts"
      ],
      "rows": 9759,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.cv.sparsegl",
      "title": "Extract coefficients from a 'cv.sparsegl' object.",
      "topics": [
        "coef.cv.sparsegl"
      ]
    },
    {
      "page": "coef.sparsegl",
      "title": "Extract model coefficients from a 'sparsegl' object.",
      "topics": [
        "coef.sparsegl"
      ]
    },
    {
      "page": "cv.sparsegl",
      "title": "Cross-validation for a 'sparsegl' object.",
      "topics": [
        "cv.sparsegl"
      ]
    },
    {
      "page": "estimate_risk",
      "title": "Calculate information criteria.",
      "topics": [
        "estimate_risk"
      ]
    },
    {
      "page": "make_irls_warmup",
      "title": "Create starting values for iterative reweighted least squares",
      "topics": [
        "make_irls_warmup"
      ]
    },
    {
      "page": "plot.cv.sparsegl",
      "title": "Plot cross-validation curves produced from a 'cv.sparsegl' object.",
      "topics": [
        "plot.cv.sparsegl"
      ]
    },
    {
      "page": "plot.sparsegl",
      "title": "Plot solution paths from a 'sparsegl' object.",
      "topics": [
        "plot.sparsegl"
      ]
    },
    {
      "page": "predict.cv.sparsegl",
      "title": "Make predictions from a 'cv.sparsegl' object.",
      "topics": [
        "predict.cv.sparsegl"
      ]
    },
    {
      "page": "predict.sparsegl",
      "title": "Make predictions from a 'sparsegl' object.",
      "topics": [
        "predict.sparsegl"
      ]
    },
    {
      "page": "sparsegl",
      "title": "Regularization paths for sparse group-lasso models",
      "topics": [
        "sparsegl"
      ]
    },
    {
      "page": "trust_experts",
      "title": "Trust in scientific experts during the Covid-19 pandemic",
      "topics": [
        "trust_experts"
      ]
    },
    {
      "page": "grouped_sp_norm",
      "title": "Calculate common norms",
      "topics": [
        "grouped_one_norm",
        "grouped_sp_norm",
        "grouped_two_norm",
        "grouped_zero_norm",
        "gr_one_norm",
        "gr_two_norm",
        "one_norm",
        "sp_group_norm",
        "two_norm",
        "zero_norm"
      ]
    }
  ],
  "_pkglogo": "https://github.com/dajmcdon/sparsegl/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/dajmcdon/sparsegl/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dotCall64",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "RSpectra",
    "S7",
    "scales",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    }
  ],
  "_vignettes": [
    {
      "source": "sparsegl.Rmd",
      "filename": "sparsegl.html",
      "title": "Getting started with sparsegl",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installing",
        "sparsegl()",
        "Plotting sparsegl objects",
        "cv.sparsegl()",
        "Methods",
        "estimate_risk()",
        "References"
      ],
      "created": "2021-06-09 23:43:53",
      "modified": "2025-06-10 22:55:18",
      "commits": 17
    }
  ],
  "_score": 6.8079407212155,
  "_indexed": true,
  "_nocasepkg": "sparsegl",
  "_universes": [
    "dajmcdon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:09:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/d91032408146cae64f9ae35c5728f8aa81402e6eeb030737d10c53b0dbb6c1d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:09:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/b00751a38513fce617778202a0197bbc393df698459a8c561d9c41b9f893a0bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:09:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/d317f24602f93bac901bc392f116cdb08a8daf935a9d927cde74d77fc00b0249",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:09:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/2ee2fb53003f2eb356acc52deec87cc920a8777f7c45e9a1227b96bfb5a0be74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:09:49.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/3004e9f978f92ee0f482a0710c6a606460dd5381aae080407d06e25c3219197e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:15:33.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/e54e0a7ab82cd1ff23c8943d9f2d9ced561661a0e8ef2cf7b50c7cb5c927cab4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:09:11.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/7e5de6d8c95c46f243e669f8c891e57c3bbad4c5d8c01d6e3d1609275d0e02e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:10:55.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/72b65531d1b580f33d1705bb9ff0a77caa9c2410f35c33917b308d0fdca3bc87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:09:33.000Z",
      "arch": "emscripten",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/86e167cbe33844fb4c3374005be67ce0b4b24ab3f0a7683e48f3ad4d6899c0cd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:08:43.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/0b54c396c2c76219b8fdc1a93e974b53a2655bd83a3ed94ae84e63ead7e38ca5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:08:44.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/5d875c9273673995a0af2797fc3678e37269ba516d2b8b825ae98a685ec47ef6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-06-09T10:08:49.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/8a7ddc0148bbf8c0820b2ab0c3b5f1f57cfd37d4f31ef5caaadbb0ec5c85de58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/27198784039"
    }
  ]
}