{
  "_id": "6a3a527f6265ec60d620f0a8",
  "Package": "fbrglm",
  "Title": "Safe Formula-Based Regularized Generalized Linear Models",
  "Version": "0.0.1",
  "Authors@R": "person(given = \"Koki\",\nfamily = \"Tsuyuzaki\",\nrole = c(\"aut\", \"cre\"),\nemail = \"k.t.the-answer@hotmail.co.jp\")",
  "Description": "A formula-based wrapper around 'glmnet' that brings the\n'glm()'-compatible modeling workflow to regularized generalized\nlinear models. Training-time 'terms', 'xlevels', and\n'contrasts' are stored on the fit object and reused at predict\ntime, so the design matrix is reconstructed consistently across\nsessions. Complete-case bookkeeping is exposed via 'nobs_info',\nand linearly dependent columns are detected by a QR pivot and\nreported as 'NA' in 'coef()' and 'summary()' (the\n'stats::glm()' convention), distinguishing \"not identifiable\"\nfrom \"shrunk to zero by the penalty\". Novel factor levels at\npredict time raise the same error 'stats::predict.glm()' does\nby default, with 'on_new_levels = \"na\"' as a production-style\nopt-in. Accepts character family strings ('gaussian',\n'binomial', 'poisson', 'cox', 'multinomial', 'mgaussian') and\nany 'glm' family object the underlying 'glmnet' itself accepts,\nincluding 'Gamma' and fixed-theta negative binomial via\n'MASS::negative.binomial'.",
  "URL": "https://github.com/dsc-chiba-u/fbrglm",
  "BugReports": "https://github.com/dsc-chiba-u/fbrglm/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://dsc-chiba-u.r-universe.dev",
  "Date/Publication": "2026-06-23 00:11:01 UTC",
  "RemoteUrl": "https://github.com/dsc-chiba-u/fbrglm",
  "RemoteRef": "HEAD",
  "RemoteSha": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-23 09:28:34 UTC",
    "User": "root"
  },
  "Author": "Koki Tsuyuzaki [aut, cre]",
  "Maintainer": "Koki Tsuyuzaki <k.t.the-answer@hotmail.co.jp>",
  "MD5sum": "74a40a6e0d8e1b834ea0474c9a17439d",
  "_user": "dsc-chiba-u",
  "_type": "src",
  "_file": "fbrglm_0.0.1.tar.gz",
  "_fileid": "89c939421b16b9f70dafa82c3bb7f739f5ee637c6eccdbc55858f0d57c121fdd",
  "_filesize": 144648,
  "_sha256": "89c939421b16b9f70dafa82c3bb7f739f5ee637c6eccdbc55858f0d57c121fdd",
  "_created": "2026-06-23T09:28:34.000Z",
  "_published": "2026-06-23T09:31:43.639Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82921661673,
      "time": 105,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7816849957"
    },
    {
      "job": 82921661628,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816857198"
    },
    {
      "job": 82921661655,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7816858988"
    },
    {
      "job": 82921661671,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816849023"
    },
    {
      "job": 82920946048,
      "time": 221,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816804856"
    },
    {
      "job": 82921661652,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816850654"
    },
    {
      "job": 82921661686,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7816842119"
    },
    {
      "job": 82921661669,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7816840656"
    },
    {
      "job": 82921661617,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816835321"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dsc-chiba-u/fbrglm",
  "_commit": {
    "id": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
    "author": "kokitsuyuzaki <k.t.the-answer@hotmail.co.jp>",
    "committer": "kokitsuyuzaki <k.t.the-answer@hotmail.co.jp>",
    "message": "Fix small JSS PDF layout issues across body, tables, and pre-substitution\n\nCo-author feedback on the rendered JSS PDF surfaced a cluster of\nsmall layout problems. They are addressed in three groups, all\nwithout changing the html_document build.\n\n  Rmd source edits:\n    - Drop italics on \"two\" in the interaction-narrowing paragraph;\n      the contrast with \"not one\" already provides emphasis.\n    - Replace the informal \"a la MASS::glm.nb\" caveat in Table 2\n      with \"fixed theta only; joint theta is out of scope\".\n    - Shorten Table 2's longest cells so the .jss_kable resizebox\n      no longer has to scale the whole table down to an unreadable\n      font size: the Cox caveat becomes \"no baseline hazard;\n      strata / ties experimental\", the Cox predict-output cell\n      becomes \"vector (relative-risk scale)\", and multinomial /\n      mgaussian \"coef() returns a list (one matrix per ...)\" cells\n      lose the redundant \"matrix\" word.\n    - Reflow the Replication-section \"The pipeline produces:\"\n      bullet list and the surrounding \"scripts/20_plot...\" prose so\n      no inline-code path runs past the right margin.\n\n  render_jss_pdf.R substitutions:\n    - Pre-substitute \"|Δ|\" -> \"|Delta|\" before the global Δ pass.\n      The Δ in `max |Δ| = 0` lived inside backticks, so the global\n      Δ -> \\texorpdfstring{$\\Delta$}{Delta} substitution leaked the\n      raw macro text into the rendered \\texttt{...} cell where the\n      math switch never fired. The targeted pre-replace keeps the\n      inline-code form reading naturally as \"max |Delta| = 0\".\n\n  render_jss_pdf.R preamble:\n    - Inject \\setlength{\\emergencystretch}{3em} so paragraphs that\n      contain a long unbreakable inline `code/path/name.R` are\n      allowed to add extra inter-word space rather than overflowing\n      the right margin.\n\nCo-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>\n",
    "time": 1782173461
  },
  "_maintainer": {
    "name": "Koki Tsuyuzaki",
    "email": "k.t.the-answer@hotmail.co.jp",
    "login": "kokitsuyuzaki",
    "description": "",
    "uuid": 2173745
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    }
  ],
  "_owner": "dsc-chiba-u",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 39
    },
    {
      "week": "2026-25",
      "n": 6
    },
    {
      "week": "2026-26",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kokitsuyuzaki",
      "count": 47,
      "uuid": 2173745
    }
  ],
  "_userbio": {
    "uuid": 180934030,
    "type": "organization",
    "name": "Data Science Core",
    "followers": 2
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fbrglm"
  },
  "_devurl": "https://github.com/dsc-chiba-u/fbrglm",
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fbrglm.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dsc-chiba-u/fbrglm",
  "_realowner": "dsc-chiba-u",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2026-06-22"
    }
  ],
  "_exports": [
    "as_cv_glmnet",
    "as_glmnet",
    "fbrglm"
  ],
  "_help": [
    {
      "page": "as_cv_glmnet",
      "title": "Extract the Underlying cv.glmnet Fit",
      "topics": [
        "as_cv_glmnet"
      ]
    },
    {
      "page": "as_glmnet",
      "title": "Extract the Underlying glmnet Fit",
      "topics": [
        "as_glmnet"
      ]
    },
    {
      "page": "fbrglm",
      "title": "Fit a Formula-Based Regularized GLM",
      "topics": [
        "coef.fbrglm",
        "fbrglm",
        "nobs.fbrglm",
        "plot.fbrglm",
        "predict.fbrglm",
        "print.fbrglm",
        "print.summary.fbrglm",
        "summary.fbrglm"
      ]
    }
  ],
  "_readme": "https://github.com/dsc-chiba-u/fbrglm/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "foreach",
    "glmnet",
    "iterators",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "shape",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "fbrglm-families.Rmd",
      "filename": "fbrglm-families.html",
      "title": "Families and model types in fbrglm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Summary of supported model types",
        "Linear regression",
        "Logistic regression",
        "Poisson regression with an offset",
        "Piecewise exponential survival model via Poisson regression",
        "Native Cox regression",
        "Gamma regression",
        "Negative binomial regression (fixed θ)",
        "Multinomial regression (experimental)",
        "Multi-response Gaussian (experimental)",
        "Limitations"
      ],
      "created": "2026-06-09 07:10:40",
      "modified": "2026-06-09 07:28:30",
      "commits": 2
    },
    {
      "source": "fbrglm.Rmd",
      "filename": "fbrglm.html",
      "title": "Getting started with fbrglm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What fbrglm is for",
        "A small binomial example",
        "Choosing lambda",
        "Factor predictors",
        "Missing values",
        "Offsets",
        "Reaching the underlying glmnet objects",
        "Limitations (intentional)"
      ],
      "created": "2026-06-09 03:42:48",
      "modified": "2026-06-09 03:55:24",
      "commits": 3
    }
  ],
  "_score": 4.623249290397901,
  "_indexed": true,
  "_nocasepkg": "fbrglm",
  "_universes": [
    "dsc-chiba-u",
    "kokitsuyuzaki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-23T09:30:26.000Z",
      "distro": "noble",
      "commit": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
      "fileid": "1136a31c69e5cae2b8154c16c453bfa941fc7d9e78e5e7b360ebaf92dc428c7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-23T09:30:41.000Z",
      "distro": "noble",
      "commit": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
      "fileid": "25f4bdd0f982aca9e865c8d50655a989e27e5a4c13ea50080eda0a916ca1ea76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-23T09:30:48.000Z",
      "commit": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
      "fileid": "11427415f3fe4f9afa7f9d76db0c7573defb01589d74cb24f6e114c77ac5299e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-23T09:30:23.000Z",
      "commit": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
      "fileid": "fbcff60e6e64ed4eea62c6979eb07d971381a7808b9db8801de17a64d7b0db24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-06-23T09:30:40.000Z",
      "commit": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
      "fileid": "93cd367226bb99c73010f3eee601e3e85da46d4c16f1e044a8310d3a3c0fd6ab",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-23T09:30:03.000Z",
      "commit": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
      "fileid": "482726fbb632521862c9cbab56df18492bb498dbfdfe1e68ec3659c6ee7ab2e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-23T09:29:59.000Z",
      "commit": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
      "fileid": "f3550afec03791f49a5523889c9461fb4a84f8bd18939adb43fa7221a43a6f96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-23T09:29:46.000Z",
      "commit": "f11522f75ee3d06d0ae0ab9c13cb70164f70157c",
      "fileid": "9833e32d4d15dbcb0be532b283e5a9c9b489e363acef738bfde08d85aa94b572",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dsc-chiba-u/actions/runs/28016158544"
    }
  ]
}