{
  "_id": "6ac9f567fe5cc25786e83540",
  "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-10 07:54:08 UTC",
    "User": "root"
  },
  "_user": "rluo",
  "_type": "src",
  "_file": "capr_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7829b7a8fc482733c6f2bb97d64172016f327b43c87e94e17598f93fe71b4453",
  "_filesize": 248001,
  "_sha256": "7829b7a8fc482733c6f2bb97d64172016f327b43c87e94e17598f93fe71b4453",
  "_expires": "2027-01-18T08:20:53.000Z",
  "_created": "2026-10-10T07:54:08.000Z",
  "_published": "2026-10-10T08:20:55.711Z",
  "_buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114166613760,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11663456710"
    },
    {
      "job": 114166614107,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11664177345"
    },
    {
      "job": 114166613729,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11664551854"
    },
    {
      "job": 114166613775,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11663992469"
    },
    {
      "job": 114166613728,
      "time": 100,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11664382466"
    },
    {
      "job": 114166613772,
      "time": 423,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11663468543"
    },
    {
      "job": 114166613757,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11664443980"
    },
    {
      "job": 114166613742,
      "time": 286,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11664412817"
    },
    {
      "job": 114166040047,
      "time": 198,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664401941"
    },
    {
      "job": 114166613746,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11664507035"
    },
    {
      "job": 114166613790,
      "time": 339,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11664282585"
    },
    {
      "job": 114166613765,
      "time": 156,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11663796558"
    },
    {
      "job": 114166613781,
      "time": 112,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11663761566"
    },
    {
      "job": 114166613770,
      "time": 345,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11664162559"
    },
    {
      "job": 114166613816,
      "time": 121,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11664451243"
    }
  ],
  "_upstream": "https://github.com/rluo/capr",
  "_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
  },
  "_maintainer": {
    "name": "Xi Luo",
    "email": "xi.rossi.luo@gmail.com",
    "login": "rluo",
    "description": "machine learning, big data, artificial intelligence, causal inference, neuroscience",
    "uuid": 8192512
  },
  "_distro": "resolute",
  "_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": 269,
    "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-10T07:56:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/747108e5607c14e219ab263f544410eee6a09502e31db8521d2844fd67436bf2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-10T07:56:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/ad6a9ce470b9d24159d9f7859a6c6a8941e8de97b3d219032af55a8ccbcd19dc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-10T07:56:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/f6e22fdd74a52555fb7dd9927a9a7f950b01233edde5f27fca93691853f28ef4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-10T07:56:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/6b07e8016939070ea032a2136f08397e53f4380c1b4e8c983685fdbedc1460aa",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-10T08:11:53.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/3e089a86bd80308bc394427722dac51e72daf54b5b446accf8255d0cd17a4d27",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-10T08:18:23.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/2f2b56c94a9d7939276875f32921a38d43b6d5df9fe9b2cd4a7f18c4520fa0d0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-10T08:14:19.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/640dcde87dd1f0fa3adb18f538121720a4bb4cd82d1410d121d5f28200f27fe5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-10T08:15:23.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/b82e902542325286b5df886708e2cadd95cc82d509d42cf6dfc550e95bc37d99",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-10-10T07:56:17.000Z",
      "arch": "emscripten",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/de2b3cf5a1dc34813861c0025731363207a00ba890c407972fabdb5f526738a5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-10T07:59:15.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/af8a178935e3d0efababb1d99d31a057c7f21b5ef1a2e7e3c1c8439e0b77f6f9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-10T07:55:42.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/7a86e787955993802466f15e6006ca0741145ce9851951e9db4401c4471f8e50",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-10T07:55:38.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/5c320a9be84930e304acdf3f08a9ca13d1d90e72571cd227d319ed49cf99efcb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-10T07:59:15.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/3ce55844ceb7498f75982be685e1c88a20054c34e2149639142d5335f3d23661",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-10T07:55:42.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/7554189b69a3585650b4a6c45fbd4dc25c099b94b69f9efd4bd1cfe926c973e7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/38035850617"
    }
  ]
}