{
  "_id": "6a59ce0109eb0996dd68e155",
  "Package": "legion",
  "Type": "Package",
  "Title": "Forecasting Using Multivariate Models",
  "Version": "0.2.2.41003",
  "Date": "2025-10-24",
  "Authors@R": "c(person(\"Ivan\", \"Svetunkov\", email = \"ivan@svetunkov.com\", role = c(\"aut\", \"cre\"),\ncomment=\"Senior Lecturer, Centre for Marketing Analytics and Forecasting, Lancaster University, UK\"),\nperson(\"Kandrika Fadhlan\", \"Pritularga\", email = \"k.pritularga@lancaster.ac.uk\", role = c(\"aut\"),\ncomment=\"Lecturer, Centre for Marketing Analytics and Forecasting, Lancaster University, UK\"))",
  "URL": "https://github.com/config-i1/legion",
  "BugReports": "https://github.com/config-i1/legion/issues",
  "Language": "en-GB",
  "Description": "Functions implementing multivariate state space models for\npurposes of time series analysis and forecasting. The focus of\nthe package is on multivariate models, such as Vector\nExponential Smoothing, Vector ETS (Error-Trend-Seasonal model)\netc. It currently includes Vector Exponential Smoothing (VES,\nde Silva et al., 2010, <doi:10.1177/1471082X0901000401>),\nVector ETS (Svetunkov et al., 2023,\n<doi:10.1016/j.ejor.2022.04.040>) and simulation function for\nVES.",
  "License": "LGPL-2.1",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Encoding": "UTF-8",
  "Roxygen": "list(old_usage = TRUE)",
  "Config/pak/sysreqs": "cmake texlive libssl-dev",
  "Repository": "https://openforecast-org.r-universe.dev",
  "Date/Publication": "2025-11-21 10:52:22 UTC",
  "RemoteUrl": "https://github.com/openforecast-org/legion",
  "RemoteRef": "HEAD",
  "RemoteSha": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-17 06:31:43 UTC",
    "User": "root"
  },
  "Author": "Ivan Svetunkov [aut, cre] (Senior Lecturer, Centre for Marketing\nAnalytics and Forecasting, Lancaster University, UK),\nKandrika Fadhlan Pritularga [aut] (Lecturer, Centre for Marketing\nAnalytics and Forecasting, Lancaster University, UK)",
  "Maintainer": "Ivan Svetunkov <ivan@svetunkov.com>",
  "_user": "openforecast-org",
  "_type": "src",
  "_file": "legion_0.2.2.41003.tar.gz",
  "_fileid": "https://r2.ropensci.org/bd5d8c32f04d694a65e4c0c811df6b027f8ed02a5b8c07b823732205d6286b15",
  "_filesize": 1218675,
  "_sha256": "bd5d8c32f04d694a65e4c0c811df6b027f8ed02a5b8c07b823732205d6286b15",
  "_expires": "2026-10-25T06:38:55.000Z",
  "_created": "2026-07-17T06:31:43.000Z",
  "_published": "2026-07-17T06:38:57.231Z",
  "_jobs": [
    {
      "job": 87821226904,
      "time": 265,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8399066687"
    },
    {
      "job": 87821226900,
      "time": 246,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8399060578"
    },
    {
      "job": 87821226899,
      "time": 220,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8399053890"
    },
    {
      "job": 87821226909,
      "time": 211,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8399050060"
    },
    {
      "job": 87821226910,
      "time": 167,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8399030379"
    },
    {
      "job": 87821226884,
      "time": 303,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8399071049"
    },
    {
      "job": 87821226879,
      "time": 211,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8399041504"
    },
    {
      "job": 87821226888,
      "time": 293,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8399068523"
    },
    {
      "job": 87820322897,
      "time": 374,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8398985992"
    },
    {
      "job": 87821226870,
      "time": 349,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8399090925"
    },
    {
      "job": 87821226861,
      "time": 184,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8399041920"
    },
    {
      "job": 87821226868,
      "time": 182,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8399041360"
    },
    {
      "job": 87821226891,
      "time": 172,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8399038072"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217",
  "_status": "success",
  "_upstream": "https://github.com/openforecast-org/legion",
  "_commit": {
    "id": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
    "author": "Ivan Svetunkov <ivan@svetunkov.com>",
    "committer": "Ivan Svetunkov <ivan@svetunkov.com>",
    "message": "Typo fixed\n",
    "time": 1763722342
  },
  "_maintainer": {
    "name": "Ivan Svetunkov",
    "email": "ivan@svetunkov.com",
    "login": "config-i1",
    "linkedin": "in/isvetunkov",
    "twitter": "@iSvetunkov",
    "description": "",
    "uuid": 7396330
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "greybox",
      "version": ">= 1.0.4",
      "role": "Depends"
    },
    {
      "package": "smooth",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "version": ">= 0.8.100.0.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.3",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "generics",
      "version": ">= 0.1.2",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "doMC",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "foreach",
      "role": "Suggests"
    }
  ],
  "_owner": "openforecast-org",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 7
    },
    {
      "week": "2025-47",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 12,
  "_contributors": [
    {
      "user": "config-i1",
      "count": 28,
      "uuid": 7396330
    },
    {
      "user": "nikdraka",
      "count": 3,
      "uuid": 46902915
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 305433332,
    "type": "organization",
    "name": "OpenForecast",
    "followers": 3,
    "description": "Open-source forecasting tools, consulting, and training in demand forecasting and inventory management"
  },
  "_downloads": {
    "count": 633,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/legion"
  },
  "_devurl": "https://github.com/config-i1/legion",
  "_searchresults": 5,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/legion.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/openforecast-org/legion",
  "_realowner": "openforecast-org",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-05-17"
    },
    {
      "version": "0.1.1",
      "date": "2022-02-15"
    },
    {
      "version": "0.1.2",
      "date": "2023-01-31"
    },
    {
      "version": "0.2.1",
      "date": "2025-02-03"
    }
  ],
  "_exports": [
    "auto.vets",
    "is.legion",
    "is.legion.sim",
    "is.oves",
    "oves",
    "sim.ves",
    "ves",
    "vets"
  ],
  "_help": [
    {
      "page": "vets",
      "title": "Vector ETS-PIC model",
      "topics": [
        "auto.vets",
        "vets"
      ]
    },
    {
      "page": "isFunctions",
      "title": "legion classes checkers",
      "topics": [
        "is.legion",
        "is.legion.sim",
        "is.oves"
      ]
    },
    {
      "page": "legion",
      "title": "Legion package",
      "topics": [
        "legion-package",
        "legion"
      ]
    },
    {
      "page": "oves",
      "title": "Occurrence part of Vector State Space",
      "topics": [
        "oves"
      ]
    },
    {
      "page": "plot.legion",
      "title": "Plots for the fit and states",
      "topics": [
        "plot.legion"
      ]
    },
    {
      "page": "sim.ves",
      "title": "Simulate Vector Exponential Smoothing",
      "topics": [
        "sim.ves"
      ]
    },
    {
      "page": "ves",
      "title": "Vector Exponential Smoothing in SSOE state space model",
      "topics": [
        "ves"
      ]
    }
  ],
  "_readme": "https://github.com/openforecast-org/legion/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "curl",
    "generics",
    "greybox",
    "httr",
    "jsonlite",
    "lattice",
    "MASS",
    "Matrix",
    "mime",
    "nloptr",
    "openssl",
    "pracma",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "smooth",
    "statmod",
    "sys",
    "texreg",
    "xtable",
    "zoo"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "legion.Rmd",
      "filename": "legion.html",
      "title": "legion: Forecasting Using Multivariate Models",
      "author": "Ivan Svetunkov",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Methods for the class legion"
      ],
      "created": "2021-02-18 15:26:40",
      "modified": "2021-04-20 21:57:07",
      "commits": 3
    },
    {
      "source": "ves.Rmd",
      "filename": "ves.html",
      "title": "ves() - Vector Exponential Smoothing",
      "author": "Ivan Svetunkov",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulate data from VES",
        "References"
      ],
      "created": "2021-02-18 15:26:40",
      "modified": "2022-02-01 13:39:11",
      "commits": 7
    },
    {
      "source": "vets.Rmd",
      "filename": "vets.html",
      "title": "vets() - Vector ETS",
      "author": "Ivan Svetunkov",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2021-04-20 21:57:07",
      "modified": "2025-10-21 18:54:18",
      "commits": 5
    }
  ],
  "_score": 6.510545010206613,
  "_indexed": true,
  "_nocasepkg": "legion",
  "_universes": [
    "openforecast-org",
    "config-i1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:35:59.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/a621c037cf27b469f75edb9f5a92cb440a2295c98aaeb3ee0f97a73fe0f737f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:35:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/780ca65b64b1e90285f09bba3bdad2427c41885508854af0e04756f81820b59e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:35:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/cbe9be7bfb6d8c37ab7e6ebbd92be166e86d5de37a41933e810a31fc1ccc432b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:35:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/a1d7241da5e439f0b89488241171ac4c522e652c8536d14823b6ca7272821077",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:34:21.000Z",
      "arch": "aarch64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/101f25648b2662c5d8a846f60ffa26a17f848da22e5829856f938916706b0ded",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:35:43.000Z",
      "arch": "x86_64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/5f947d9e4f0cc768604f133b6741b55dce89c6a5f1095bd0c219fce39563e77c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:34:37.000Z",
      "arch": "aarch64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/3b3c1975569dad4f8f9c324f4e1e5d2293ee89e6b4ce89eaefaa8ac48cea1d82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:35:22.000Z",
      "arch": "x86_64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/576b215e21d2c2fa33ae00fdd6052d2389fbfdba93035f816d0136b855b34cac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:38:09.000Z",
      "arch": "emscripten",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/9d2be895bf49e1cef6772904ce7e73d9ccca129bd274d5dae6af6156cb2cfedc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:33:54.000Z",
      "arch": "x86_64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/9b5781dfcd5a7eb7233f1d511f5367102fc78ff5e07ca86211e93a8fa733bf3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:33:44.000Z",
      "arch": "x86_64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/75f851820f080d922200f39eb4dfecb5d2507be37697d0864b963566ceb8af1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2.41003",
      "date": "2026-07-17T06:33:36.000Z",
      "arch": "x86_64",
      "commit": "e1a9e7d6a9d06bc590bf625f0eb8ba7cbe7061de",
      "fileid": "https://r2.ropensci.org/dc6360351956e0c2e638ae14ec3adbef733b11c0c006dd68c4f11325d54199be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/29560023217"
    }
  ]
}