{
  "_id": "6ac650d9f511ae58c09a9fdd",
  "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-10-07 11:29:50 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/09c49cd34155c036ae97872d863a3f072161bad11260e63ffe1d39d77bb44e8c",
  "_filesize": 956372,
  "_sha256": "09c49cd34155c036ae97872d863a3f072161bad11260e63ffe1d39d77bb44e8c",
  "_expires": "2027-01-15T14:01:59.000Z",
  "_created": "2026-10-07T11:29:50.000Z",
  "_published": "2026-10-07T14:02:01.535Z",
  "_buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112769540324,
      "time": 213,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11479288423"
    },
    {
      "job": 112769540279,
      "time": 224,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11478988653"
    },
    {
      "job": 112769540293,
      "time": 200,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11479363457"
    },
    {
      "job": 112769540269,
      "time": 176,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11479253245"
    },
    {
      "job": 112769540260,
      "time": 147,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11486638113"
    },
    {
      "job": 112769540239,
      "time": 502,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11486542427"
    },
    {
      "job": 112769540649,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11486522949"
    },
    {
      "job": 112769540180,
      "time": 336,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11487070720"
    },
    {
      "job": 112768328068,
      "time": 194,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11479147819"
    },
    {
      "job": 112769540173,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11479428020"
    },
    {
      "job": 112769540309,
      "time": 430,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11478788694"
    },
    {
      "job": 112769540232,
      "time": 239,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11478868093"
    },
    {
      "job": 112769540212,
      "time": 213,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11478503340"
    },
    {
      "job": 112769540489,
      "time": 444,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11479269104"
    },
    {
      "job": 112769540285,
      "time": 191,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11478573299"
    }
  ],
  "_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": "resolute",
  "_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": "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",
    "followers": 60
  },
  "_downloads": {
    "count": 465,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparsegl"
  },
  "_devurl": "https://github.com/dajmcdon/sparsegl",
  "_pkgdown": "https://dajmcdon.github.io/sparsegl/",
  "_searchresults": 30,
  "_topics": [
    "fortran",
    "glibc"
  ],
  "_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/readme.html",
    "extra/readme.md",
    "extra/sparsegl.html",
    "LICENSE"
  ],
  "_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": "16-20260322-1ubuntu1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    },
    {
      "shlib": "libmvec",
      "package": "libc6",
      "headers": "libc6-dev",
      "source": "glibc",
      "version": "2.43-2ubuntu2.4",
      "name": "glibc",
      "homepage": "https://www.gnu.org/software/libc/libc.html",
      "description": "GNU C Library: Shared libraries"
    }
  ],
  "_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.360782689873281,
  "_indexed": true,
  "_nocasepkg": "sparsegl",
  "_universes": [
    "dajmcdon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:32:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/86d98deacf32b0008e8477b2ba709f3b55ac802bca3ff2e55397be4b8c14c49e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:32:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/b750632a30908fc6eaa219fddb1c668efe9bfc03c4e9d972bfceb418f67fe5da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:32:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/2e44d14f17c3b70b1d22019ff52c6e53b89162dd7b8681251080b461acd046d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:32:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/912ad4218512291d336c85fa851f7b61bcfccfdffdc95833d248213cbdbf7dca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-10-07T14:00:26.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/b733acc010902a7670bae2f8158b509453c16bc70051aad2d5b9f819ca4f5b07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-10-07T13:52:58.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/f1bc0ef30279e9d34736bcf256e67849be48387b57e570e5c5d7cbdf2b6eb564",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-10-07T13:57:21.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/f3650460e0ebb38062003f028503c614192bc74b39e5e134e7c3d9d1896c4d98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-10-07T13:46:41.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/847f6082f4910b92df2dcd04ff0de9c6291a32b3c00881ed3a5868c6b4114440",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:32:14.000Z",
      "arch": "emscripten",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/fe65a08699ebc416df35a7d2f1c99eee123b1408e2a30ac072de17bb89a56b94",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:34:51.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/beed9d323f3d838d65c72a91e3d92e154a9c7cc370ab884d8f315d29f3402e70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:31:23.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/5d65bb9bad6faf8c00150d3404d38b37ca46bed4cc1c42194c0b465cb2fb28d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:31:20.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/ae3b61f207a64bcdeec1bab04187ad6fe03c12121986b85296952133c1f828c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:35:21.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/02842bd3c8ef5c6eb7150bad40f2c8ae75ba00080d71029f9e8b4f8b0c64806d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-10-07T11:31:11.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/e2ea284848d3d2cad82dde0860a9f9c9e242814d940c108fe5081290a34c0ab0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/37614079489"
    }
  ]
}