{
  "_id": "6ae35234327abcdf868672f5",
  "Package": "capr",
  "Title": "Covariate Assisted Principal Regression",
  "Version": "0.3.0",
  "Author": "Xi Luo [aut, cre], Yi Zhao [aut], Brian Caffo [aut]",
  "Maintainer": "Xi Luo <xi.rossi.luo@gmail.com>",
  "Authors@R": "c(\nperson(\"Xi\", \"Luo\", , email = \"xi.rossi.luo@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Yi\", \"Zhao\", email = \"zhaoyi1026@gmail.com\", role = \"aut\"),\nperson(\"Brian\", \"Caffo\", email = \"bcaffo@gmail.com\", role = \"aut\")\n)",
  "Description": "Covariate Assisted Principal Regression (CAPR) for\nmultiple covariance-matrix outcomes. The method identifies\n(principal) projection directions that maximize the\nlog-likelihood of a log-linear regression model of the\ncovariates. See Zhao et al. (2021), \"Covariate Assisted\nPrincipal Regression for Covariance Matrix Outcomes\"\n<doi:10.1093/biostatistics/kxz057>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "C++17",
  "URL": "https://github.com/rluo/capr",
  "BugReports": "https://github.com/rluo/capr/issues",
  "Repository": "https://rluo.r-universe.dev",
  "Date/Publication": "2026-02-26 18:12:47 UTC",
  "RemoteUrl": "https://github.com/rluo/capr",
  "RemoteRef": "HEAD",
  "RemoteSha": "d8bf77811556644857249dd67565df89c3735448",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 12:50:24 UTC",
    "User": "root"
  },
  "_user": "rluo",
  "_type": "src",
  "_file": "capr_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/de14a8ce33bec8d014970300e835521ba4b5ddf405b1d635fd1eaa9189be6c8a",
  "_filesize": 248004,
  "_sha256": "de14a8ce33bec8d014970300e835521ba4b5ddf405b1d635fd1eaa9189be6c8a",
  "_expires": "2027-02-06T14:03:30.000Z",
  "_created": "2026-10-29T12:50:24.000Z",
  "_published": "2026-10-29T14:03:32.632Z",
  "_upstream": "https://github.com/rluo/capr",
  "_status": "success",
  "_maintainer": {
    "name": "Xi Luo",
    "email": "xi.rossi.luo@gmail.com",
    "login": "rluo",
    "description": "machine learning, big data, artificial intelligence, causal inference, neuroscience",
    "uuid": 8192512
  },
  "_jobs": [
    {
      "job": 123457179703,
      "time": 101,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12898073157"
    },
    {
      "job": 123457179755,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12898422083"
    },
    {
      "job": 123457179675,
      "time": 109,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12899170125"
    },
    {
      "job": 123457179632,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12898396873"
    },
    {
      "job": 123457179715,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "12903440512"
    },
    {
      "job": 123457179586,
      "time": 252,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "12902758247"
    },
    {
      "job": 123457179474,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12902542593"
    },
    {
      "job": 123457179667,
      "time": 292,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12902599733"
    },
    {
      "job": 123455523321,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12898351770"
    },
    {
      "job": 123457179429,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12897809898"
    },
    {
      "job": 123457180055,
      "time": 230,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12898397154"
    },
    {
      "job": 123457179743,
      "time": 182,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "12897984626"
    },
    {
      "job": 123457179986,
      "time": 154,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "12898237769"
    },
    {
      "job": 123457179729,
      "time": 251,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12897579769"
    },
    {
      "job": 123457179918,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "12898521725"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146",
  "_commit": {
    "id": "d8bf77811556644857249dd67565df89c3735448",
    "author": "Xi Luo <xi.rossi.luo@gmail.com>",
    "committer": "Xi Luo <xi.rossi.luo@gmail.com>",
    "message": "clamp beta for divergence\n",
    "time": 1772129567
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    }
  ],
  "_owner": "rluo",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 16
    },
    {
      "week": "2025-50",
      "n": 4
    },
    {
      "week": "2025-51",
      "n": 24
    },
    {
      "week": "2025-52",
      "n": 16
    },
    {
      "week": "2026-03",
      "n": 3
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 3
    },
    {
      "week": "2026-09",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rluo",
      "count": 76,
      "uuid": 8192512
    }
  ],
  "_userbio": {
    "uuid": 8192512,
    "type": "user",
    "name": "Xi (Rossi) LUO",
    "followers": 6,
    "description": "machine learning, big data, artificial intelligence, causal inference, neuroscience"
  },
  "_downloads": {
    "count": 255,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/capr"
  },
  "_devurl": "https://github.com/rluo/capr",
  "_searchresults": 181,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/capr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/rluo/capr",
  "_realowner": "rluo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-01-24"
    }
  ],
  "_exports": [
    "capr",
    "capr.boot",
    "cosine_similarity",
    "FG",
    "FG2",
    "log_deviation_from_diagonality",
    "simu.capr"
  ],
  "_help": [
    {
      "page": "capr",
      "title": "Covariate Assisted Principal (CAP) Regression",
      "topics": [
        "capr"
      ]
    },
    {
      "page": "capr.boot",
      "title": "Bootstrap confidence intervals for CAP coefficients",
      "topics": [
        "capr.boot"
      ]
    },
    {
      "page": "cosine_similarity",
      "title": "Cosine similarity between numeric vectors",
      "topics": [
        "cosine_similarity"
      ]
    },
    {
      "page": "FG",
      "title": "Flury-Gautschi Common Principal Components",
      "topics": [
        "FG",
        "FG2"
      ]
    },
    {
      "page": "log_deviation_from_diagonality",
      "title": "Log deviation from diagonality",
      "topics": [
        "log_deviation_from_diagonality"
      ]
    },
    {
      "page": "plot.capr",
      "title": "Plot deviation diagnostics by component count",
      "topics": [
        "plot.capr"
      ]
    },
    {
      "page": "print.capr",
      "title": "Print method for CAP regression fits",
      "topics": [
        "print.capr"
      ]
    },
    {
      "page": "print.capr.boot",
      "title": "Print method for 'capr.boot' objects",
      "topics": [
        "print.capr.boot"
      ]
    },
    {
      "page": "simu.capr",
      "title": "Simulate covariance matrices compatible with 'capr()'",
      "topics": [
        "simu.capr"
      ]
    }
  ],
  "_readme": "https://github.com/rluo/capr/raw/HEAD/README.md",
  "_rundeps": [
    "MASS",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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.859738566197147,
  "_indexed": true,
  "_nocasepkg": "capr",
  "_universes": [
    "rluo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T12:52:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/f266c9f1a8dfa2780807bbe21ba07c26cf597dc20a693ca29bc787b9191fe120",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T12:52:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/69e21370d231297790de3942c8826ceffbf83778612467a4c6c80a022f55ee2e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T12:52:14.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/ced57d39820dfb57ad8d475661d8ce54e679b0faaf958fdca60b6578110d1387",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-29T12:52:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/78465b4b4e807247995025806fa57f727582fb0beefb8470fd4c79d176b7353e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-29T13:59:58.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/0f9de8551019638e2dfc5ac161b3c4bd7950c6bc41f9558bebab8db29cb53131",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-29T14:00:35.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/fbdb46f138ab1aea14058ec0c4ce1900b97f467bf8d40a9dde8dd880564a9746",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-29T13:51:36.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/f3d08e350e295d967835b1d280cef3d7196c62c8fd4d8354226d5e7245de4cc3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-29T14:01:13.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/e983dc43202ce1c916ebfde14a7b214c5f0fb2d3e656957b3dccb9495503e422",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-10-29T12:52:24.000Z",
      "arch": "emscripten",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/afaaef7eb57ce0251d3dbbbb6c08fc936b74d2440bd2180eb389eb43224bdb75",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T12:53:49.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/5717a13c02fdd19fa1b5e7f687fd9ca04d23ac9a74c771f22ef565a7444f919f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T12:52:10.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/768918ca2e7a4ecfea43e515f030fed74bd1bfdc63fe490c6d6ee04159d9f6ad",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T12:52:10.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/688d839d722aaa8eb6de88e876c12a51abd1646529e3a8fa6425dd86910df76e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T12:54:12.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/7d6957f70a45c083f7ef36c226fc893fd8f1cca4494fa99cb02a23be2e1b4ea3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-29T12:51:45.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/5c7d89741b544459091d985462e07667379df7297bbb090acda3431ac0e741bb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/40876148146"
    }
  ]
}