{
  "_id": "6a0f6380acfb0bcc41c5c85a",
  "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-05-21 10:28:23 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>",
  "MD5sum": "57165db844971d2b7ba7bc55ed9afba2",
  "_user": "uscbiostats",
  "_type": "src",
  "_file": "xrnet_1.0.1.tar.gz",
  "_fileid": "5c2fdda320300b66d610edbccfb2612b2809d407ed83245d7fe6949dd2462812",
  "_filesize": 521554,
  "_sha256": "5c2fdda320300b66d610edbccfb2612b2809d407ed83245d7fe6949dd2462812",
  "_created": "2026-05-21T10:28:23.000Z",
  "_published": "2026-05-21T19:56:48.226Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77256852052,
      "time": 242,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133437981"
    },
    {
      "job": 77256851952,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133419432"
    },
    {
      "job": 77256852414,
      "time": 168,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133414880"
    },
    {
      "job": 77256852259,
      "time": 172,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133416177"
    },
    {
      "job": 77256852788,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133416501"
    },
    {
      "job": 77256852911,
      "time": 342,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133478281"
    },
    {
      "job": 77256852586,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133423939"
    },
    {
      "job": 77256851998,
      "time": 320,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133469242"
    },
    {
      "job": 77256851834,
      "time": 205,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133360419"
    },
    {
      "job": 77256851585,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145818867"
    },
    {
      "job": 77256852370,
      "time": 228,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133434018"
    },
    {
      "job": 77256852581,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133397031"
    },
    {
      "job": 77256852255,
      "time": 172,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133416238"
    }
  ],
  "_buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/uscbiostats/xrnet",
  "_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
  },
  "_maintainer": {
    "name": "Garrett Weaver",
    "email": "gweaverdev@icloud.com",
    "login": "gweaverbiodev",
    "description": "",
    "uuid": 10748110,
    "orcid": "0000-0002-9918-8386"
  },
  "_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",
    "description": "Organization for USC Division of Biostatistics"
  },
  "_downloads": {
    "count": 197,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/xrnet"
  },
  "_devurl": "https://github.com/uscbiostats/xrnet",
  "_pkgdown": "https://uscbiostats.github.io/xrnet/",
  "_searchresults": 10,
  "_topics": [
    "cpp"
  ],
  "_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/xrnet.html",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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-05-21T10:32:19.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "5cd9211a3436b6aac2f099752592cb4157715873b2eda424a46f57178d3ee340",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-21T10:31:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "60efdcfc662ecd8ed1b25871155d32335f08e21864190098850331500c4bcb4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-21T10:31:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "d7c1841b988ca638dbb5793937697bab7a7933a73141ef746f1a413e39f21c60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-05-21T10:31:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "71baeca4808572378a5363fd776c1b45ac3020ca1ea98de7363fe16b93f94a8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-21T10:31:07.000Z",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "e9fdebc7245ffd8d34f32f198603635dfcb319b051dbed2d0ceb302afbd50d1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-21T10:33:21.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "9107b5eb4726c1c4a3ebf6e5602bda8896aa38b59391f2df49e8c954a8998830",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-21T10:31:35.000Z",
      "arch": "aarch64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "95fb18838f772b650c200b2e5237cfc2b5a692867b02c30c733e8dfbb86f1e33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-05-21T10:32:36.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "594755952fdbb6b04eb93930879d4c2a1928c62e37ad9ae69ecf83cdc9cc983f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-05-21T19:56:11.000Z",
      "arch": "emscripten",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "2515669299ad43f8a0f08ee6de59b8e81a3fd1bc7895ed6795b6cd90a004a26a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-21T10:30:44.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "c128e759b5f3ca02eb5c5634a1c5ddcc4a9bd63219eca68d35f427f956ba6113",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-21T10:30:07.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "5a28e05b90676dfa01b02f07ea35427614a2b2044131291b92bed57db6ca5f32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-05-21T10:30:22.000Z",
      "arch": "x86_64",
      "commit": "e171fe742488a548e8e461b7a5398ffd308fa053",
      "fileid": "3c54790bbb83b75eb22d874d51fbb178e0a8e0e9684ef69172fe760dd7f5f341",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/26220311922"
    }
  ]
}