{
  "_id": "6aff91e3a41fd91eece4beac",
  "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.1.1",
  "Encoding": "UTF-8",
  "SystemRequirements": "GNU make",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://jasonjfoster.r-universe.dev",
  "Date/Publication": "2026-11-19 23:50:35 UTC",
  "RemoteUrl": "https://github.com/jasonjfoster/rollshap",
  "RemoteRef": "HEAD",
  "RemoteSha": "ae13cac466468ebd57a98514cd51c85c43564f00",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-20 00:13:14 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/0b1d9dc82b9fc3867f936a0ee0573d7b38fdab06414ecb40500756a64fdac540",
  "_filesize": 98747,
  "_sha256": "0b1d9dc82b9fc3867f936a0ee0573d7b38fdab06414ecb40500756a64fdac540",
  "_expires": "2027-02-28T00:18:42.000Z",
  "_created": "2026-11-20T00:13:14.000Z",
  "_published": "2026-11-20T00:18:43.775Z",
  "_upstream": "https://github.com/jasonjfoster/rollshap",
  "_status": "success",
  "_maintainer": {
    "name": "Jason Foster",
    "email": "jason.j.foster@gmail.com",
    "login": "jasonjfoster",
    "description": "",
    "uuid": 7542282
  },
  "_jobs": [
    {
      "job": 135982333673,
      "time": 122,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14587223189"
    },
    {
      "job": 135982333564,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14586624632"
    },
    {
      "job": 135982333631,
      "time": 104,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14587957856"
    },
    {
      "job": 135982333512,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14587927980"
    },
    {
      "job": 135982333698,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14588012867"
    },
    {
      "job": 135982333629,
      "time": 209,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14588535179"
    },
    {
      "job": 135982333624,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14587698371"
    },
    {
      "job": 135982333496,
      "time": 262,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14588490308"
    },
    {
      "job": 135980742712,
      "time": 203,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14587233375"
    },
    {
      "job": 135982333570,
      "time": 192,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14586534983"
    },
    {
      "job": 135982333617,
      "time": 232,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14588445353"
    },
    {
      "job": 135982333610,
      "time": 124,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14587698340"
    },
    {
      "job": 135982333837,
      "time": 122,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14586714661"
    },
    {
      "job": 135982333638,
      "time": 207,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14586994303"
    },
    {
      "job": 135982333658,
      "time": 119,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14587502655"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174",
  "_commit": {
    "id": "ae13cac466468ebd57a98514cd51c85c43564f00",
    "author": "Jason Foster <jason.j.foster@gmail.com>",
    "committer": "Jason Foster <jason.j.foster@gmail.com>",
    "message": "Version: 1.0.2\n",
    "time": 1795132235
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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
    },
    {
      "week": "2026-44",
      "n": 1
    },
    {
      "week": "2026-46",
      "n": 2
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "algorithms",
    "rcpp",
    "shapley",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "jasonjfoster",
      "count": 48,
      "uuid": 7542282
    }
  ],
  "_userbio": {
    "uuid": 7542282,
    "type": "user",
    "name": "Jason Foster",
    "followers": 29
  },
  "_downloads": {
    "count": 402,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rollshap"
  },
  "_devurl": "https://github.com/jasonjfoster/rollshap",
  "_abi": {
    "exports": [
      {
        "key": "rollshap/include",
        "hash": "912dfff6225c8afd"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::char_nocheck()",
        "hash": "b9506dcc532aefab"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_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"
    }
  ],
  "_authors": [
    {
      "name": "Jason Foster",
      "email": "jason.j.foster@gmail.com",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_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.45484486000851,
  "_indexed": true,
  "_nocasepkg": "rollshap",
  "_universes": [
    "jasonjfoster"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-20T00:15:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/bdef12f1225c96e704d9e64892accc883b9543ca124aefe77917409dac374307",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-20T00:15:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/eea6c9a40bbdc2596f3b58ebafcb185d0b3d5b931d09293a95d8ec3ff5116cc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-20T00:15:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/fc0ae2e8049db7a70f785dc1ba88191ed7e00416e7a54772bf6c4aa76cd1f2fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-20T00:15:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/fc528023c6d053f11f7505de63d0a35c1efe93561b25f68b4159701150a22990",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-11-20T00:15:41.000Z",
      "arch": "aarch64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/7335501963691d70bcc1d078d4091fe7248c758cd4c5f5942ffd4c5428bce291",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-11-20T00:16:36.000Z",
      "arch": "x86_64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/fb7133c71210985ce5e92b076d6b31b4891e38b629ef6491fc8a94fdfd1e365b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-11-20T00:15:34.000Z",
      "arch": "aarch64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/f375da2808ed56e11a3892a384157848e71da3cfd65e9b0528beea6d5c73aa7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-11-20T00:17:05.000Z",
      "arch": "x86_64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/1fbebf70288db8c7ca5dc4cd42d7e88af4148bf748848663bfcd02f74cc85f9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-11-20T00:16:41.000Z",
      "arch": "emscripten",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/b0337ac4023b0b1ebbf55d284b1fcea05bbaaaf5bbde6412716095b2a188cb21",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-20T00:16:51.000Z",
      "arch": "aarch64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/e9841558c55e7453cec904f8b5116b6937e36294799631d343f15e515c1e9e96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-20T00:14:25.000Z",
      "arch": "x86_64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/f4c6a0f0cb5183c394f83f141b8584439476f214bc3e3957233d6e11a11c1d7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-20T00:14:34.000Z",
      "arch": "x86_64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/f2a2f4b8a0d0a94a8ed1582f4dbb3e2716eca462dcb3b5e795c559aa78e79a51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-20T00:16:25.000Z",
      "arch": "aarch64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/a311a9b28522a241f87d7fba0c6e78c3143c8fcaf3f9946ce92c0c39a2e9456e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-20T00:14:34.000Z",
      "arch": "x86_64",
      "commit": "ae13cac466468ebd57a98514cd51c85c43564f00",
      "fileid": "https://r2.ropensci.org/637cdfb02dc73666cb3a307a44ac602bf1f1adf9fbe3d063e2a3e8a3dc4f10f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44643624174"
    }
  ]
}