{
  "_id": "6a103a4eacfb0bcc41c9b358",
  "Package": "hydroState",
  "Title": "Hidden Markov Modelling of Hydrological State Change",
  "Version": "0.2.0.0",
  "Authors@R": "c(\nperson(\"Tim\", \"Peterson\", email = \"tim.peterson@monash.edu\", role = c(\"aut\", \"cre\",\"cph\"), comment = c(ORCID = \"0000-0002-1885-0826\")),\nperson(\"Thomas\", \"Westfall\", email = \"thomas.westfall1@monash.edu\", role = \"aut\", comment = c(ORCID = \"0009-0000-0529-881X\")))",
  "Maintainer": "Tim Peterson <tim.peterson@monash.edu>",
  "Description": "Identifies regime changes in streamflow runoff not\nexplained by variations in precipitation. The package builds a\nflexible set of Hidden Markov Models of annual, seasonal or\nmonthly streamflow runoff with precipitation as a predictor.\nSuites of models can be built for a single site, ranging from\none to three states and each with differing combinations of\nerror models and auto-correlation terms. The most parsimonious\nmodel is easily identified by AIC, and useful for understanding\ncatchment drought non-recovery: Peterson TJ, Saft M, Peel MC &\nJohn A (2021) <doi:10.1126/science.abd5085>.",
  "BugReports": "https://github.com/peterson-tim-j/HydroState/issues",
  "URL": "https://github.com/peterson-tim-j/HydroState,\nhttps://peterson-tim-j.github.io/HydroState/",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.1",
  "Roxygen": "list(markdown = TRUE)",
  "ByteCompile": "true",
  "Config/testthat/edition": "3",
  "Collate": "'abstracts.R' 'parameters.R' 'Qhat.boxcox.R' 'Qhat.burbidge.R'\n'Qhat.log.R' 'Qhat.none.R' 'QhatModel.homo.normal.linear.R'\n'QhatModel.homo.normal.linear.AR1.R'\n'QhatModel.homo.gamma.linear.R'\n'QhatModel.homo.gamma.linear.AR1.R'\n'QhatModel.homo.normal.linear.AR2.R'\n'QhatModel.homo.gamma.linear.AR2.R'\n'QhatModel.homo.normal.linear.AR3.R'\n'QhatModel.homo.gamma.linear.AR3.R'\n'QhatModel.homo.skewedNormal.linear.R'\n'QhatModel.homo.skewedNormal.linear.AR1.R'\n'QhatModel.homo.skewedNormal.linear.AR2.R'\n'QhatModel.homo.skewedNormal.linear.AR3.R'\n'QhatModel.subAnnual.homo.gamma.linear.R'\n'QhatModel.subAnnual.homo.gamma.linear.AR1.R'\n'QhatModel.subAnnual.homo.gamma.linear.AR2.R'\n'QhatModel.subAnnual.homo.gamma.linear.AR3.R'\n'RhatModel.homo.normal.linear.R' 'hydroState-package.R'\n'markov.annualHomogeneous.R' 'hydroState.R'\n'hydroState.allModels.R' 'hydroState.subAnnual.allModels.R'\n'markov.annualHomogeneous.flickering.R' 'wrapper.R'",
  "Repository": "https://peterson-tim-j.r-universe.dev",
  "Date/Publication": "2025-11-07 06:20:46 UTC",
  "RemoteUrl": "https://github.com/peterson-tim-j/hydrostate",
  "RemoteRef": "HEAD",
  "RemoteSha": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 08:29:28 UTC",
    "User": "root"
  },
  "Author": "Tim Peterson [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-1885-0826>),\nThomas Westfall [aut] (ORCID: <https://orcid.org/0009-0000-0529-881X>)",
  "MD5sum": "d9bbea20f9fa36a81e1bd7c6bbacdec1",
  "_user": "peterson-tim-j",
  "_type": "src",
  "_file": "hydroState_0.2.0.0.tar.gz",
  "_fileid": "39f716c7ef924e30bc883c918a4afdfe14fbecea62a4f63b39d327f79114ffbb",
  "_filesize": 2848249,
  "_sha256": "39f716c7ef924e30bc883c918a4afdfe14fbecea62a4f63b39d327f79114ffbb",
  "_created": "2026-05-11T08:29:28.000Z",
  "_published": "2026-05-22T11:13:18.195Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77368285656,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6913792554"
    },
    {
      "job": 77368285466,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913790201"
    },
    {
      "job": 77368285594,
      "time": 175,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6913791513"
    },
    {
      "job": 77368285379,
      "time": 215,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913791729"
    },
    {
      "job": 77368285076,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913743179"
    },
    {
      "job": 77368284858,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159126391"
    },
    {
      "job": 77368285470,
      "time": 90,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6936084170"
    },
    {
      "job": 77368285741,
      "time": 122,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6913783687"
    },
    {
      "job": 77368285518,
      "time": 134,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6913787155"
    }
  ],
  "_buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/peterson-tim-j/hydrostate",
  "_commit": {
    "id": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
    "author": "Tim Peterson <tim.peterson@monash.edu>",
    "committer": "Tim Peterson <tim.peterson@monash.edu>",
    "message": "Typo in Science\n",
    "time": 1762496446
  },
  "_maintainer": {
    "name": "Tim Peterson",
    "email": "tim.peterson@monash.edu",
    "login": "peterson-tim-j",
    "orcid": "0000-0002-1885-0826",
    "uuid": 8623994
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "DEoptim",
      "role": "Imports"
    },
    {
      "package": "sn",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "role": "Imports"
    },
    {
      "package": "diagram",
      "role": "Imports"
    },
    {
      "package": "padr",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "V8",
      "role": "Suggests"
    }
  ],
  "_owner": "peterson-tim-j",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 12
    },
    {
      "week": "2025-32",
      "n": 12
    },
    {
      "week": "2025-33",
      "n": 7
    },
    {
      "week": "2025-35",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 8
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 11
    }
  ],
  "_tags": [],
  "_topics": [
    "hidden-markov-model",
    "hydrology",
    "statistics",
    "streamflow"
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "thomaswestfall",
      "count": 77,
      "uuid": 26385140
    },
    {
      "user": "peterson-tim-j",
      "count": 19,
      "uuid": 8623994
    }
  ],
  "_userbio": {
    "uuid": 8623994,
    "type": "user",
    "name": "Tim Peterson",
    "description": "I'm a hydrologist and A/Prof at Monash Uni.  My packages enable better understanding of long term catchment dynamics by making better use of observed data."
  },
  "_downloads": {
    "count": 322,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hydroState"
  },
  "_devurl": "https://github.com/peterson-tim-j/hydrostate",
  "_pkgdown": "https://peterson-tim-j.github.io/HydroState/",
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hydroState.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/peterson-tim-j/hydrostate",
  "_realowner": "peterson-tim-j",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0.0",
      "date": "2025-09-22"
    }
  ],
  "_exports": [
    "build",
    "build.all",
    "check",
    "fit.hydroState",
    "get.AIC",
    "get.residuals",
    "get.seasons",
    "get.states",
    "setInitialYear"
  ],
  "_datasets": [
    {
      "name": "all.models.annual.fitted.407211",
      "title": "hydroState-internal",
      "object": "all.models.annual.fitted.407211",
      "class": [
        "hydroState.allModels"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "all.models.monthly.fitted.415201",
      "title": "hydroState-internal",
      "object": "all.models.monthly.fitted.415201",
      "class": [
        "hydroState.allModels"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "all.models.seasonal.fitted.415201",
      "title": "hydroState-internal",
      "object": "all.models.seasonal.fitted.415201",
      "class": [
        "hydroState.allModels"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "model.annual.fitted.221201",
      "title": "hydroState-internal",
      "object": "model.annual.fitted.221201",
      "class": [
        "hydroState"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "model.monthly.fitted.415201",
      "title": "hydroState-internal",
      "object": "model.monthly.fitted.415201",
      "class": [
        "hydroState"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "model.seasonal.fitted.415201",
      "title": "hydroState-internal",
      "object": "model.seasonal.fitted.415201",
      "class": [
        "hydroState"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "streamflow_annual_221201",
      "title": "hydroState-internal",
      "object": "streamflow_annual_221201",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "flow",
        "precipitation"
      ],
      "rows": 94,
      "table": true,
      "tojson": true
    },
    {
      "name": "streamflow_annual_407211",
      "title": "hydroState-internal",
      "object": "streamflow_annual_407211",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "flow",
        "precipitation"
      ],
      "rows": 73,
      "table": true,
      "tojson": true
    },
    {
      "name": "streamflow_annual_415201",
      "title": "hydroState-internal",
      "object": "streamflow_annual_415201",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "flow",
        "precipitation"
      ],
      "rows": 67,
      "table": true,
      "tojson": true
    },
    {
      "name": "streamflow_daily_221201",
      "title": "hydroState-internal",
      "object": "streamflow_daily_221201",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "month",
        "day",
        "flow",
        "precipitation"
      ],
      "rows": 26298,
      "table": true,
      "tojson": true
    },
    {
      "name": "streamflow_monthly_221201",
      "title": "hydroState-internal",
      "object": "streamflow_monthly_221201",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "month",
        "flow",
        "precipitation"
      ],
      "rows": 1143,
      "table": true,
      "tojson": true
    },
    {
      "name": "streamflow_monthly_415201",
      "title": "hydroState-internal",
      "object": "streamflow_monthly_415201",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "month",
        "flow",
        "precipitation"
      ],
      "rows": 812,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "hydroState-package",
      "title": "hydroState: Hidden Markov modeling for hydrological state change",
      "topics": [
        "hydroState-package",
        "hydroState"
      ]
    },
    {
      "page": "build",
      "title": "Builds hydroState model",
      "topics": [
        "build"
      ]
    },
    {
      "page": "build.all",
      "title": "Builds all hydroState models",
      "topics": [
        "build.all"
      ]
    },
    {
      "page": "check",
      "title": "Check reliability of state predictions",
      "topics": [
        "check"
      ]
    },
    {
      "page": "fit.hydroState",
      "title": "Fit hydroState model",
      "topics": [
        "fit.hydroState"
      ]
    },
    {
      "page": "get.AIC",
      "title": "Get AIC",
      "topics": [
        "get.AIC"
      ]
    },
    {
      "page": "get.residuals",
      "title": "Get pseudo residuals",
      "topics": [
        "get.residuals"
      ]
    },
    {
      "page": "get.seasons",
      "title": "Get seasons",
      "topics": [
        "get.seasons"
      ]
    },
    {
      "page": "get.states",
      "title": "Get states",
      "topics": [
        "get.states"
      ]
    },
    {
      "page": "plot.hydroState",
      "title": "Plot states or pseudo residuals over time",
      "topics": [
        "plot.hydroState"
      ]
    },
    {
      "page": "setInitialYear",
      "title": "Sets state names given initial year",
      "topics": [
        "setInitialYear"
      ]
    },
    {
      "page": "summary.hydroState.allModels",
      "title": "Summarize all models",
      "topics": [
        "summary.hydroState.allModels"
      ]
    }
  ],
  "_readme": "https://github.com/peterson-tim-j/hydrostate/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "cpp11",
    "DEoptim",
    "diagram",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mnormt",
    "numDeriv",
    "padr",
    "pillar",
    "pkgconfig",
    "quantreg",
    "R6",
    "Rcpp",
    "rlang",
    "shape",
    "sn",
    "SparseM",
    "survival",
    "tibble",
    "tidyselect",
    "timechange",
    "truncnorm",
    "utf8",
    "vctrs",
    "withr",
    "zoo"
  ],
  "_score": 4.585460729508501,
  "_indexed": true,
  "_nocasepkg": "hydrostate",
  "_universes": [
    "peterson-tim-j"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0.0",
      "date": "2026-05-11T08:31:57.000Z",
      "distro": "noble",
      "commit": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
      "fileid": "6089dbdeccfd78455a543f6e916c4ef8ad02c6170b4fe30827b93618f6f4456b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0.0",
      "date": "2026-05-11T08:31:53.000Z",
      "distro": "noble",
      "commit": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
      "fileid": "3464445c6073331e21f56ba9c240f5d6c55d2641622527c4f4698828ce1dcc51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0.0",
      "date": "2026-05-11T08:32:04.000Z",
      "commit": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
      "fileid": "ff0fd83774bab14d87ddb4add417a0ea5b7c482642dd6697908c917a427acab0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0.0",
      "date": "2026-05-11T08:32:04.000Z",
      "commit": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
      "fileid": "8adc1e67efe5da10eac1cc2357293d68c72a54a12a898a2d9de9e88102d4ff63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0.0",
      "date": "2026-05-12T05:06:00.000Z",
      "commit": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
      "fileid": "534276196bb34e75ff3f490677936835b1dc6a87a65f7e6dea982d345685d6f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0.0",
      "date": "2026-05-11T08:31:22.000Z",
      "commit": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
      "fileid": "100e0189991db7bff52a685c02bb60497f8d53b65c3df9f21ed18248ffaa3410",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0.0",
      "date": "2026-05-11T08:31:21.000Z",
      "commit": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
      "fileid": "fe46654727f0da3d4185671424c819c641c1b2e5bfcec51c51b86bc37d0a1daf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0.0",
      "date": "2026-05-22T11:12:57.000Z",
      "commit": "859e1a35ef747fee1d93e9ac79af4de0df66ce43",
      "fileid": "ad766547ca79451a3df4c7e07b4819cc0d81661b47be9a029a52359808f63272",
      "status": "success",
      "buildurl": "https://github.com/r-universe/peterson-tim-j/actions/runs/25658951276"
    }
  ]
}