{
  "_id": "6ad334f962c1581dfb2fac95",
  "Package": "hts",
  "Title": "Hierarchical and Grouped Time Series",
  "Version": "6.0.3",
  "Authors@R": "c(\nperson(\"Rob\", \"Hyndman\", role = \"aut\", comment = \"Package creator\"),\nperson(\"Alan\", \"Lee\", role = \"aut\", comment = \"Fast computation using recursive methods\"),\nperson(\"Earo\", \"Wang\", role = c(\"aut\", \"cre\"), email = \"earo.wang@gmail.com\"),\nperson(\"Shanika\", \"Wickramasuriya\", role = \"aut\", comment = \"Reconciliation via trace minimization\")\n)",
  "Description": "Provides methods for analysing and forecasting\nhierarchical and grouped time series. The available forecast\nmethods include bottom-up, top-down, optimal combination\nreconciliation (Hyndman et al. 2011)\n<doi:10.1016/j.csda.2011.03.006>, and trace minimization\nreconciliation (Wickramasuriya et al. 2018)\n<doi:10.1080/01621459.2018.1448825>.",
  "LazyLoad": "yes",
  "LazyData": "yes",
  "ByteCompile": "TRUE",
  "URL": "https://pkg.earo.me/hts/",
  "BugReports": "https://github.com/earowang/hts/issues",
  "License": "GPL (>= 2)",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE, roclets=c('rd', 'collate', 'namespace'))",
  "Encoding": "UTF-8",
  "Repository": "https://earowang.r-universe.dev",
  "Date/Publication": "2024-12-24 23:52:26 UTC",
  "RemoteUrl": "https://github.com/earowang/hts",
  "RemoteRef": "HEAD",
  "RemoteSha": "7e084148990e49955655b9d0f599857fdddd58f4",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-17 08:34:51 UTC",
    "User": "root"
  },
  "Author": "Rob Hyndman [aut] (Package creator),\nAlan Lee [aut] (Fast computation using recursive methods),\nEaro Wang [aut, cre],\nShanika Wickramasuriya [aut] (Reconciliation via trace minimization)",
  "Maintainer": "Earo Wang <earo.wang@gmail.com>",
  "_user": "earowang",
  "_type": "src",
  "_file": "hts_6.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/99e5da498d3ba27b7786c81e3c74a34ff2a843a92df2414fdaedcb916ce05a3d",
  "_filesize": 821898,
  "_sha256": "99e5da498d3ba27b7786c81e3c74a34ff2a843a92df2414fdaedcb916ce05a3d",
  "_expires": "2027-01-25T08:42:28.000Z",
  "_created": "2026-10-17T08:34:51.000Z",
  "_published": "2026-10-17T08:42:33.036Z",
  "_buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117353773056,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12094913504"
    },
    {
      "job": 117353773004,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12095318975"
    },
    {
      "job": 117353773047,
      "time": 128,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095860754"
    },
    {
      "job": 117353772989,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12096035200"
    },
    {
      "job": 117353773052,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12095448487"
    },
    {
      "job": 117353772985,
      "time": 250,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12095493216"
    },
    {
      "job": 117353772969,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095134740"
    },
    {
      "job": 117353772963,
      "time": 393,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095329258"
    },
    {
      "job": 117353077866,
      "time": 226,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095686091"
    },
    {
      "job": 117353772975,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12095084748"
    },
    {
      "job": 117353772977,
      "time": 386,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12096045499"
    },
    {
      "job": 117353772957,
      "time": 177,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12095677102"
    },
    {
      "job": 117353772962,
      "time": 132,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12095995488"
    },
    {
      "job": 117353773019,
      "time": 385,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12094978700"
    },
    {
      "job": 117353772964,
      "time": 152,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12095825813"
    }
  ],
  "_upstream": "https://github.com/earowang/hts",
  "_commit": {
    "id": "7e084148990e49955655b9d0f599857fdddd58f4",
    "author": "Rob J Hyndman <robjhyndman@gmail.com>",
    "committer": "Rob J Hyndman <robjhyndman@gmail.com>",
    "message": "MASE only uses seasonal naive when there is at least 2 years of data\n",
    "time": 1735084346
  },
  "_maintainer": {
    "name": "Earo Wang",
    "email": "earo.wang@gmail.com",
    "login": "earowang",
    "description": "",
    "uuid": 2456216
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "forecast",
      "version": ">= 8.12",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "SparseM",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "earowang",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "forecasts",
    "hts",
    "cpp"
  ],
  "_stars": 113,
  "_contributors": [
    {
      "user": "earowang",
      "count": 311,
      "uuid": 2456216
    },
    {
      "user": "robjhyndman",
      "count": 51,
      "uuid": 127518
    },
    {
      "user": "shanikalw",
      "count": 21,
      "uuid": 16096072
    },
    {
      "user": "mitchelloharawild",
      "count": 5,
      "uuid": 16127127
    },
    {
      "user": "ellisp",
      "count": 2,
      "uuid": 5740570
    },
    {
      "user": "apantovic",
      "count": 1,
      "uuid": 29569250
    }
  ],
  "_userbio": {
    "uuid": 2456216,
    "type": "user",
    "name": "Earo Wang",
    "followers": 335
  },
  "_downloads": {
    "count": 2904,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hts"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/earowang/hts",
  "_searchresults": 224,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hts.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/earowang/hts",
  "_realowner": "earowang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2010-03-22"
    },
    {
      "version": "1.1",
      "date": "2010-03-26"
    },
    {
      "version": "1.2",
      "date": "2010-07-24"
    },
    {
      "version": "1.3",
      "date": "2010-08-19"
    },
    {
      "version": "1.4",
      "date": "2010-08-27"
    },
    {
      "version": "2.0",
      "date": "2011-09-02"
    },
    {
      "version": "2.01",
      "date": "2011-11-03"
    },
    {
      "version": "2.02",
      "date": "2011-11-07"
    },
    {
      "version": "3.00",
      "date": "2013-03-07"
    },
    {
      "version": "3.01",
      "date": "2013-05-07"
    },
    {
      "version": "3.03",
      "date": "2013-07-02"
    },
    {
      "version": "4.0",
      "date": "2014-02-10"
    },
    {
      "version": "4.1",
      "date": "2014-03-07"
    },
    {
      "version": "4.2",
      "date": "2014-04-09"
    },
    {
      "version": "4.3",
      "date": "2014-06-10"
    },
    {
      "version": "4.4",
      "date": "2014-07-23"
    },
    {
      "version": "4.5",
      "date": "2015-06-28"
    },
    {
      "version": "5.0",
      "date": "2016-04-06"
    },
    {
      "version": "5.1.0",
      "date": "2017-06-18"
    },
    {
      "version": "5.1.4",
      "date": "2017-06-21"
    },
    {
      "version": "5.1.5",
      "date": "2018-03-28"
    },
    {
      "version": "6.0.0",
      "date": "2020-04-03"
    },
    {
      "version": "6.0.1",
      "date": "2020-08-06"
    },
    {
      "version": "6.0.2",
      "date": "2021-05-30"
    },
    {
      "version": "6.0.3",
      "date": "2024-07-30"
    }
  ],
  "_exports": [
    "accuracy.gts",
    "aggts",
    "allts",
    "combinef",
    "forecast.gts",
    "get_groups",
    "get_nodes",
    "gts",
    "hts",
    "is.gts",
    "is.hts",
    "MinT",
    "plot.gts",
    "print.gts",
    "print.hts",
    "smatrix",
    "summary.gts",
    "summary.hts"
  ],
  "_datasets": [
    {
      "name": "htseg1",
      "title": "Simple examples of hierarchical time series.",
      "object": "htseg1",
      "class": [
        "hts",
        "gts"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "htseg2",
      "title": "Simple examples of hierarchical time series.",
      "object": "htseg2",
      "class": [
        "hts",
        "gts"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "infantgts",
      "title": "Regional infant mortality counts across Australia from 1933 to 2003.",
      "object": "infantgts",
      "class": [
        "gts"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "hts-package",
      "title": "Hierarchical and grouped time series",
      "topics": [
        "hts-package"
      ]
    },
    {
      "page": "accuracy.gts",
      "title": "In-sample or out-of-sample accuracy measures for forecast grouped and hierarchical model",
      "topics": [
        "accuracy.gts"
      ]
    },
    {
      "page": "aggts",
      "title": "Extract selected time series from a gts object",
      "topics": [
        "aggts"
      ]
    },
    {
      "page": "allts",
      "title": "Extract all time series from a gts object",
      "topics": [
        "allts"
      ]
    },
    {
      "page": "combinef",
      "title": "Optimally combine forecasts from a hierarchical or grouped time series",
      "topics": [
        "combinef"
      ]
    },
    {
      "page": "forecast.gts",
      "title": "Forecast a hierarchical or grouped time series",
      "topics": [
        "forecast.gts",
        "forecast.hts"
      ]
    },
    {
      "page": "helper-functions",
      "title": "Get nodes/groups from an hts/gts object",
      "topics": [
        "get_groups",
        "get_nodes"
      ]
    },
    {
      "page": "gts-class",
      "title": "Create a grouped time series",
      "topics": [
        "gts",
        "is.gts",
        "print.gts",
        "summary.gts"
      ]
    },
    {
      "page": "hts-class",
      "title": "Create a hierarchical time series",
      "topics": [
        "hts",
        "is.hts",
        "print.hts",
        "summary.hts"
      ]
    },
    {
      "page": "htseg1",
      "title": "Simple examples of hierarchical time series.",
      "topics": [
        "htseg1",
        "htseg2"
      ]
    },
    {
      "page": "infantgts",
      "title": "Regional infant mortality counts across Australia from 1933 to 2003.",
      "topics": [
        "infantgts"
      ]
    },
    {
      "page": "MinT",
      "title": "Trace minimization for hierarchical or grouped time series",
      "topics": [
        "MinT"
      ]
    },
    {
      "page": "plot.gts",
      "title": "Plot grouped or hierarchical time series",
      "topics": [
        "plot.gts"
      ]
    },
    {
      "page": "smatrix",
      "title": "Summing matrix for hierarchical or grouped time series",
      "topics": [
        "smatrix"
      ]
    },
    {
      "page": "window.gts",
      "title": "Time window of a gts object",
      "topics": [
        "window.gts"
      ]
    }
  ],
  "_pkglogo": "https://github.com/earowang/hts/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/earowang/hts/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "colorspace",
    "cpp11",
    "farver",
    "forecast",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "magrittr",
    "Matrix",
    "nlme",
    "nnet",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "timeDate",
    "urca",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 9.218505591957001,
  "_indexed": true,
  "_nocasepkg": "hts",
  "_universes": [
    "earowang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-10-17T08:37:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/56d1706702f825972cbe3e58e345d58d9a57cca55fd75e15e70623a2d5b71faf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-10-17T08:37:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/f42dc87c1e59f3c850381a9624dad213207635fd7ff428b5dc633dafbfb8d36f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-10-17T08:36:54.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/26acc421aa5011e1af9f77b7d358ef6e0e6ebdb65349ade8778a609992a91e39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-10-17T08:37:03.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/0a531d1661529f5920cb57ae66a8ad6ab362b07c8622f9faf0a073a70929c322",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-10-17T08:38:54.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/c7745ef0e7e98ba0dd038d2ea590f9a8ff616ec30d62301444e42be752a6c427",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-10-17T08:39:19.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/b0cb0bbbc1d48a2ba6d738ad3af455137553ebd705f3ecd350be193b621b3b62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-10-17T08:37:11.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/4cf2ca0d564a47db16217c523309035ba12be055ad9bf56968bec03eb241a1a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-10-17T08:39:30.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/b90efe869a5c01f72794cbb36b4a6ae635c3b4fd1526d2ec9015a88bc3db8d6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "6.0.3",
      "date": "2026-10-17T08:37:10.000Z",
      "arch": "emscripten",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/1752cd1c29fe26ae4fb9b414fdf0ca01975d76b6b0117d16ee87f1131f768497",
      "status": "success",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-17T08:40:05.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/4646e365bbf58f98f068556b7a667cec88beda8f3483c48fe9a6e4b792ee3559",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-17T08:36:21.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/bcfd0baefbb9fa14f799c0544554457425f9fc2a926d96b1c1608b355cc7d02f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-17T08:36:22.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/d35f7b974d29aed5b773d5ac2e0350ab38960856839f3c8f68f8174ba6a87834",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-17T08:40:25.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/35f784fd9fd11295d96ee44049658db17987df12cfecfd3f1fb4335dffc5442f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-17T08:36:29.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/ac8943758f8042eb556fb6fb8ed0829ddec7927d63d725fd3d085b08f6e385cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/39017672779"
    }
  ]
}