{
  "_id": "6a496fa0ef9e2ed9366e6a7a",
  "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-07-04 20:34:14 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/affd399560bb86d6dd021ca4bdc2f75159a6bedfc8f759fb55dfbb47522b5f97",
  "_filesize": 826741,
  "_sha256": "affd399560bb86d6dd021ca4bdc2f75159a6bedfc8f759fb55dfbb47522b5f97",
  "_expires": "2026-10-12T20:39:58.000Z",
  "_created": "2026-07-04T20:34:14.000Z",
  "_published": "2026-07-04T20:40:00.332Z",
  "_jobs": [
    {
      "job": 85164967298,
      "time": 209,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085234252"
    },
    {
      "job": 85164967283,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085231941"
    },
    {
      "job": 85164967285,
      "time": 169,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085229919"
    },
    {
      "job": 85164967284,
      "time": 220,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085235285"
    },
    {
      "job": 85164967311,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085221107"
    },
    {
      "job": 85164967327,
      "time": 281,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085242864"
    },
    {
      "job": 85164967312,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085223067"
    },
    {
      "job": 85164967315,
      "time": 226,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085236091"
    },
    {
      "job": 85164706036,
      "time": 219,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085209076"
    },
    {
      "job": 85164967255,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8085227180"
    },
    {
      "job": 85164967290,
      "time": 136,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085225740"
    },
    {
      "job": 85164967320,
      "time": 136,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085225736"
    },
    {
      "job": 85164967288,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085226478"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400",
  "_status": "success",
  "_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": 2152,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hts"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/earowang/hts",
  "_searchresults": 228,
  "_rbuild": "4.6.1",
  "_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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 9.096038075589588,
  "_indexed": true,
  "_nocasepkg": "hts",
  "_universes": [
    "earowang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-07-04T20:37:40.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/d39bfde92a8f6d1e9a6306d924b6741ef918ee15cea904380581de2a6a02c1c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-07-04T20:37:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/70ade15cbb587874bf5c6be6b00a7ac78ce436d7dcaa525cd6fc146779890de1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-07-04T20:37:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/44652314df089fd589fd3e241b083ee7a897cb3d25c6b881f68cae69a2a92b12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "6.0.3",
      "date": "2026-07-04T20:37:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/907689586375244704feaaa4d474e993e96100f908726d2f666c10926f6d21ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-07-04T20:35:58.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/e3d9d23edb884111b9ce162debbab614703975e2f95dde15b4c7ec76a1c4fa92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-07-04T20:38:08.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/d7bb5b56e03dc7cd7dfc210f99871e6e60343c5a72bb4182ce06399019d366af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-07-04T20:36:05.000Z",
      "arch": "aarch64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/a31ec8e8bace352ddc9a1c9e45e52800dc3dacf8c2b599954938aeca142fbfe1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "6.0.3",
      "date": "2026-07-04T20:37:22.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/20cfb4db676b4dbea4cec91bbd3afd7c833d753ac0181a85d9f0a28d44f5bd0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "6.0.3",
      "date": "2026-07-04T20:37:14.000Z",
      "arch": "emscripten",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/3976856f289519ce53de66153d84713977f1c100fdb824dff8df54528d9ff6b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-07-04T20:35:48.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/42088106c48979c608fc7430cadf0385f32c9b1199c1e2183301f9537ae41443",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-07-04T20:35:49.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/8c239ec6318d6d444c32411caeb5bf8b3bbf892de28d2f280fdcadbfb72f50d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "6.0.3",
      "date": "2026-07-04T20:35:53.000Z",
      "arch": "x86_64",
      "commit": "7e084148990e49955655b9d0f599857fdddd58f4",
      "fileid": "https://r2.ropensci.org/d6599e60ad79c71397499671385ed486c710369e7ca4ac9b7b0a73f11d253d6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/earowang/actions/runs/28718770400"
    }
  ]
}