{
  "_id": "6ace3a6ba14063b82c3b196a",
  "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://robjhyndman.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-13 13:34:42 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": "robjhyndman",
  "_type": "src",
  "_file": "hts_6.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/d0fe63d5eed5ed9ec8960532c7a49c3c45df12fef0889c2027d1c06e5f9466e6",
  "_filesize": 821925,
  "_sha256": "d0fe63d5eed5ed9ec8960532c7a49c3c45df12fef0889c2027d1c06e5f9466e6",
  "_expires": "2027-01-21T14:04:24.000Z",
  "_created": "2026-10-13T13:34:42.000Z",
  "_published": "2026-10-13T14:04:27.548Z",
  "_buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115326195790,
      "time": 152,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11818987860"
    },
    {
      "job": 115326195991,
      "time": 201,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11819247543"
    },
    {
      "job": 115326196028,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11819292514"
    },
    {
      "job": 115326195888,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11817244395"
    },
    {
      "job": 115326195952,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11820506751"
    },
    {
      "job": 115326196080,
      "time": 295,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11820702367"
    },
    {
      "job": 115326195954,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11820481784"
    },
    {
      "job": 115326195994,
      "time": 318,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11821100563"
    },
    {
      "job": 115324779120,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11816828979"
    },
    {
      "job": 115326195881,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11818438240"
    },
    {
      "job": 115326195913,
      "time": 232,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11818873437"
    },
    {
      "job": 115326195914,
      "time": 192,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11818867936"
    },
    {
      "job": 115326196026,
      "time": 137,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11819018025"
    },
    {
      "job": 115326195840,
      "time": 259,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11819252924"
    },
    {
      "job": 115326195885,
      "time": 136,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11818668166"
    }
  ],
  "_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": false,
  "_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": 127518,
    "type": "user",
    "name": "Rob J Hyndman",
    "followers": 3127,
    "description": "Professor of Statistics at Monash University, Australia"
  },
  "_downloads": {
    "count": 2684,
    "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.1842914914259,
  "_indexed": false,
  "_nocasepkg": "hts",
  "_universes": [
    "robjhyndman"
  ],
  "_indexurl": "https://earowang.r-universe.dev/hts",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-10-13T13:36:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/cf82e5bf5a9cec78a022854c5d68b20667d274283dc623256630f18d93a2eb87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-10-13T13:37:30.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/805bea2b78c86876e6fce449065523294fd5c58842824733b973f0562c34806b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-10-13T13:36:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/6e557d1b91f5957ba094acc3cba22505aa5de2a8e2cc546b16b4f33c29d7b410",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-10-13T13:37:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/da9a9a09502957494edab8a96ff3bacac8daaf7f5ce5d63cb73301204efe0325",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-10-13T13:56:57.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/58b1e452d5c04b1e750f270a4835ea710c08bc395c4761c9bb44d44f13ba05f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-10-13T14:02:17.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/1b045339401565f10995e67b530817c9330951afa3f5221b40a8a193597d1fd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-10-13T13:57:17.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/ed20d97dd7c85392a7fbba66a646658550d6c2d5d624ee15cfe8d9c1be8c1cfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-10-13T14:01:28.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/d19e4efa1398856fd162cdc44b110ed6cf847b41bd38f2f5542575a1e934f6bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "6.0.3",
      "date": "2026-10-13T13:36:50.000Z",
      "arch": "emscripten",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/902ef134001fe866bd010739897fcc2b0a54f8249629a0ee167a22da68f14107",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-13T13:37:52.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/b1ce67dd70a6081895d4d2fdff3163927254951d1fe6d300150d7de691c3086b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-13T13:36:18.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/32c7c90e4ddaa787ac36515690c99c6185e8388858719bd95cbbb746b53f8924",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-13T13:36:03.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/697b72fa92698e77e49fb7d4187e617a6fd76ed6b4fa8a1e99b49ba0b8cad676",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-13T13:38:20.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/e9640c5db259f7bfa52ad179ec4da25e13415f9b30517daf805088ff0d966ea7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-10-13T13:36:07.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/5d36e03cc274f92d62822b99a6f91114fd97ccf6c4237b6e8fd7a95b6f54cb65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/38405683679"
    }
  ]
}