{
  "_id": "6a1d346c1d7bb097a0a3c6e3",
  "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-06-01 07:03:39 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": "a82b25ab4391c029693eb7fa8b81a424",
  "_user": "earowang",
  "_type": "src",
  "_file": "hts_6.0.3.tar.gz",
  "_fileid": "6d59657e1ba85819dc396a7383d8c5624adf418ddef997e568526cb74ea957f4",
  "_filesize": 822579,
  "_sha256": "6d59657e1ba85819dc396a7383d8c5624adf418ddef997e568526cb74ea957f4",
  "_created": "2026-06-01T07:03:39.000Z",
  "_published": "2026-06-01T07:27:40.671Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78802473540,
      "time": 168,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325324054"
    },
    {
      "job": 78802473594,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325326323"
    },
    {
      "job": 78802473574,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325319421"
    },
    {
      "job": 78802473649,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325326198"
    },
    {
      "job": 78802473551,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325618755"
    },
    {
      "job": 78802473566,
      "time": 245,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325646195"
    },
    {
      "job": 78802473556,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325547215"
    },
    {
      "job": 78802473559,
      "time": 370,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325613888"
    },
    {
      "job": 78802023800,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325279040"
    },
    {
      "job": 78802473511,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325311508"
    },
    {
      "job": 78802473562,
      "time": 150,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325319079"
    },
    {
      "job": 78802473525,
      "time": 156,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325320501"
    },
    {
      "job": 78802473541,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325317960"
    }
  ],
  "_buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145",
  "_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": 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"
  },
  "_downloads": {
    "count": 2904,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hts"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/earowang/hts",
  "_searchresults": 232,
  "_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": 9.233745558513737,
  "_indexed": true,
  "_nocasepkg": "hts",
  "_universes": [
    "earowang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-06-01T07:06:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "1d2947ee94f3bdfcbc06a24c49d3d3f6ed32695315eeb2f8c034819a038f9472",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-06-01T07:06:06.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "163c6879b428d992a54f6eb283be5d1cca5271ccf08c558557ffdcf29853e845",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-06-01T07:05:53.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "1b1e46723cbfcef31038f6da6304b63a014e391620bf4554e2b106541b631f81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-06-01T07:06:10.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "99cbed74277c30a179fb9b7b2157c2c756136382abf1b7b6ebe89d879ddea1c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-06-01T07:24:43.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "9ce38a9577c69f7d1abd43dfd933259de9ce4f3b721947768f08589b4e5df440",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-06-01T07:25:58.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "775b275cc942ecddc0194b76267102d9485c23e30ec8a1f617483af499b8b868",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-06-01T07:20:20.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "c5f34b317918978641416dad697255e780b4dfb7462a5e04042e27e837d4d472",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-06-01T07:22:56.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "5140bbb307e79a866a895751fe8246521c2348d53106ee48d3e20808e6952af5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "6.0.3",
      "date": "2026-06-01T07:06:03.000Z",
      "arch": "emscripten",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "ad431f4309ae67b1df159816ede17c063361ebdea7cc17b1a0f32e2fa8fc8c96",
      "status": "success",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-06-01T07:05:10.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "7281d1aea68d8a60304a4e0a91720ac69c15e5656ebf2f8d885474eb1e72fea1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-06-01T07:05:18.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "9128bd01ad7d97537f4ba12aa8beb1bf8503b8e1d0c55516db189f7a825c8896",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-06-01T07:05:19.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "ea8fa69083d8dd27a768a76ccd4d84f57beb007e4babadd1567dad4c99c86f94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/26740124145"
    }
  ]
}