{
  "_id": "6a223aadcd65a98ecbd43c66",
  "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-06-04 23:59:28 UTC",
  "RemoteUrl": "https://github.com/jasonjfoster/rolloptim",
  "RemoteRef": "HEAD",
  "RemoteSha": "2bab81546f732519b8421d9f95e966421d48a01a",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 02:51:22 UTC",
    "User": "root"
  },
  "Author": "Jason Foster [aut, cre]",
  "Maintainer": "Jason Foster <jason.j.foster@gmail.com>",
  "MD5sum": "4a50f35dc9e8ad6fa632c4e700a24dae",
  "_user": "jasonjfoster",
  "_type": "src",
  "_file": "rolloptim_1.0.0.tar.gz",
  "_fileid": "3a0ac3cd4dc5efc01fb1463de36e19c9006f16177fbec0ef6a2ac3eefd713057",
  "_filesize": 105458,
  "_sha256": "3a0ac3cd4dc5efc01fb1463de36e19c9006f16177fbec0ef6a2ac3eefd713057",
  "_created": "2026-06-05T02:51:22.000Z",
  "_published": "2026-06-05T02:55:41.905Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79655015454,
      "time": 147,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7427819018"
    },
    {
      "job": 79655015472,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7427813751"
    },
    {
      "job": 79655015443,
      "time": 146,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7427818913"
    },
    {
      "job": 79655015448,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7427815823"
    },
    {
      "job": 79655015456,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7427807263"
    },
    {
      "job": 79655015451,
      "time": 212,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7427829443"
    },
    {
      "job": 79655015457,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7427810573"
    },
    {
      "job": 79655015465,
      "time": 217,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7427830165"
    },
    {
      "job": 79654741043,
      "time": 180,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7427790565"
    },
    {
      "job": 79655015447,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7427812418"
    },
    {
      "job": 79655015436,
      "time": 116,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7427812881"
    },
    {
      "job": 79655015433,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7427812061"
    },
    {
      "job": 79655015446,
      "time": 106,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7427810768"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jasonjfoster/rolloptim",
  "_commit": {
    "id": "2bab81546f732519b8421d9f95e966421d48a01a",
    "author": "Jason Foster <jason.j.foster@gmail.com>",
    "committer": "Jason Foster <jason.j.foster@gmail.com>",
    "message": "Version: 1.0.0\n",
    "time": 1780617568
  },
  "_maintainer": {
    "name": "Jason Foster",
    "email": "jason.j.foster@gmail.com",
    "login": "jasonjfoster",
    "description": "",
    "uuid": 7542282
  },
  "_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": 4
    }
  ],
  "_tags": [],
  "_topics": [
    "algorithms",
    "optimization",
    "rcpp",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "jasonjfoster",
      "count": 79,
      "uuid": 7542282
    }
  ],
  "_userbio": {
    "uuid": 7542282,
    "type": "user",
    "name": "Jason Foster"
  },
  "_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.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 3.414973347970818,
  "_indexed": true,
  "_nocasepkg": "rolloptim",
  "_universes": [
    "jasonjfoster"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-05T02:54:00.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "602838a3c9921dc00af12621da6bc563634e9085b9dea52cf5be108a57e6eae5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-05T02:53:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "19daca1f30e22d0b13be166d14a868fcdca6148cd7967dd759dd1e0986471938",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-05T02:53:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "cf0541fd997c9595b84aae4c374f0af9444c62767e574bcbbad481e7b8b01030",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-05T02:53:39.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "2c3b16f7fc256fc7b51172182dd629a8661ab15f984f88970c5d05db5288d248",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-05T02:53:00.000Z",
      "arch": "aarch64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "15600bbb3c28dcd94a0049532e6efb5d9864333ba75d64218e1e0e76bc255248",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-05T02:54:33.000Z",
      "arch": "x86_64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "2cf94954a86082083d27ad283ba4d7047facd4eab06b75f5eb64a6c2d9b58f27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-05T02:53:13.000Z",
      "arch": "aarch64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "b43386470613c5fb3c125aa8a5605f931d59a54f6b9397d490e5e2e0f5507c6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-05T02:54:34.000Z",
      "arch": "x86_64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "bcd020bc2de6a8102d682a0d6ca9ea8fd3eebcde5ece45403bb7f2a34544630c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-05T02:53:33.000Z",
      "arch": "emscripten",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "86e6af71114cda1717b7c6a06746f2faf6a31712f9b80630b5200962cfbee63f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-05T02:52:55.000Z",
      "arch": "x86_64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "4d67dec0f2ad3ef8ddbf9a98983a4ba207051e57d13e4e217d6bbf85f68fae9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-05T02:52:45.000Z",
      "arch": "x86_64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "6a1a1c34afd4e86365f630fd61349edffd02bfa4910a22049538e1b1160e2313",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-05T02:52:41.000Z",
      "arch": "x86_64",
      "commit": "2bab81546f732519b8421d9f95e966421d48a01a",
      "fileid": "2fb0c056d0e50522c8a2f2c0b7760354e6828a642c8a0cfc03c9c965bbf3eebd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jasonjfoster/actions/runs/26992284038"
    }
  ]
}