{
  "_id": "6ac0a7ee91601a2ad2996de9",
  "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": "cmake make",
  "Repository": "https://jasonjfoster.r-universe.dev",
  "Date/Publication": "2026-09-02 23:55:19 UTC",
  "RemoteUrl": "https://github.com/jasonjfoster/rolloptim",
  "RemoteRef": "HEAD",
  "RemoteSha": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-03 06:52:42 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/a3b1ea14c851378a81d7a83b1d80809fbb3619d79d45fcb1f4142ad20d7b5cfe",
  "_filesize": 108008,
  "_sha256": "a3b1ea14c851378a81d7a83b1d80809fbb3619d79d45fcb1f4142ad20d7b5cfe",
  "_expires": "2027-01-11T06:59:56.000Z",
  "_created": "2026-10-03T06:52:42.000Z",
  "_published": "2026-10-03T06:59:58.122Z",
  "_jobs": [
    {
      "job": 111150294172,
      "time": 144,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11267236927"
    },
    {
      "job": 111150294229,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11267916288"
    },
    {
      "job": 111150294177,
      "time": 106,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11267706528"
    },
    {
      "job": 111150294178,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11267806442"
    },
    {
      "job": 111150294190,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11267096436"
    },
    {
      "job": 111150294159,
      "time": 258,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11267286200"
    },
    {
      "job": 111150294148,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11267366791"
    },
    {
      "job": 111150294289,
      "time": 318,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11267721059"
    },
    {
      "job": 111149794116,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11267510807"
    },
    {
      "job": 111150294125,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11267092137"
    },
    {
      "job": 111150294207,
      "time": 373,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11267346258"
    },
    {
      "job": 111150294204,
      "time": 150,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11267541625"
    },
    {
      "job": 111150294166,
      "time": 112,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11267451809"
    },
    {
      "job": 111150294271,
      "time": 384,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11267831676"
    },
    {
      "job": 111150294165,
      "time": 105,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11268180350"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084",
  "_status": "success",
  "_upstream": "https://github.com/jasonjfoster/rolloptim",
  "_commit": {
    "id": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
    "author": "Jason Foster <jason.j.foster@gmail.com>",
    "committer": "Jason Foster <jason.j.foster@gmail.com>",
    "message": "Version: 1.0.0\n",
    "time": 1788393319
  },
  "_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
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "algorithms",
    "optimization",
    "rcpp",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "jasonjfoster",
      "count": 84,
      "uuid": 7542282
    }
  ],
  "_userbio": {
    "uuid": 7542282,
    "type": "user",
    "name": "Jason Foster",
    "followers": 28
  },
  "_downloads": {
    "count": 319,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rolloptim"
  },
  "_devurl": "https://github.com/jasonjfoster/rolloptim",
  "_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/rolloptim.html"
  ],
  "_homeurl": "https://github.com/jasonjfoster/rolloptim",
  "_realowner": "jasonjfoster",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-07-11"
    }
  ],
  "_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.505149978319906,
  "_indexed": true,
  "_nocasepkg": "rolloptim",
  "_universes": [
    "jasonjfoster"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-03T06:55:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/be7235c64d69035b8d342371aff5f58ef62fca9dd8e2451302c911c90f500d57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-03T06:54:53.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/3796a2ec5b247e16b3f0c3dce28f9ec71268daf49e99db6d4c05c0d689c66581",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-03T06:54:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/fe4f31720b1328afdda71ef190a6e6ba63a71f159b3a469f294583d5358c76d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-03T06:54:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/2bad223ac409dfbb3b9be1afb7596acfb884352844d743160c14a00e4075dac8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-03T06:55:33.000Z",
      "arch": "aarch64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/94274d8b158770f60c185fb003f9155657cb97c7bc87722d84cd4faeefe8679f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-03T06:56:24.000Z",
      "arch": "x86_64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/c776f13a98bad107361e6d03b9b1cf8b8fe6212a38eb10805f51b55a737fc332",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-03T06:55:16.000Z",
      "arch": "aarch64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/906766cf7f778ccaea4ba1ebdf0388093e7f916979013947471c3105ede3aa69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-03T06:56:41.000Z",
      "arch": "x86_64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/c8289251fc5ba46c52f5656f623adc3318ca7856b88b3160a41247e7ce4e305e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-03T06:54:43.000Z",
      "arch": "emscripten",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/bcb06303c28c7da27839c8711b89a489f0d9b12722ff60b6daf76995cb5e68de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-03T06:58:33.000Z",
      "arch": "aarch64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/4cf4933cd39314d562b97adeec040bb8cab418edb82cefac4f32e76683fc89c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-03T06:54:04.000Z",
      "arch": "x86_64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/d9951d2eba25d9c51fc9d922b3c5093e1a6a8f4004a84947fe246e60c9cf7bc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-03T06:54:02.000Z",
      "arch": "x86_64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/eee57934d35d992064c7a31784a04ddf07c53290b48fdf2edc5392a079e89c17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-03T06:58:33.000Z",
      "arch": "aarch64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/8d76a7971a114df60a9fff4429841e628a9a85937c19cd214d95df1164b7d1bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-03T06:53:56.000Z",
      "arch": "x86_64",
      "commit": "7e7a83e5c73ceeea7e1c6d4d1544e2b76175395f",
      "fileid": "https://r2.ropensci.org/10e37a10ff9c25b60248d7df7ce4646459b3ffc89e321112b2d9fe62976af9b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/37104308084"
    }
  ]
}