{
  "_id": "6a588542ff0138dec5d7489a",
  "Package": "stR",
  "Title": "Seasonal Trend Decomposition Using Regression",
  "Version": "0.7.1.9000",
  "Description": "Methods for decomposing seasonal data: STR (a\nSeasonal-Trend time series decomposition procedure based on\nRegression) and Robust STR. In some ways, STR is similar to\nRidge Regression and Robust STR can be related to LASSO. They\nallow for multiple seasonal components, multiple linear\ncovariates with constant, flexible and seasonal influence.\nSeasonal patterns (for both seasonal components and seasonal\ncovariates) can be fractional and flexible over time; moreover\nthey can be either strictly periodic or have a more complex\ntopology. The methods provide confidence intervals for the\nestimated components. The methods can also be used for\nforecasting.",
  "Authors@R": "c(\nperson(\"Alexander\", \"Dokumentov\", role = \"aut\", comment = c(ORCID = \"0000-0003-0478-0983\")),\nperson(\"Rob\", \"Hyndman\", email = \"Rob.Hyndman@monash.edu\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-2140-5352\"))\n)",
  "URL": "https://pkg.robjhyndman.com/stR/,\nhttps://github.com/robjhyndman/stR",
  "BugReports": "https://github.com/robjhyndman/stR/issues",
  "License": "GPL-3",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Repository": "https://robjhyndman.r-universe.dev",
  "Date/Publication": "2025-09-03 00:22:55 UTC",
  "RemoteUrl": "https://github.com/robjhyndman/stR",
  "RemoteRef": "HEAD",
  "RemoteSha": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-16 07:11:37 UTC",
    "User": "root"
  },
  "Author": "Alexander Dokumentov [aut] (ORCID:\n<https://orcid.org/0000-0003-0478-0983>),\nRob Hyndman [aut, cre] (ORCID: <https://orcid.org/0000-0002-2140-5352>)",
  "Maintainer": "Rob Hyndman <Rob.Hyndman@monash.edu>",
  "_user": "robjhyndman",
  "_type": "src",
  "_file": "stR_0.7.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/6d5e41756b29f78ae9a659f1a421938461b593c95c4879eddaf97d94273db427",
  "_filesize": 8991392,
  "_sha256": "6d5e41756b29f78ae9a659f1a421938461b593c95c4879eddaf97d94273db427",
  "_expires": "2026-10-24T07:16:15.000Z",
  "_created": "2026-07-16T07:11:37.000Z",
  "_published": "2026-07-16T07:16:18.192Z",
  "_jobs": [
    {
      "job": 87558611857,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8367822398"
    },
    {
      "job": 87558611835,
      "time": 222,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367820178"
    },
    {
      "job": 87558611970,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8367786284"
    },
    {
      "job": 87558611924,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367802019"
    },
    {
      "job": 87557873546,
      "time": 255,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367742130"
    },
    {
      "job": 87558611779,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8367794878"
    },
    {
      "job": 87558611834,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8367791168"
    },
    {
      "job": 87558611806,
      "time": 129,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8367788000"
    },
    {
      "job": 87558611837,
      "time": 161,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367799322"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422",
  "_status": "success",
  "_upstream": "https://github.com/robjhyndman/stR",
  "_commit": {
    "id": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
    "author": "Rob J Hyndman <robjhyndman@gmail.com>",
    "committer": "Rob J Hyndman <robjhyndman@gmail.com>",
    "message": "Increment version number to 0.7.1.9000\n",
    "time": 1756858975
  },
  "_maintainer": {
    "name": "Rob Hyndman",
    "email": "rob.hyndman@monash.edu",
    "login": "robjhyndman",
    "bluesky": "@robjhyndman.com",
    "orcid": "0000-0002-2140-5352",
    "description": "Professor of Statistics at Monash University, Australia",
    "uuid": 127518
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "compiler",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "forecast",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "quantreg",
      "role": "Imports"
    },
    {
      "package": "SparseM",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "demography",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "rgl",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "seasonal",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "robjhyndman",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 10
    }
  ],
  "_tags": [
    {
      "name": "v0.7.1",
      "date": "2025-09-02"
    }
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "dokal01",
      "count": 89,
      "uuid": 4748428
    },
    {
      "user": "robjhyndman",
      "count": 89,
      "uuid": 127518
    },
    {
      "user": "ncooder",
      "count": 4,
      "uuid": 177158061
    }
  ],
  "_userbio": {
    "uuid": 127518,
    "type": "user",
    "name": "Rob J Hyndman",
    "followers": 3108,
    "description": "Professor of Statistics at Monash University, Australia"
  },
  "_downloads": {
    "count": 654,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stR"
  },
  "_devurl": "https://github.com/robjhyndman/str",
  "_pkgdown": "https://pkg.robjhyndman.com/stR/",
  "_searchresults": 1912,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/stR.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/robjhyndman/str",
  "_realowner": "robjhyndman",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2016-08-27"
    },
    {
      "version": "0.2",
      "date": "2016-09-10"
    },
    {
      "version": "0.3",
      "date": "2017-01-06"
    },
    {
      "version": "0.4",
      "date": "2018-05-18"
    },
    {
      "version": "0.5",
      "date": "2022-02-17"
    },
    {
      "version": "0.6",
      "date": "2023-08-10"
    },
    {
      "version": "0.7",
      "date": "2024-07-28"
    },
    {
      "version": "0.7.1",
      "date": "2025-09-03"
    }
  ],
  "_exports": [
    "AutoSTR",
    "components",
    "heuristicSTR",
    "plotBeta",
    "RSTRmodel",
    "seasadj",
    "STR",
    "STRmodel"
  ],
  "_datasets": [
    {
      "name": "calls",
      "title": "Number of phone calls dataset",
      "object": "calls",
      "class": [
        "msts",
        "ts"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "electricity",
      "title": "Electricity consumption dataset",
      "object": "electricity",
      "class": [
        "msts",
        "ts"
      ],
      "fields": [
        "Consumption",
        "Temperature",
        "Time",
        "DailySeasonality",
        "WeeklySeasonality",
        "WorkingDaySeasonality"
      ],
      "rows": 5520,
      "table": true,
      "tojson": true
    },
    {
      "name": "grocery",
      "title": "Grocery and supermarkets turnover",
      "object": "grocery",
      "class": [
        "ts"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "AutoSTR",
      "title": "Automatic STR decomposition for time series data",
      "topics": [
        "AutoSTR"
      ]
    },
    {
      "page": "calls",
      "title": "Number of phone calls dataset",
      "topics": [
        "calls"
      ]
    },
    {
      "page": "components",
      "title": "Extract STR components",
      "topics": [
        "components"
      ]
    },
    {
      "page": "electricity",
      "title": "Electricity consumption dataset",
      "topics": [
        "electricity"
      ]
    },
    {
      "page": "grocery",
      "title": "Grocery and supermarkets turnover",
      "topics": [
        "grocery"
      ]
    },
    {
      "page": "heuristicSTR",
      "title": "Automatic STR decomposition with heuristic search of the parameters",
      "topics": [
        "heuristicSTR"
      ]
    },
    {
      "page": "plot.STR",
      "title": "Plots the results of decomposition",
      "topics": [
        "plot.STR"
      ]
    },
    {
      "page": "plotBeta",
      "title": "Plots the varying beta coefficients of decomposition",
      "topics": [
        "plotBeta"
      ]
    },
    {
      "page": "RSTRmodel",
      "title": "Robust STR decomposition",
      "topics": [
        "RSTRmodel"
      ]
    },
    {
      "page": "seasadj.STR",
      "title": "Seasonal adjustment based on STR",
      "topics": [
        "seasadj.STR"
      ]
    },
    {
      "page": "STR",
      "title": "Automatic STR decomposition",
      "topics": [
        "STR"
      ]
    },
    {
      "page": "STRmodel",
      "title": "STR decomposition",
      "topics": [
        "STRmodel"
      ]
    }
  ],
  "_readme": "https://github.com/robjhyndman/stR/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "colorspace",
    "cpp11",
    "farver",
    "foreach",
    "forecast",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "nlme",
    "nnet",
    "quantreg",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "survival",
    "timeDate",
    "urca",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "stRvignette.Rmd",
      "filename": "stRvignette.html",
      "title": "Package stR",
      "author": "Alexander Dokumentov",
      "engine": "knitr::knitr",
      "headings": [
        "Introduction",
        "Getting started",
        "Example with multiple seasonality",
        "Tuning an STR decomposition",
        "Robust STR decomposition",
        "Another example with multiple seasonality",
        "A complex example",
        "A forecasting example",
        "Final notes"
      ],
      "created": "2024-07-26 06:04:14",
      "modified": "2025-09-03 00:22:20",
      "commits": 6
    }
  ],
  "_score": 8.01388164776305,
  "_indexed": true,
  "_nocasepkg": "str",
  "_universes": [
    "robjhyndman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.1.9000",
      "date": "2026-07-16T07:14:43.000Z",
      "distro": "resolute",
      "commit": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
      "fileid": "https://r2.ropensci.org/769ac5379475c359b504ed2a95fb86d3008e0faab967ec0e677170db24e0f086",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7.1.9000",
      "date": "2026-07-16T07:14:40.000Z",
      "distro": "resolute",
      "commit": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
      "fileid": "https://r2.ropensci.org/1376a1b69c57461cd810bd7092c50482b7d20de60a076f5dd8b95409559e148b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.1.9000",
      "date": "2026-07-16T07:13:22.000Z",
      "commit": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
      "fileid": "https://r2.ropensci.org/712ddc8714c0f41b2223e453f8f73d4dab8fc11ff35c2973ea3b30efbae262c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7.1.9000",
      "date": "2026-07-16T07:13:46.000Z",
      "commit": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
      "fileid": "https://r2.ropensci.org/b2fbc560a2f41f4430624f756cb24e6815f6c540bed99b36f9aad8fff297e360",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.1.9000",
      "date": "2026-07-16T07:14:28.000Z",
      "commit": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
      "fileid": "https://r2.ropensci.org/0ba5c1b8ff0b7ed9890f307fa81ffb437cb6efc9c9ad3bd68a9b60715a5355b8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.1.9000",
      "date": "2026-07-16T07:13:08.000Z",
      "commit": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
      "fileid": "https://r2.ropensci.org/113caf03d983923cb5b6bf33735adc11ff16c92448552d5e9afde91b86337d0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.1.9000",
      "date": "2026-07-16T07:13:03.000Z",
      "commit": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
      "fileid": "https://r2.ropensci.org/62d6fae349440a951c513c124162588fc615cfa6354524cfd26a3eb58b3bfba0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7.1.9000",
      "date": "2026-07-16T07:13:31.000Z",
      "commit": "c6bb49e7c6e42ea2d965195b9546bcb0edcae842",
      "fileid": "https://r2.ropensci.org/e3f44c8ed853d4081e71f123ef54bb02eb0f72eca5fecd1593e00296c18388b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/29478862422"
    }
  ]
}