{
  "_id": "6ad11805a6a61792ed76b140",
  "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 = c(\"Director of the OpenForecast consultancy company, UK\",\nORCID = \"0000-0001-7826-0281\")),\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://openforecast.org/packages/",
  "BugReports": "https://github.com/openforecast-org/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": "2026-08-14 14:18:56 UTC",
  "RemoteUrl": "https://github.com/openforecast-org/legion",
  "RemoteRef": "HEAD",
  "RemoteSha": "399379da73b97da6a8548106683ee84affff0b82",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-15 18:04:07 UTC",
    "User": "root"
  },
  "Author": "Ivan Svetunkov [aut, cre] (Director of the OpenForecast consultancy\ncompany, UK, ORCID: <https://orcid.org/0000-0001-7826-0281>),\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/f5cba7d6d56f0b43202b3be652915892a3c5726de3991aae43697b14fe0e1ba8",
  "_filesize": 1230218,
  "_sha256": "f5cba7d6d56f0b43202b3be652915892a3c5726de3991aae43697b14fe0e1ba8",
  "_expires": "2027-01-23T18:14:26.000Z",
  "_created": "2026-10-15T18:04:07.000Z",
  "_published": "2026-10-15T18:14:29.165Z",
  "_buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116586663864,
      "time": 206,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11996488781"
    },
    {
      "job": 116586663790,
      "time": 286,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11996613576"
    },
    {
      "job": 116586663837,
      "time": 213,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11995259741"
    },
    {
      "job": 116586663973,
      "time": 247,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11996648495"
    },
    {
      "job": 116586663835,
      "time": 192,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11996058565"
    },
    {
      "job": 116586663907,
      "time": 383,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11997055581"
    },
    {
      "job": 116586663784,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11995709731"
    },
    {
      "job": 116586663794,
      "time": 467,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11996982414"
    },
    {
      "job": 116582770966,
      "time": 490,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11996317600"
    },
    {
      "job": 116586663788,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11996577783"
    },
    {
      "job": 116586663869,
      "time": 296,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11996922032"
    },
    {
      "job": 116586663796,
      "time": 228,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11996673382"
    },
    {
      "job": 116586663914,
      "time": 188,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11995209735"
    },
    {
      "job": 116586663855,
      "time": 263,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11996234101"
    },
    {
      "job": 116586663967,
      "time": 239,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11995239721"
    }
  ],
  "_upstream": "https://github.com/openforecast-org/legion",
  "_commit": {
    "id": "399379da73b97da6a8548106683ee84affff0b82",
    "author": "Ivan Svetunkov <ivan@svetunkov.com>",
    "committer": "Ivan Svetunkov <ivan@svetunkov.com>",
    "message": "Link the OpenForecast name in the README\n\nTurn the OpenForecast mention in the About section into a link to\nhttps://openforecast.org.\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\n",
    "time": 1786717136
  },
  "_maintainer": {
    "name": "Ivan Svetunkov",
    "email": "ivan@svetunkov.com",
    "login": "config-i1",
    "uuid": 7396330,
    "orcid": "0000-0001-7826-0281"
  },
  "_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-43",
      "n": 7
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 12,
  "_contributors": [
    {
      "user": "config-i1",
      "count": 31,
      "uuid": 7396330
    },
    {
      "user": "nikdraka",
      "count": 3,
      "uuid": 46902915
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 305433332,
    "type": "organization",
    "name": "OpenForecast",
    "followers": 15,
    "description": "Open-source forecasting tools, consulting, and training in demand forecasting and inventory management"
  },
  "_downloads": {
    "count": 1929,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/legion"
  },
  "_devurl": "https://github.com/openforecast-org/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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.7958772378504975,
  "_indexed": true,
  "_nocasepkg": "legion",
  "_universes": [
    "openforecast-org",
    "config-i1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:07:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/19eccab2cf00a71527b05f385bb690fe9670118b56c610e6785d2fcaf2b9b204",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:08:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/b69eb96f71796992e1b51198d27bf3c54a82d94c51ba64a8d4219187fe91dc53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:07:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/fe58056e79d485dfdc5b884460c075479e3d2aa65a31501ec21ca6b6152a10c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:08:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/2459fd67b69e5bdd15213846cfbb7f901adbe45eb2fd95bdbe8bfc857c795bc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:09:27.000Z",
      "arch": "aarch64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/169f3f703fc1f888290559425706fab7692b9572b0ad0568efb57bf4cd168435",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:11:06.000Z",
      "arch": "x86_64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/46d926615345e1147e3b3ed585d6940fd8338916dc35f33a9336f6def3f7f21e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:09:05.000Z",
      "arch": "aarch64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/8b73e031c0105c2a9bd948d8e21cbadb8b3f3fb3461a3ea611c3ccc038feec00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:10:51.000Z",
      "arch": "x86_64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/708cd11bf569443a7ec53b09ac7e40df09a36c458c61310d53d92311956aac7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:07:28.000Z",
      "arch": "emscripten",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/3af82962875f35419e989fb2bc1a6607954fa4e7042eba8b54c998afd7080e74",
      "status": "success",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:08:33.000Z",
      "arch": "aarch64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/ece751e7cb83674ac51671fe45cbea650330bf730a68a6176517810a97511c85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:06:09.000Z",
      "arch": "x86_64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/ebc37f4ef24c368903dac1620a76a9ce4a567f68d2a97776df7433ea15c64d23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:06:37.000Z",
      "arch": "x86_64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/0d5d563bc8026a357e4e9e2529470f85e8a622cd06e8d3dc9fb291051fad6c1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:08:04.000Z",
      "arch": "aarch64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/366fdc482a2a861488c2992bc13686532a3d799c6e931f8c3227a39ede4918dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2.41003",
      "date": "2026-10-15T18:06:25.000Z",
      "arch": "x86_64",
      "commit": "399379da73b97da6a8548106683ee84affff0b82",
      "fileid": "https://r2.ropensci.org/13162d73439eff8ecb71a74e12f2a20826853c677c144ea7e1a8a01d0ae4eb0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/openforecast-org/actions/runs/38781509314"
    }
  ]
}