{
  "_id": "6a4f72a921b18e1548501f06",
  "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-07-09 09:54:56 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/0bdac306f8c415c597f70a1e90c75d0bcbab44c54d691b84c17919f8ee385904",
  "_filesize": 960056,
  "_sha256": "0bdac306f8c415c597f70a1e90c75d0bcbab44c54d691b84c17919f8ee385904",
  "_expires": "2026-10-17T10:06:31.000Z",
  "_created": "2026-07-09T09:54:56.000Z",
  "_published": "2026-07-09T10:06:33.334Z",
  "_jobs": [
    {
      "job": 86090473152,
      "time": 232,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8195173397"
    },
    {
      "job": 86090473231,
      "time": 254,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8195181241"
    },
    {
      "job": 86090473289,
      "time": 230,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8195173200"
    },
    {
      "job": 86090473182,
      "time": 228,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8195171047"
    },
    {
      "job": 86090473215,
      "time": 311,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8195189843"
    },
    {
      "job": 86090473244,
      "time": 613,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8195313189"
    },
    {
      "job": 86090473206,
      "time": 235,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8195156079"
    },
    {
      "job": 86090473192,
      "time": 370,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8195216844"
    },
    {
      "job": 86089661130,
      "time": 253,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8195080451"
    },
    {
      "job": 86090473125,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8195135285"
    },
    {
      "job": 86090473188,
      "time": 268,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8195186805"
    },
    {
      "job": 86090473180,
      "time": 277,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8195191237"
    },
    {
      "job": 86090473187,
      "time": 241,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8195176236"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203",
  "_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": "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": "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",
    "followers": 59
  },
  "_downloads": {
    "count": 471,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparsegl"
  },
  "_devurl": "https://github.com/dajmcdon/sparsegl",
  "_pkgdown": "https://dajmcdon.github.io/sparsegl/",
  "_searchresults": 31,
  "_topics": [
    "fortran",
    "glibc"
  ],
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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": "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",
      "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.676053124651872,
  "_indexed": true,
  "_nocasepkg": "sparsegl",
  "_universes": [
    "dajmcdon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/b5fea15ff564fb84e6bd4521d873cccee57885ada8b840c947abc9b00a2f9668",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/b1eb2faf9bc2ba81fe757e7a52163b8d26bb7bbf33746e1cc957384cc90c6ef7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/2651a94b426cd5b8bef3e58f74cbc50a70ca62d84ce04e645c322fc81d9d2437",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/4a76ed6866a275a9084e8a1b67852cb7da719f09ab7a33768da1188e6162f1ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:58:07.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/1b0bd7ded05d45cbd9f3f6d092f1075574340d936df892169577dbc562dc206e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-07-09T10:01:40.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/01354f2d7c75b13f7672b059add544ee729f2e3ba47f4d91c848b24a91300035",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:11.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/58f6ae9a9f6f2f9b515cabe6a002c12960f257dcc2b6c332bb2d823d3f5f6a51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:58:35.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/1e1cd9d986aaf68aed5016971a89efa836e6f9ac37cd7bad5c39fa574ec87c98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:34.000Z",
      "arch": "emscripten",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/144d5fe97495b40fc320652c66f648d5066e65ae8d60b4757341822c805ac1b8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:28.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/9418c92ce2acbd6ec1ba22a33ebcce6e449901a50fbf0895269eaed78dc9ae69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:45.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/3f46149ee4c4e73ed65cfcb233d17df840a1ec0528e421ac3c713c30f9045692",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-07-09T09:57:16.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "https://r2.ropensci.org/09531acba44d87ca00cbae2e859020e3f50d396ebb0ec04fa174f3d00158d117",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/29009587203"
    }
  ]
}