{
  "_id": "6affa9bba59869b708580728",
  "Type": "Package",
  "Package": "rolloptim",
  "Title": "Rolling Optimizations",
  "Version": "1.0.1",
  "Authors@R": "person(\"Jason\", \"Foster\", , \"jason.j.foster@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Analytical computation of rolling optimization for\ntime-series data. The 'rolloptim' package solves constrained\nquadratic and linear programs in closed form by applying\nLagrangian multipliers and the Karush-Kuhn-Tucker conditions\n(Kuhn and Tucker, 1951, <doi:10.1525/9780520411586-036>) to\nperform mean-variance portfolio optimization (Markowitz, 1952,\n<doi:10.1111/j.1540-6261.1952.tb01525.x>) over rolling windows.\nFor each window, the analytical solution computes the optimal\nweights that minimize variance, maximize expected return,\nminimize residual sum of squares, or maximize quadratic\nutility, subject to a total-weight equality constraint and box\nbounds on each weight. Use cases include mean-variance\nportfolio optimization, expected-return maximization, and\nconstrained regression. The package supports rolling\noptimizations with constraints via the total, lower, and upper\narguments. The implementation accepts rolling moments computed\nvia the 'roll' package and uses 'RcppArmadillo' for linear\nalgebra, with parallelism across windows provided by\n'RcppParallel'.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/jasonjfoster/rolloptim",
  "BugReports": "https://github.com/jasonjfoster/rolloptim/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-20 00:49:35 UTC",
  "RemoteUrl": "https://github.com/jasonjfoster/rolloptim",
  "RemoteRef": "HEAD",
  "RemoteSha": "62a97b4550cb925221087fb81f30d03470c30515",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-20 01:53:19 UTC",
    "User": "root"
  },
  "Author": "Jason Foster [aut, cre]",
  "Maintainer": "Jason Foster <jason.j.foster@gmail.com>",
  "_user": "jasonjfoster",
  "_type": "src",
  "_file": "rolloptim_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/3970d2d64f432d6a66d0fe41bbd8b389dbeb7f5866189608c12b6a1cedc58da7",
  "_filesize": 112733,
  "_sha256": "3970d2d64f432d6a66d0fe41bbd8b389dbeb7f5866189608c12b6a1cedc58da7",
  "_expires": "2027-02-28T02:00:23.000Z",
  "_created": "2026-11-20T01:53:19.000Z",
  "_published": "2026-11-20T02:00:26.843Z",
  "_upstream": "https://github.com/jasonjfoster/rolloptim",
  "_status": "success",
  "_maintainer": {
    "name": "Jason Foster",
    "email": "jason.j.foster@gmail.com",
    "login": "jasonjfoster",
    "description": "",
    "uuid": 7542282
  },
  "_jobs": [
    {
      "job": 136025286310,
      "time": 170,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14594155938"
    },
    {
      "job": 136025286374,
      "time": 207,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14593233956"
    },
    {
      "job": 136025286356,
      "time": 162,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14593308319"
    },
    {
      "job": 136025286311,
      "time": 173,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14592969264"
    },
    {
      "job": 136025286369,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14593213816"
    },
    {
      "job": 136025286573,
      "time": 286,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14593911809"
    },
    {
      "job": 136025286386,
      "time": 176,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14594260875"
    },
    {
      "job": 136025286344,
      "time": 363,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14593901774"
    },
    {
      "job": 136023550786,
      "time": 265,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14594400262"
    },
    {
      "job": 136025286290,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14593676980"
    },
    {
      "job": 136025286553,
      "time": 236,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14593597510"
    },
    {
      "job": 136025286373,
      "time": 180,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14593906401"
    },
    {
      "job": 136025286375,
      "time": 139,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14593158885"
    },
    {
      "job": 136025286363,
      "time": 231,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14593936513"
    },
    {
      "job": 136025286540,
      "time": 133,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14593059040"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923",
  "_commit": {
    "id": "62a97b4550cb925221087fb81f30d03470c30515",
    "author": "Jason Foster <jason.j.foster@gmail.com>",
    "committer": "Jason Foster <jason.j.foster@gmail.com>",
    "message": "Version: 1.0.1\n",
    "time": 1795135775
  },
  "_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": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "CVXR",
      "role": "Suggests"
    },
    {
      "package": "ROI",
      "role": "Suggests"
    },
    {
      "package": "ROI.plugin.glpk",
      "role": "Suggests"
    },
    {
      "package": "ROI.plugin.qpoases",
      "role": "Suggests"
    },
    {
      "package": "ROI.plugin.quadprog",
      "role": "Suggests"
    },
    {
      "package": "roll",
      "version": ">= 1.1.7",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "zoo",
      "role": "Suggests"
    }
  ],
  "_owner": "jasonjfoster",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-01",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 5
    },
    {
      "week": "2026-27",
      "n": 2
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 1
    },
    {
      "week": "2026-44",
      "n": 2
    },
    {
      "week": "2026-45",
      "n": 1
    },
    {
      "week": "2026-46",
      "n": 3
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "algorithms",
    "optimization",
    "rcpp",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "jasonjfoster",
      "count": 91,
      "uuid": 7542282
    }
  ],
  "_userbio": {
    "uuid": 7542282,
    "type": "user",
    "name": "Jason Foster",
    "followers": 29
  },
  "_downloads": {
    "count": 405,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rolloptim"
  },
  "_devurl": "https://github.com/jasonjfoster/rolloptim",
  "_abi": {
    "exports": [
      {
        "key": "rolloptim/include",
        "hash": "d2d440c1ff6b2deb"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "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/rolloptim.html"
  ],
  "_homeurl": "https://github.com/jasonjfoster/rolloptim",
  "_realowner": "jasonjfoster",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-07-11"
    }
  ],
  "_authors": [
    {
      "name": "Jason Foster",
      "email": "jason.j.foster@gmail.com",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "roll_max_mean",
    "roll_max_utility",
    "roll_min_rss",
    "roll_min_var"
  ],
  "_help": [
    {
      "page": "rolloptim-package",
      "title": "Rolling Optimizations",
      "topics": [
        "rolloptim-package",
        "rolloptim"
      ]
    },
    {
      "page": "roll_max_mean",
      "title": "Rolling Optimizations to Maximize Mean",
      "topics": [
        "roll_max_mean"
      ]
    },
    {
      "page": "roll_max_utility",
      "title": "Rolling Optimizations to Maximize Utility",
      "topics": [
        "roll_max_utility"
      ]
    },
    {
      "page": "roll_min_rss",
      "title": "Rolling Optimizations to Minimize Residual Sum of Squares",
      "topics": [
        "roll_min_rss"
      ]
    },
    {
      "page": "roll_min_var",
      "title": "Rolling Optimizations to Minimize Variance",
      "topics": [
        "roll_min_var"
      ]
    }
  ],
  "_readme": "https://github.com/jasonjfoster/rolloptim/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel"
  ],
  "_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.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "rolloptim",
  "_universes": [
    "jasonjfoster"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-20T01:56:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/bfaae66525d67fb00ab1919344416eb364acf5520204417ede9c4abb943d76ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-20T01:56:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/0597938330d1d8bb30e7183765d3fb5ec3fac2a0fcb20dfb534e5ab7236a0a5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-20T01:55:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/c7619011bb8e9fdd5084dded5d04c13b6c7fbf02cfcba2d79bb2572bad78d4e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-20T01:55:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/3efbc694607a6a597df8ea75cfa31740a173f89aa88e6202bf4dc12ee460550c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-20T01:55:37.000Z",
      "arch": "aarch64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/30195d8814c855b4a2423ffaaafd50980e1ae55835ea2b6c523738d521778470",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-20T01:56:27.000Z",
      "arch": "x86_64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/f8567ee80f8b1bfaa7e1286afc5dde7f53d8068f5dddbae79ad5c34cee99ee58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-20T01:55:53.000Z",
      "arch": "aarch64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/c33f1b8642867eec0e98b7a19f4672d8ba26b233435a1ee8d7dc69a4759b07dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-20T01:58:02.000Z",
      "arch": "x86_64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/a3e8174b95a8ec7e567402b2fbf3a259c5a24f3cae55740d61a8195a3fe7b5ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-11-20T01:55:43.000Z",
      "arch": "emscripten",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/1a1338b63503d5ad6bdb52914722e107d9524feb95d4ba1888d1337f6f0b525a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-20T01:56:39.000Z",
      "arch": "aarch64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/057d0edbaa322345c6260a8da68c31ca857481924b8beade70ffc251c275fc9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-20T01:54:42.000Z",
      "arch": "x86_64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/834866f193bb40aca5e65946fe8139a36d47dda7c1b40b63e39d750334d725a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-20T01:54:42.000Z",
      "arch": "x86_64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/b3e1ef812966a4bd415b0142d9bfda8c2e73f0dde63584b3c87f36fd1ce8ba40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-20T01:56:33.000Z",
      "arch": "aarch64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/45b3dd478bf4a39996e52e71834ea518008a7ad430469e94cf48cbdc56ec55ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-20T01:54:50.000Z",
      "arch": "x86_64",
      "commit": "62a97b4550cb925221087fb81f30d03470c30515",
      "fileid": "https://r2.ropensci.org/a7c952d8663c9b339a059f6e92bd2df40445cd2b0c0cf94501eff3be6d51163a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/44656361923"
    }
  ]
}