{
  "_id": "6a1050c6acfb0bcc41ca124b",
  "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-05-10 05:23:44 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>",
  "MD5sum": "a82d3b11ff5f4b522a9a86f914fee480",
  "_user": "dajmcdon",
  "_type": "src",
  "_file": "sparsegl_1.1.1.9002.tar.gz",
  "_fileid": "65e7d0eecea058fabbd4625b6598e0c8c93eb8ceceba9fc6eb787b151b1d7055",
  "_filesize": 959601,
  "_sha256": "65e7d0eecea058fabbd4625b6598e0c8c93eb8ceceba9fc6eb787b151b1d7055",
  "_created": "2026-05-10T05:23:44.000Z",
  "_published": "2026-05-22T12:49:10.733Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77382566555,
      "time": 204,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6901212890"
    },
    {
      "job": 77382566427,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6901211922"
    },
    {
      "job": 77382566401,
      "time": 199,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901212371"
    },
    {
      "job": 77382566364,
      "time": 214,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901214021"
    },
    {
      "job": 77382566484,
      "time": 178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6901208402"
    },
    {
      "job": 77382567008,
      "time": 376,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6901228337"
    },
    {
      "job": 77382566374,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901209426"
    },
    {
      "job": 77382566599,
      "time": 372,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901227595"
    },
    {
      "job": 77382565749,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901192340"
    },
    {
      "job": 77382565662,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160857725"
    },
    {
      "job": 77382566516,
      "time": 206,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6901213132"
    },
    {
      "job": 77382566749,
      "time": 194,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6901211909"
    },
    {
      "job": 77382566929,
      "time": 206,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901213099"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 20528078
  },
  "_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": 356,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sparsegl"
  },
  "_devurl": "https://github.com/dajmcdon/sparsegl",
  "_pkgdown": "https://dajmcdon.github.io/sparsegl/",
  "_searchresults": 29,
  "_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.823180687772236,
  "_indexed": true,
  "_nocasepkg": "sparsegl",
  "_universes": [
    "dajmcdon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "6ab4398eef6ce64c3294f8185fd1cbff0eda102c521aa81ebfc98decc2b0ff28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:42.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "68ccfb4a515cb50628e4a556d253e4852b53146dbb69196070a5e12de4372c69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "02a7c324ed847970fc743d48ec52d325fb11b3b34b6470038efe1ab984cccc96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "794429b8caa6f4337ba208c6ee229db6496fd7473a1e681cef181464e6f3abfe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:49.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "7e6b415a73d605828d1ddd647deb835f2fe7cbf66d0b3baad6714bc16dc8dd4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:27:38.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "2f594c036e2333d73aea9b2cd35afafbae4af0d6f72d3589046c2890acc88085",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:48.000Z",
      "arch": "aarch64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "38e6b42915e39371d18bf3141cd682f6dc0fbecba67b1998b2daca3c43669970",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:27:34.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "dd404b1c06cc7de38b8bae4753b8386b8da71b09b45fc6e1d79467dc2efa2767",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:16.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "3104c986272202797dfcae8d11a8e99b29f76cba05d2aefa945b643921be7a7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:15.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "e717cb77ceb9d3acdf38ffb6c9765a2edb3a0dd8aae8bf6a8a9d7bd16360763d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1.9002",
      "date": "2026-05-10T05:25:20.000Z",
      "arch": "x86_64",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "ec44004d06914868d55647d5e421492c2dc62b59c0749520d5b372247125f8fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1.9002",
      "date": "2026-05-22T12:48:45.000Z",
      "arch": "emscripten",
      "commit": "3e7c6ebb8442c532e687b498d2e1aa4a817eb457",
      "fileid": "8a7030d3ac07b63ec6c6b03d328bf6fd3ce973b700279cfd58426e8be84a2c3c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/25620654372"
    }
  ]
}