{
  "_id": "6ad34c801e212c88a5cf52db",
  "Type": "Package",
  "Package": "rollshap",
  "Title": "Rolling Shapley Values",
  "Version": "1.0.2",
  "Authors@R": "person(\"Jason\", \"Foster\", , \"jason.j.foster@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Analytical computation of rolling and expanding Shapley\nvalues for time-series data. The 'rollshap' package decomposes\nthe coefficient of determination (R-squared) of a linear\nregression into nonnegative contributions from each explanatory\nvariable using the Shapley value from cooperative game theory\n(Shapley, 1953, <doi:10.1515/9781400881970-018>). For each\nwindow, the exact Shapley value is computed by fitting all\nsubsets of the explanatory variables and averaging the marginal\ncontribution to R-squared across all orderings, which returns\nan order-invariant attribution that sums to the full-model\nR-squared. Use cases include variable importance, factor\nattribution, and feature selection in time-series regression.\nThe package supports rolling and expanding windows, weights,\nand handling of missing values via the min_obs, complete_obs,\nand na_restore arguments. The implementation uses the online\nand offline algorithms from the 'roll' package to compute\nrolling and expanding cross-products efficiently, with\nparallelism across columns and windows provided by\n'RcppParallel'.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/jasonjfoster/rollshap",
  "BugReports": "https://github.com/jasonjfoster/rollshap/issues",
  "Config/roxygen2/old_usage": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Encoding": "UTF-8",
  "SystemRequirements": "GNU make",
  "Repository": "https://jasonjfoster.r-universe.dev",
  "Date/Publication": "2026-09-02 23:48:23 UTC",
  "RemoteUrl": "https://github.com/jasonjfoster/rollshap",
  "RemoteRef": "HEAD",
  "RemoteSha": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-17 10:13:21 UTC",
    "User": "root"
  },
  "Author": "Jason Foster [aut, cre]",
  "Maintainer": "Jason Foster <jason.j.foster@gmail.com>",
  "_user": "jasonjfoster",
  "_type": "src",
  "_file": "rollshap_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/e43bc4c673da78c142bf4a90e51b8e3e6a75b33c0c2b04dc60861f168d2bd1b4",
  "_filesize": 96442,
  "_sha256": "e43bc4c673da78c142bf4a90e51b8e3e6a75b33c0c2b04dc60861f168d2bd1b4",
  "_expires": "2027-01-25T10:21:54.000Z",
  "_created": "2026-10-17T10:13:21.000Z",
  "_published": "2026-10-17T10:22:56.733Z",
  "_buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117371578607,
      "time": 104,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12098255637"
    },
    {
      "job": 117371578625,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12097454891"
    },
    {
      "job": 117371578648,
      "time": 100,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12097474809"
    },
    {
      "job": 117371578661,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12097579097"
    },
    {
      "job": 117371578627,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12098140575"
    },
    {
      "job": 117371578632,
      "time": 281,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12098325637"
    },
    {
      "job": 117371578664,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12098265710"
    },
    {
      "job": 117371578577,
      "time": 301,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12098071802"
    },
    {
      "job": 117370498554,
      "time": 354,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12097663070"
    },
    {
      "job": 117371578636,
      "time": 462,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12098231438"
    },
    {
      "job": 117371578670,
      "time": 347,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12098385549"
    },
    {
      "job": 117371578609,
      "time": 137,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12098230829"
    },
    {
      "job": 117371578620,
      "time": 127,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12098265671"
    },
    {
      "job": 117371578619,
      "time": 340,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12097771788"
    },
    {
      "job": 117371578660,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12097801473"
    }
  ],
  "_upstream": "https://github.com/jasonjfoster/rollshap",
  "_commit": {
    "id": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
    "author": "Jason Foster <jason.j.foster@gmail.com>",
    "committer": "Jason Foster <jason.j.foster@gmail.com>",
    "message": "Version: 1.0.2\n",
    "time": 1788392903
  },
  "_maintainer": {
    "name": "Jason Foster",
    "email": "jason.j.foster@gmail.com",
    "login": "jasonjfoster",
    "description": "",
    "uuid": 7542282
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "roll",
      "version": ">= 1.1.7",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "relaimpo",
      "role": "Suggests"
    },
    {
      "package": "roll",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "zoo",
      "role": "Suggests"
    }
  ],
  "_owner": "jasonjfoster",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-52",
      "n": 9
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 2
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "algorithms",
    "rcpp",
    "shapley",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "jasonjfoster",
      "count": 44,
      "uuid": 7542282
    }
  ],
  "_userbio": {
    "uuid": 7542282,
    "type": "user",
    "name": "Jason Foster",
    "followers": 28
  },
  "_downloads": {
    "count": 267,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rollshap"
  },
  "_devurl": "https://github.com/jasonjfoster/rollshap",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rollshap.html"
  ],
  "_homeurl": "https://github.com/jasonjfoster/rollshap",
  "_realowner": "jasonjfoster",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2026-05-21"
    }
  ],
  "_exports": [
    "roll_shap"
  ],
  "_help": [
    {
      "page": "rollshap-package",
      "title": "Rolling Shapley Values",
      "topics": [
        "rollshap-package",
        "rollshap"
      ]
    },
    {
      "page": "roll_shap",
      "title": "Rolling Shapley Values",
      "topics": [
        "roll_shap"
      ]
    }
  ],
  "_readme": "https://github.com/jasonjfoster/rollshap/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "roll"
  ],
  "_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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 4.380211241711606,
  "_indexed": true,
  "_nocasepkg": "rollshap",
  "_universes": [
    "jasonjfoster"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-17T10:15:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/6e90877e0c23ec658042a5469cec363597eeae3e0491eb91675560cd5f9afcf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-17T10:15:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/9fc05e27602025c2ac20d889383224aa839474bf69431109a5a36c75c2fd41b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-17T10:15:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/7afe88b1f8fd5ad4905af4b53aa2d327eb4d79b2f19fd90b57b22c6d8ca03105",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-17T10:15:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/e452541daecc81cadf3f2e1d54ae7449e9bba7541cc275ff47ab320468c8775b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-17T10:15:29.000Z",
      "arch": "aarch64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/1631ebb1d3865f9d6bbe67ed8778d03d0cc9f9d9357089b6a51264a2660d9d98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-17T10:17:29.000Z",
      "arch": "x86_64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/67fd66aa7e47f108aec51cb01988b8be118f9a5eeede3571695cf4dde6a66099",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-17T10:15:27.000Z",
      "arch": "aarch64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/6ee72c9537d56ddd9aa58cb57cb2b421563d6d63db408df7fdeed9ebcc2bde5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-17T10:17:54.000Z",
      "arch": "x86_64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/faca8a88b4dbc6aa9d5443c60e4bea0ab402ad61691a303955a29783bce1595d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-10-17T10:21:31.000Z",
      "arch": "emscripten",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/163c266dab04087f760762cf71f807fcb4bd864c69bb29f58ecfdbc436371673",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-17T10:18:38.000Z",
      "arch": "aarch64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/e501fc88ec673bea63b268bc325b2a95efde31e938d72737f245dd47aae1e136",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-17T10:14:35.000Z",
      "arch": "x86_64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/ccb85697c1c9e80462d813ff40fadc5eab40d759884bca0f779a2003326aa2e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-17T10:15:09.000Z",
      "arch": "x86_64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/ab4fe15b0b838857d4c157e470aa21ff0b9c85ca7a67755a71ee950e2f0e2930",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-17T10:18:22.000Z",
      "arch": "aarch64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/570168f71b59faf7fb6ef403853744cac6713b9e1e7a6326a0ce8feeac80d368",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-17T10:15:12.000Z",
      "arch": "x86_64",
      "commit": "fe5a22e3cf5234a973e5ab84165bb3b99985e286",
      "fileid": "https://r2.ropensci.org/0ba29549bfc0fd719188ef189fa26fbdf6740a209ace9ec3a643db5cceb07f40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/39023714260"
    }
  ]
}