{
  "_id": "6a4a91521e9cffeb4b833d7e",
  "Type": "Package",
  "Package": "rolloptim",
  "Title": "Rolling Optimizations",
  "Version": "1.0.0",
  "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.0.0",
  "Encoding": "UTF-8",
  "SystemRequirements": "GNU make",
  "Config/pak/sysreqs": "make",
  "Repository": "https://jasonjfoster.r-universe.dev",
  "Date/Publication": "2026-07-05 16:55:54 UTC",
  "RemoteUrl": "https://github.com/jasonjfoster/rolloptim",
  "RemoteRef": "HEAD",
  "RemoteSha": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-05 17:07:04 UTC",
    "User": "root"
  },
  "Author": "Jason Foster [aut, cre]",
  "Maintainer": "Jason Foster <jason.j.foster@gmail.com>",
  "_user": "jasonjfoster",
  "_type": "src",
  "_file": "rolloptim_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e70f9b9b724f5087a60627d007efa4b54fdddd521118e3588e5d8c0db2836e69",
  "_filesize": 107327,
  "_sha256": "e70f9b9b724f5087a60627d007efa4b54fdddd521118e3588e5d8c0db2836e69",
  "_expires": "2026-10-13T17:16:01.000Z",
  "_created": "2026-07-05T17:07:04.000Z",
  "_published": "2026-07-05T17:16:02.836Z",
  "_jobs": [
    {
      "job": 85243195272,
      "time": 486,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093993688"
    },
    {
      "job": 85243195258,
      "time": 488,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093993653"
    },
    {
      "job": 85243195251,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093952778"
    },
    {
      "job": 85243195249,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093949263"
    },
    {
      "job": 85243195230,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093946828"
    },
    {
      "job": 85243195233,
      "time": 215,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093960623"
    },
    {
      "job": 85243195205,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093948006"
    },
    {
      "job": 85243195222,
      "time": 268,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093966873"
    },
    {
      "job": 85242971867,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093933210"
    },
    {
      "job": 85243195192,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8093951583"
    },
    {
      "job": 85243195225,
      "time": 127,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093949432"
    },
    {
      "job": 85243195202,
      "time": 164,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093954098"
    },
    {
      "job": 85243195223,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093951310"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382",
  "_status": "success",
  "_upstream": "https://github.com/jasonjfoster/rolloptim",
  "_commit": {
    "id": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
    "author": "Jason Foster <jason.j.foster@gmail.com>",
    "committer": "Jason Foster <jason.j.foster@gmail.com>",
    "message": "Version: 1.2.2\n",
    "time": 1783270554
  },
  "_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": "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
    }
  ],
  "_tags": [],
  "_topics": [
    "algorithms",
    "optimization",
    "rcpp",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "jasonjfoster",
      "count": 82,
      "uuid": 7542282
    }
  ],
  "_userbio": {
    "uuid": 7542282,
    "type": "user",
    "name": "Jason Foster",
    "followers": 29
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rolloptim"
  },
  "_devurl": "https://github.com/jasonjfoster/rolloptim",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rolloptim.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_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": 3.4471580313422194,
  "_indexed": true,
  "_nocasepkg": "rolloptim",
  "_universes": [
    "jasonjfoster"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-05T17:15:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/78a4fb9dc1d62e1815fd8e6ad9e07af5df0494231e62192331fdbe5bac9c005c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-05T17:15:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/ce250b4c63c4d32b3a1e732683949995b9b6d4386ede81c3e79bb4c7cbe73071",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-05T17:09:46.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/d1cfbb501eb63cb28fce68874563c9ecac49611b53d595cc9844b6429d09af4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-05T17:09:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/9a58801224ca6397c09944af851439bf8777c10a52214ec2a114142412be9595",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-05T17:08:54.000Z",
      "arch": "aarch64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/5a9abb88f94e24f84d82e6278de47edd0de685592a241e63173c24e27dd9fb1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-05T17:10:02.000Z",
      "arch": "x86_64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/34473e558e124e0a699fff546be21428c12551f01598430c9b8230ee1883f6c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-05T17:08:54.000Z",
      "arch": "aarch64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/0fed6327eacf6a3eb2ce18b259f483a9ea04e473316b90241b90aef8cc60ce03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-05T17:10:50.000Z",
      "arch": "x86_64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/6bd05a0ff92509eb2a8e3dc9519f9f947e9ef2e961a7826a1febfdd62e996cf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-07-05T17:09:44.000Z",
      "arch": "emscripten",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/f4a95b0468677021144e59707e9f81180499f40c354039cdfbd7f01ee4c310d3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-05T17:08:46.000Z",
      "arch": "x86_64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/adbef5d00d30549df591843213e2c21bc8a381eab02c7c0b3367df6ecbc147c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-05T17:09:16.000Z",
      "arch": "x86_64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/674092512052433171a278367635051bc43d54e8da0be30a549d76e0f3691dac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-05T17:09:01.000Z",
      "arch": "x86_64",
      "commit": "897fe00b78bd5ab291e8eff68206e5cda19863d3",
      "fileid": "https://r2.ropensci.org/e716330a2451cb4084fccd846885330dd1ee5529999780c1408dc61840d830cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/28748312382"
    }
  ]
}