{
  "_id": "6ae31dc795ca2370cc8cda01",
  "Package": "rollshap",
  "Type": "Package",
  "Title": "Rolling Shapley Values",
  "Version": "1.0.1",
  "Authors@R": "person(\"Jason\", \"Foster\", , \"jason.j.foster@gmail.com\", 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 '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",
  "SystemRequirements": "GNU make",
  "Encoding": "UTF-8",
  "Config/roxygen2/old_usage": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 10:15:10 UTC",
    "User": "root"
  },
  "Author": "Jason Foster [aut, cre]",
  "Maintainer": "Jason Foster <jason.j.foster@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-21 09:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/rollshap",
  "RemoteRef": "HEAD",
  "RemoteSha": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
  "_user": "cran",
  "_type": "src",
  "_file": "rollshap_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/35cdbcbcb4fea0880eadd38f7cfdf5330f4f5e543243dd259f9bf5a5a91f48fe",
  "_filesize": 94417,
  "_sha256": "35cdbcbcb4fea0880eadd38f7cfdf5330f4f5e543243dd259f9bf5a5a91f48fe",
  "_expires": "2027-02-06T10:19:49.000Z",
  "_created": "2026-10-29T10:15:10.000Z",
  "_published": "2026-10-29T10:19:51.029Z",
  "_upstream": "https://github.com/cran/rollshap",
  "_status": "success",
  "_maintainer": {
    "name": "Jason Foster",
    "email": "jason.j.foster@gmail.com",
    "login": "jasonjfoster",
    "description": "",
    "uuid": 7542282
  },
  "_jobs": [
    {
      "job": 123387543628,
      "time": 106,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12888698808"
    },
    {
      "job": 123387543713,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12889211995"
    },
    {
      "job": 123387543749,
      "time": 95,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12889810905"
    },
    {
      "job": 123387543588,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12889182639"
    },
    {
      "job": 123385878619,
      "time": 215,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12889646024"
    },
    {
      "job": 123387543673,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12889975584"
    },
    {
      "job": 123387543681,
      "time": 214,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12889946039"
    },
    {
      "job": 123387543710,
      "time": 158,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12889775920"
    },
    {
      "job": 123387543786,
      "time": 225,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12889576487"
    },
    {
      "job": 123387543633,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12889795773"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193",
  "_commit": {
    "id": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
    "author": "Jason Foster <jason.j.foster@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.1\n",
    "time": 1779354602
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.2",
      "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": "testthat",
      "role": "Suggests"
    },
    {
      "package": "zoo",
      "role": "Suggests"
    },
    {
      "package": "relaimpo",
      "role": "Suggests"
    },
    {
      "package": "roll",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.1",
      "date": "2026-05-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jasonjfoster",
      "count": 1,
      "uuid": 7542282
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 234,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rollshap"
  },
  "_devurl": "https://github.com/jasonjfoster/rollshap",
  "_searchresults": 2,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rollshap.html"
  ],
  "_homeurl": "https://github.com/jasonjfoster/rollshap",
  "_realowner": "jasonjfoster",
  "_cranurl": false,
  "_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/cran/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": 1.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "rollshap",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://jasonjfoster.r-universe.dev/rollshap",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-29T10:17:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/4222c4e519eeb3c1f55f1d131c25529168867ad8785aff0f72c6629f451cc31b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-29T10:17:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/30178a437f5901b9827d1d5187ecf5647ef30f808cb9afb7135a22b09072c18f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-29T10:17:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/e59ae971167a9b2d8afe17bf0459225336e21f3236098be29b413bf66a1cb44c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-29T10:17:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/3a0e099a3c62c6dd046fc63c45c16fa6f9e86f19b9aa6df98090255452cb0ac9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-10-29T10:17:28.000Z",
      "arch": "emscripten",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/5e6e9267ee58840babc44cbeeb762e1638cf6c58c815bb3f6ae6daf49e49120d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-29T10:18:42.000Z",
      "arch": "aarch64",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/a761b649ac347b23fa8d17d360bb9e748331a84caff0fce2a1f4cd6de9269f0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-29T10:16:41.000Z",
      "arch": "x86_64",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/28cefd84e42f0320eb933a92f3265facf531e169f9446b3add1891711c2c025d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-29T10:18:53.000Z",
      "arch": "aarch64",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/af6f471720bc0c350484841d5574a842e53360f0291a20703210edb15c7cd7f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-29T10:16:42.000Z",
      "arch": "x86_64",
      "commit": "ccb6c1bed9d606384b1435bd0d3ee491fd15f0a0",
      "fileid": "https://r2.ropensci.org/68641d89375ecaa6d6dce2b584b0bfae7e3168b457f8fa37aba190302322e96f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40855620193"
    }
  ]
}