{
  "_id": "6ad5e3f57f75c4fbd3a1ed39",
  "Package": "capr",
  "Title": "Covariate Assisted Principal Regression",
  "Version": "0.2.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",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "C++17",
  "URL": "https://github.com/rluo/capr",
  "BugReports": "https://github.com/rluo/capr/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-19 09:28:23 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-01-24 10:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/capr",
  "RemoteRef": "HEAD",
  "RemoteSha": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
  "_user": "cran",
  "_type": "src",
  "_file": "capr_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6f49b92fac60640184503d96c2bb74a8d27df2b27a84478ec7ce79b3518889ad",
  "_filesize": 246693,
  "_sha256": "6f49b92fac60640184503d96c2bb74a8d27df2b27a84478ec7ce79b3518889ad",
  "_expires": "2027-01-27T09:33:39.000Z",
  "_created": "2026-10-19T09:28:23.000Z",
  "_published": "2026-10-19T09:33:41.468Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117986767755,
      "time": 107,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12175099725"
    },
    {
      "job": 117986767688,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12176209124"
    },
    {
      "job": 117986767839,
      "time": 97,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12176014314"
    },
    {
      "job": 117986767909,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12176334372"
    },
    {
      "job": 117985436753,
      "time": 192,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12176533397"
    },
    {
      "job": 117986767745,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12176906640"
    },
    {
      "job": 117986767714,
      "time": 243,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12176539569"
    },
    {
      "job": 117986767763,
      "time": 118,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12175374616"
    },
    {
      "job": 117986767737,
      "time": 245,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12175544703"
    },
    {
      "job": 117986767758,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12176503781"
    }
  ],
  "_upstream": "https://github.com/cran/capr",
  "_commit": {
    "id": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
    "author": "Xi Luo <xi.rossi.luo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1769251802
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-01-24"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rluo",
      "count": 1,
      "uuid": 8192512
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 284,
    "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"
  ],
  "_homeurl": "https://github.com/rluo/capr",
  "_realowner": "rluo",
  "_cranurl": false,
  "_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"
      ]
    }
  ],
  "_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": 2.2576785748691846,
  "_indexed": false,
  "_nocasepkg": "capr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://rluo.r-universe.dev/capr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-19T09:30:29.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/2a3cc828b8b9d2c5dd35a3cb3a519ad785fbd6e19226f74136ac66d12ddc824f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-19T09:30:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/ef2b1697a025fd0531be8eb14a66545566c8a11383bda4f0d1e3e83f9c552f7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-19T09:30:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/0b2faa83158c356cefa72c7aba7186d0f2a24f3563a824fab25baadfd938bf79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-19T09:30:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/d34cbc472738ecb09976d4ab7001887ac033b5d116a8ddc8bd39cbd1ef2a90ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-19T09:30:39.000Z",
      "arch": "emscripten",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/9db2beaa17f8088ff72c0e4641d82a528507d3129911b762a53a511dafec7152",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-19T09:32:24.000Z",
      "arch": "aarch64",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/413463e0eb2bb942ea667e3c6e3e299db56e47622373fac1c429060cf9ab110c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-19T09:29:50.000Z",
      "arch": "x86_64",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/dfce1104b3e873bc5e361acb4b0a4f6c74c36fe107b8e44e03afc92ecf7b8f6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-19T09:32:22.000Z",
      "arch": "aarch64",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/8f9a697452949a2c52f08ae770d415187e4571df56b95a6d018557ed124566c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-19T09:30:00.000Z",
      "arch": "x86_64",
      "commit": "17edd95a1ee7feb762f018a6e68a2eee4bb37526",
      "fileid": "https://r2.ropensci.org/ddfd9bff2d2345ff38a3da4dd1984b5199e435bb2b46d8c58826b93bec9213dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39229958530"
    }
  ]
}