{
  "_id": "6a1f12d0b401979e7341de2f",
  "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-05-17 07:31:19 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>",
  "MD5sum": "ea40b4d05ef10aca127ca712c62e8879",
  "_user": "robjhyndman",
  "_type": "src",
  "_file": "hts_6.0.3.tar.gz",
  "_fileid": "d5b779e170e0ecb9e5ae4dcb080164e8565d6f804fa63e2bde1f276c1040c0ff",
  "_filesize": 823887,
  "_sha256": "d5b779e170e0ecb9e5ae4dcb080164e8565d6f804fa63e2bde1f276c1040c0ff",
  "_created": "2026-05-17T07:31:19.000Z",
  "_published": "2026-06-02T17:28:48.159Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79131937940,
      "time": 161,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040460234"
    },
    {
      "job": 79131937569,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040461323"
    },
    {
      "job": 79131938445,
      "time": 154,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040459368"
    },
    {
      "job": 79131938289,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040460863"
    },
    {
      "job": 79131938860,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040455586"
    },
    {
      "job": 79131937740,
      "time": 179,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040462279"
    },
    {
      "job": 79131937734,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040457568"
    },
    {
      "job": 79131937710,
      "time": 275,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040472552"
    },
    {
      "job": 79131937076,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040442172"
    },
    {
      "job": 79131936911,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365107779"
    },
    {
      "job": 79131937553,
      "time": 154,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040459493"
    },
    {
      "job": 79131938484,
      "time": 124,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040456290"
    },
    {
      "job": 79131937862,
      "time": 154,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040459353"
    }
  ],
  "_buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Professor of Statistics at Monash University, Australia"
  },
  "_downloads": {
    "count": 3175,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hts"
  },
  "_devurl": "https://github.com/earowang/hts",
  "_searchresults": 203,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hts.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 8.436349478752346,
  "_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-05-17T07:33:42.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "acda746a266f22350e91aaa51a75aef35b95cbd06bb8feba3fe81b66858814c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-05-17T07:33:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "f4112e0e10510ea5325c050ac37c9b8e72f1f4109acf26fb79d4ecae422af9d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-05-17T07:33:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "dd62d3ab983d83e909a34194c83af3a6ef37487165c42bea543234d38e0b8945",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-05-17T07:33:40.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "a2bece0b3043c4019a7a0418abb5fc3bcdeb2b2d971c5c7179ccf7ef5f473394",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-05-17T07:33:01.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "65e549df618e529f4f3ab41b17f5a4c10a66f024992206380aef1a6774f8bef1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-05-17T07:33:39.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "634b414646317e67d4b944cc110cb1a83881c567d7b1b003cc28965fb1255ddc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-05-17T07:33:17.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "c9591c8ed5bbbb25ba7b9b635fed2986be152edbdd9374639f69ecec0889310b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-05-17T07:34:38.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "b0aea62340bd03f93a34eff5d9f2bbc03aae575fa1ad64a0589994f273f50c14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-05-17T07:32:55.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "fc668b47400a9faf82730e49e675f3ad89e169c28993a291fde33e316074e508",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-05-17T07:32:40.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "7e46a02ff5b2ed2b5d1922d8f9c5db7ef90def3ef17538228c2e49b8d2244e55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-05-17T07:33:00.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "841710f199f05c35dbd1d8cc2f903b2e226ad2efa84773163c70b8b1496e3975",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "6.0.3",
      "date": "2026-06-02T17:28:13.000Z",
      "arch": "emscripten",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "03c99af046a473041b4c0b6ed506f33d60401ec1b50b86c2d43ccfabfb9cf6aa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/25984660963"
    }
  ]
}