{
  "_id": "6a169ee2acfb0bcc41d7fe0d",
  "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-05-27 07:25:54 UTC",
    "User": "root"
  },
  "MD5sum": "65e007e900a9ddc3920827e61dbab123",
  "_user": "rluo",
  "_type": "src",
  "_file": "capr_0.3.0.tar.gz",
  "_fileid": "6f970d191f309f11a47e2aa6e577b0011108ccdee8584c99ad2be0be96bda874",
  "_filesize": 246972,
  "_sha256": "6f970d191f309f11a47e2aa6e577b0011108ccdee8584c99ad2be0be96bda874",
  "_created": "2026-05-27T07:25:54.000Z",
  "_published": "2026-05-27T07:36:01.989Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78028170497,
      "time": 130,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7234401479"
    },
    {
      "job": 78028170544,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7234404999"
    },
    {
      "job": 78028170487,
      "time": 178,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7234415085"
    },
    {
      "job": 78028170573,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7234397329"
    },
    {
      "job": 78028170490,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7234420150"
    },
    {
      "job": 78028170482,
      "time": 201,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7234437958"
    },
    {
      "job": 78028170564,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7234452630"
    },
    {
      "job": 78028170536,
      "time": 379,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7234489536"
    },
    {
      "job": 78027728353,
      "time": 179,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234361124"
    },
    {
      "job": 78028170471,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234398711"
    },
    {
      "job": 78028170609,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7234399720"
    },
    {
      "job": 78028170483,
      "time": 130,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7234403678"
    },
    {
      "job": 78028170594,
      "time": 175,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7234414897"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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-22",
      "n": 1
    },
    {
      "week": "2025-23",
      "n": 2
    },
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 3
    },
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "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",
    "description": "machine learning, big data, artificial intelligence, causal inference, neuroscience"
  },
  "_downloads": {
    "count": 145,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/capr"
  },
  "_devurl": "https://github.com/rluo/capr",
  "_searchresults": 102,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/capr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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.821513528404773,
  "_indexed": true,
  "_nocasepkg": "capr",
  "_universes": [
    "rluo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-27T07:28:11.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "76ec993756661f528c50b9b1d4209a51bd772331640f62ab61daacc8faa61594",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-27T07:28:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "ef4949b2f5f40fd0340ef2ac41288f83cf2227201070b9f2c9b1ad259485d900",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-27T07:28:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "bdaffca8c8571f2e57b64c3b54ee072f42a163faffb9c33bd7d9d5382f73d5fa",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-05-27T07:28:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "3ce439c0ee66b19fc169316111d4812770d81d0ad0ac325738890e48c896396e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-27T07:29:27.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "6f48b52075b54e4b88fe5144f1dcca95f47e0e4102a771e208c85f39e4bcd78c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-27T07:29:46.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "14edb34204d5083d01cd68cde9191d672a6babb604cad617b0fc3d83ca62960d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-27T07:30:58.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "da6c34317f627697c0fc9333e9a3f92cb0980941328408f112d4d1b7594b94ef",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-05-27T07:31:50.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "8b43d92869f5114d34cfbda3d72a92e369b72c1df23e424615954c7c3876d189",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-05-27T07:28:12.000Z",
      "arch": "emscripten",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "23b37867821aada1db85c15110308937f4d557600e347e71bf1133c9a4351802",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-27T07:27:33.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "7134267085f64d5daf0f0553010a08301fe78a6d15944bcfb6cb6a82d8c493c5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-27T07:27:42.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "70e5c7f213115a1c074c14d50ce9f4265fe0a3fb6218a5876db5631bf69a5c7f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-05-27T07:27:58.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "1a937bae37856f4a40f5aaf401adfaefe11b75f43ed1e22932d770545890aa22",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/26497034416"
    }
  ]
}