{
  "_id": "6afc2f74ef1f2edb40683eaf",
  "Package": "xrnet",
  "Type": "Package",
  "Title": "Hierarchical Regularized Regression",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"Garrett\", \"Weaver\", email = \"gweaverdev@icloud.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-9918-8386\")),\nperson(\"Dixin\", \"Shen\", email = \"dixinshe@usc.edu\", role = c(\"aut\")),\nperson(\"Juan Pablo\", \"Lewinger\", email = \"lewinger@usc.edu\", role = c(\"ctb\", \"ths\")))",
  "URL": "https://github.com/USCbiostats/xrnet,\nhttps://uscbiostats.github.io/xrnet/",
  "Description": "Fits hierarchical regularized regression models to\nincorporate potentially informative external data, Weaver and\nLewinger (2019) <doi:10.21105/joss.01761>. Utilizes coordinate\ndescent to efficiently fit regularized regression models both\nwith and without external information with the most common\npenalties used in practice (i.e. ridge, lasso, elastic net).\nSupport for standard R matrices, sparse matrices and big.matrix\nobjects.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "BugReports": "https://github.com/USCbiostats/xrnet/issues",
  "Repository": "https://uscbiostats.r-universe.dev",
  "Date/Publication": "2025-12-17 17:43:44 UTC",
  "RemoteUrl": "https://github.com/uscbiostats/xrnet",
  "RemoteRef": "HEAD",
  "RemoteSha": "e171fe742488a548e8e461b7a5398ffd308fa053",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-17 10:14:27 UTC",
    "User": "root"
  },
  "Author": "Garrett Weaver [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9918-8386>),\nDixin Shen [aut],\nJuan Pablo Lewinger [ctb, ths]",
  "Maintainer": "Garrett Weaver <gweaverdev@icloud.com>",
  "_user": "uscbiostats",
  "_type": "src",
  "_file": "xrnet_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/ddad3e4b75a7b0c657465547f859991e3517d14eb03a8ee84e9624e4f348b599",
  "_filesize": 521555,
  "_sha256": "ddad3e4b75a7b0c657465547f859991e3517d14eb03a8ee84e9624e4f348b599",
  "_expires": "2027-02-25T10:41:54.000Z",
  "_created": "2026-11-17T10:14:27.000Z",
  "_published": "2026-11-20T01:50:01.696Z",
  "_upstream": "https://github.com/uscbiostats/xrnet",
  "_status": "success",
  "_maintainer": {
    "name": "Garrett Weaver",
    "email": "gweaverdev@icloud.com",
    "login": "gweaverbiodev",
    "description": "",
    "uuid": 10748110,
    "orcid": "0000-0002-9918-8386"
  },
  "_jobs": [
    {
      "job": 133969840802,
      "time": 122,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14318284585"
    },
    {
      "job": 133969840699,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14319721252"
    },
    {
      "job": 133969840651,
      "time": 142,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14319047724"
    },
    {
      "job": 133969841284,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14319940172"
    },
    {
      "job": 133969840775,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14320676517"
    },
    {
      "job": 133969841355,
      "time": 297,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14320013744"
    },
    {
      "job": 133969840784,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14320995446"
    },
    {
      "job": 133969840683,
      "time": 372,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14319828337"
    },
    {
      "job": 133967699285,
      "time": 234,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14319266389"
    },
    {
      "job": 133969840509,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14319955338"
    },
    {
      "job": 133969840825,
      "time": 255,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14319770771"
    },
    {
      "job": 133969840710,
      "time": 217,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14319007838"
    },
    {
      "job": 133969840744,
      "time": 174,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14318693097"
    },
    {
      "job": 133969841251,
      "time": 232,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14319556557"
    },
    {
      "job": 133969840717,
      "time": 179,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14319431296"
    }
  ],
  "_buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603",
  "_commit": {
    "id": "e171fe742488a548e8e461b7a5398ffd308fa053",
    "author": "gweaverbiodev <10748110+gweaverbiodev@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #53 from USCbiostats/gw/cran-submit-2025-12\n\nadd cran-submission",
    "time": 1765993424
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "bigmemory",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.19",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "bigmemory",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    }
  ],
  "_owner": "uscbiostats",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-51",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "gweaverbiodev",
      "count": 59,
      "uuid": 10748110
    },
    {
      "user": "dixinshen",
      "count": 4,
      "uuid": 19754255
    },
    {
      "user": "danielskatz",
      "count": 2,
      "uuid": 2913845
    },
    {
      "user": "gvegayon",
      "count": 1,
      "uuid": 893619
    }
  ],
  "_userbio": {
    "uuid": 10712919,
    "type": "organization",
    "name": "USC Division of Biostatistics",
    "followers": 47,
    "description": "Organization for USC Division of Biostatistics"
  },
  "_downloads": {
    "count": 398,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xrnet"
  },
  "_devurl": "https://github.com/uscbiostats/xrnet",
  "_pkgdown": "https://uscbiostats.github.io/xrnet/",
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_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/xrnet.html"
  ],
  "_homeurl": "https://github.com/uscbiostats/xrnet",
  "_realowner": "uscbiostats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.6",
      "date": "2020-02-28"
    },
    {
      "version": "0.1.7",
      "date": "2020-03-01"
    },
    {
      "version": "1.0.0",
      "date": "2024-07-16"
    },
    {
      "version": "1.0.1",
      "date": "2025-12-18"
    }
  ],
  "_exports": [
    "define_enet",
    "define_lasso",
    "define_penalty",
    "define_ridge",
    "tune_xrnet",
    "xrnet",
    "xrnet_control"
  ],
  "_datasets": [
    {
      "name": "ext_linear",
      "title": "Simulated external data",
      "object": "GaussianExample",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "x_linear",
      "title": "Simulated example data for hierarchical regularized linear regression",
      "object": "GaussianExample",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "y_linear",
      "title": "Simulated outcome data",
      "object": "GaussianExample",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.tune_xrnet",
      "title": "Get coefficient estimates from \"tune_xrnet\" model object.",
      "topics": [
        "coef.tune_xrnet"
      ]
    },
    {
      "page": "coef.xrnet",
      "title": "Get coefficient estimates from \"xrnet\" model object.",
      "topics": [
        "coef.xrnet"
      ]
    },
    {
      "page": "define_enet",
      "title": "Define elastic net regularization object for predictor and external data",
      "topics": [
        "define_enet"
      ]
    },
    {
      "page": "define_lasso",
      "title": "Define lasso regularization object for predictor and external data",
      "topics": [
        "define_lasso"
      ]
    },
    {
      "page": "define_penalty",
      "title": "Define regularization object for predictor and external data.",
      "topics": [
        "define_penalty"
      ]
    },
    {
      "page": "define_ridge",
      "title": "Define ridge regularization object for predictor and external data",
      "topics": [
        "define_ridge"
      ]
    },
    {
      "page": "ext_linear",
      "title": "Simulated external data",
      "topics": [
        "ext_linear"
      ]
    },
    {
      "page": "plot.tune_xrnet",
      "title": "Plot k-fold cross-validation error grid",
      "topics": [
        "plot.tune_xrnet"
      ]
    },
    {
      "page": "predict.tune_xrnet",
      "title": "Predict function for \"tune_xrnet\" object",
      "topics": [
        "predict.tune_xrnet"
      ]
    },
    {
      "page": "predict.xrnet",
      "title": "Predict function for \"xrnet\" object",
      "topics": [
        "predict.xrnet"
      ]
    },
    {
      "page": "tune_xrnet",
      "title": "k-fold cross-validation for hierarchical regularized regression",
      "topics": [
        "tune_xrnet"
      ]
    },
    {
      "page": "x_linear",
      "title": "Simulated example data for hierarchical regularized linear regression",
      "topics": [
        "x_linear"
      ]
    },
    {
      "page": "xrnet",
      "title": "Fit hierarchical regularized regression model",
      "topics": [
        "xrnet"
      ]
    },
    {
      "page": "xrnet_control",
      "title": "Control function for xrnet fitting",
      "topics": [
        "xrnet_control"
      ]
    },
    {
      "page": "y_linear",
      "title": "Simulated outcome data",
      "topics": [
        "y_linear"
      ]
    }
  ],
  "_pkglogo": "https://github.com/uscbiostats/xrnet/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/uscbiostats/xrnet/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "bigmemory",
    "bigmemory.sri",
    "codetools",
    "foreach",
    "iterators",
    "Rcpp",
    "RcppEigen",
    "uuid"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "xrnet",
  "_universes": [
    "uscbiostats",
    "gweaverbiodev"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-17T10:16:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/c977c57948607987527b51d0354003108264a2d54ccbf333d76cec847043963f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-17T10:17:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/81bd0bd262aec46416ca068955dace35dc7b53dbe1ee121f073746fafe320303",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-17T10:16:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/ade379e0b2a50bd8e22f9cfc7b3622a3c1ce9d8712c038c054ab3a2210a4736d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-17T10:17:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/e6391ade883e9612c4a11d64cc57688267c8427d2a2dc7229c248830b2ae0b9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-17T10:33:26.000Z",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/588459f26f48377b0375180404eefeb792ef7e2dab836fa78a8628022d66ba62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-17T10:39:48.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/6f5df3f96c2acb64680a04a43c75b6be1722cd3a9d637000bfa03c301b5edf90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-17T10:31:57.000Z",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/19083e08ce0193853df6e102d6cbeb7b3611dfcce46b3e3f39a521f71d03e2c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-17T10:28:02.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/b1645482acd7be6075a45bdd62c7166e638b386ebac9d151a2a9f8321e4e802c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-11-17T10:17:20.000Z",
      "arch": "emscripten",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/8c0a5c5c98c799f269b2eeaef0ca9f1d0d921bc56f8611dcd7482350383607ba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-17T10:18:29.000Z",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/98fe3ceddfeeac3e8f2530acc00c3580bbc4423034a714c4cf98d48c8b8f31f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-17T10:16:34.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/2f69583fadf76213a139521ecf8156bfcaca6cbc02b4f098d68f970029daa19e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-17T10:16:34.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/dd2dfdb0caafd4cfd64b91f1c9e6f44eb7d8c859652f4e9bccd76747ebfc750b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-17T10:18:04.000Z",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/6dc6e1f348347d5c17326ac7eb8ec80047cc3bb8df52c1a4255a7e0f31765e4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-17T10:16:42.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "https://r2.ropensci.org/e7ddb87c4f248c9dbea4e827d603eedbf0ccc096b60ce07f48da5e81463d806b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/44062456603"
    }
  ]
}