{
  "_id": "6a49038db5e98c4082a06560",
  "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-07-04 12:52:19 UTC",
    "User": "root"
  },
  "_user": "rluo",
  "_type": "src",
  "_file": "capr_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0414fbf59c382a7cf626df626ac6373c8a188a299b4116f5ba8a8282f61d6d6e",
  "_filesize": 248406,
  "_sha256": "0414fbf59c382a7cf626df626ac6373c8a188a299b4116f5ba8a8282f61d6d6e",
  "_expires": "2026-10-12T12:58:52.000Z",
  "_created": "2026-07-04T12:52:19.000Z",
  "_published": "2026-07-04T12:58:53.671Z",
  "_jobs": [
    {
      "job": 85133791576,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8081888097"
    },
    {
      "job": 85133791568,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8081886672"
    },
    {
      "job": 85133791571,
      "time": 173,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8081891809"
    },
    {
      "job": 85133791567,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8081887418"
    },
    {
      "job": 85133791586,
      "time": 175,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8081891666"
    },
    {
      "job": 85133791593,
      "time": 208,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8081895388"
    },
    {
      "job": 85133791581,
      "time": 85,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8081881095"
    },
    {
      "job": 85133791575,
      "time": 338,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8081910060"
    },
    {
      "job": 85133586247,
      "time": 180,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081870554"
    },
    {
      "job": 85133791565,
      "time": 157,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8081889405"
    },
    {
      "job": 85133791583,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8081887357"
    },
    {
      "job": 85133791582,
      "time": 129,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8081886291"
    },
    {
      "job": 85133791572,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8081885616"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135",
  "_status": "success",
  "_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-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",
    "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": 125,
  "_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/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.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.795880017344075,
  "_indexed": true,
  "_nocasepkg": "capr",
  "_universes": [
    "rluo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-04T12:54:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/68beaa23b9573a681cea5d72f0feaa51cb34cc11314a4c280643516b4b3825dc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-04T12:54:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/d64257e986c069adbc17c357ece3a0ccd05ed7bfe4727277f2c42f2bd5966f5b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-04T12:55:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/ecd6a54d6cc199a0df443f4c23dcfb8588a5aca8d33367df80e0db5231a78e2c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-04T12:54:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/f176aaee59b16018cc3233cf30df8c2e690b07ecfe6da3d6ec2e0a6b21f71433",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-04T12:55:07.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/18cf3b7ca6322d8aa731f965c8b503c0b293fa69d8df3809ce2ef09b9b431dc7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-04T12:55:27.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/55f44a2f62337a59d6d72e431ff92d59a1b0756ba3682e849254a4e0aae0812e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-04T12:54:00.000Z",
      "arch": "aarch64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/c78f8c3a64fc207eddba0b08c4efe8f408fadb942f52fb442117b33798fe3f9c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-04T12:56:44.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/8611a8a99e913d2026abda63bbea42958d7802e991f85ba1e14bbf54e3217663",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-07-04T12:55:05.000Z",
      "arch": "emscripten",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/2de3cc4d54ac5a513186c9febbdcb1fe477ef3f8a8b7c4ef7586f3930a854006",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-04T12:53:55.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/dd0746a655353cf9469bc9dc54191388587df01ce15a3f133d1c1eaf24a2c6a2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-04T12:53:51.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/994f0af5218d1862e70d8933f21117330861032dbbceb1443188f36475c03568",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-04T12:53:46.000Z",
      "arch": "x86_64",
      "commit": "d8bf77811556644857249dd67565df89c3735448",
      "fileid": "https://r2.ropensci.org/25bfeab71604c9523d3e63c5786625181f000008a2835f6f3329ee3497dd1108",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rluo/actions/runs/28706745135"
    }
  ]
}