{
  "_id": "6aedd1ee2e87f76f20ad55ea",
  "Package": "ShiftHappens",
  "Type": "Package",
  "Title": "Detecting, Visualizing and Estimating Shifts",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"Felipe\", \"Mendez\", email = \"felipe-alberto.mendez-rios@inrae.fr\",role = c(\"aut\"),comment = c(ORCID = \"0009-0004-0371-8699\")),\nperson(\"Benjamin\", \"Renard\", email = \"benjamin.renard@inrae.fr\",role = c(\"aut\", \"cre\",\"cph\"),comment = c(ORCID = \"0000-0001-8447-5430\")),\nperson(\"Matteo\", \"Darienzo\", role = c(\"aut\")),\nperson(\"INRAE\", role = c(\"fnd\")),\nperson(\"Ministère de la Transition Ecologique - SCHAPI\", role = c(\"fnd\")))",
  "Description": "Detecting, visualizing and estimating shifts, with a\nspecific focus on stage-discharge rating shifts. The main\nmethods are described in Darienzo et al. (2021)\n<doi:10.1029/2020WR028607> and Mansanarez et al. (2019)\n<doi:10.1029/2018WR023389>. See also 'BayDERS'\n<https://github.com/MatteoDarienzo/BayDERS> for similar tools,\nand 'RatingShiftHappens'\n<https://github.com/Felipemendezrios/RatingShiftHappens> for an\nolder version of this package.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/benRenard/ShiftHappens",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://benrenard.r-universe.dev",
  "Date/Publication": "2026-09-07 13:07:43 UTC",
  "RemoteUrl": "https://github.com/benrenard/shifthappens",
  "RemoteRef": "HEAD",
  "RemoteSha": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-06 13:00:49 UTC",
    "User": "root"
  },
  "Author": "Felipe Mendez [aut] (ORCID: <https://orcid.org/0009-0004-0371-8699>),\nBenjamin Renard [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-8447-5430>),\nMatteo Darienzo [aut],\nINRAE [fnd],\nMinistère de la Transition Ecologique - SCHAPI [fnd]",
  "Maintainer": "Benjamin Renard <benjamin.renard@inrae.fr>",
  "_user": "benrenard",
  "_type": "src",
  "_file": "ShiftHappens_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/66ff800afd815f2967634e33ec4f7e483a87bad978d87b438b817234ce7d8a04",
  "_filesize": 919165,
  "_sha256": "66ff800afd815f2967634e33ec4f7e483a87bad978d87b438b817234ce7d8a04",
  "_expires": "2027-02-14T13:11:08.000Z",
  "_created": "2026-11-06T13:00:49.000Z",
  "_published": "2026-11-06T13:11:10.793Z",
  "_upstream": "https://github.com/benrenard/shifthappens",
  "_status": "success",
  "_maintainer": {
    "name": "Benjamin Renard",
    "email": "benjamin.renard@inrae.fr",
    "login": "benrenard",
    "description": "",
    "uuid": 84188144,
    "orcid": "0000-0001-8447-5430"
  },
  "_jobs": [
    {
      "job": 127906630738,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13503259783"
    },
    {
      "job": 127906630730,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13502684965"
    },
    {
      "job": 127906630919,
      "time": 188,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13504417625"
    },
    {
      "job": 127906630668,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13503314261"
    },
    {
      "job": 127905141834,
      "time": 205,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13504730170"
    },
    {
      "job": 127906630625,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13504256430"
    },
    {
      "job": 127906631138,
      "time": 96,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13504486271"
    },
    {
      "job": 127906630970,
      "time": 145,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13504700690"
    },
    {
      "job": 127906631114,
      "time": 107,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13503468905"
    }
  ],
  "_buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589",
  "_commit": {
    "id": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
    "author": "benRenard <benjamin.renard@inrae.fr>",
    "committer": "benRenard <benjamin.renard@inrae.fr>",
    "message": "First logo attempt",
    "time": 1788786463
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "RBaM",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "benrenard",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 8
    },
    {
      "week": "2026-05",
      "n": 3
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 16
    },
    {
      "week": "2026-08",
      "n": 18
    },
    {
      "week": "2026-09",
      "n": 4
    },
    {
      "week": "2026-19",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 2
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2026-07-20"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "benrenard",
      "count": 69,
      "uuid": 84188144
    }
  ],
  "_userbio": {
    "uuid": 84188144,
    "type": "user",
    "name": "benRenard",
    "followers": 15
  },
  "_downloads": {
    "count": 215,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ShiftHappens"
  },
  "_devurl": "https://github.com/benrenard/shifthappens",
  "_searchresults": 23,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ShiftHappens.html"
  ],
  "_homeurl": "https://github.com/benrenard/shifthappens",
  "_realowner": "benrenard",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2026-07-29"
    }
  ],
  "_exports": [
    "Extract_Recessions",
    "extractedRecessions",
    "Fit_BaRatin",
    "Fit_LinearRegression",
    "Fit_Recessions",
    "fittedModel",
    "getRecessionEquations",
    "getRecessionMin",
    "getShifts",
    "multipleSegmentation",
    "numeric_to_time",
    "recursiveModeling",
    "recursiveSegmentation",
    "Segmentation",
    "Segmentation_BaRatin",
    "Segmentation_Engine",
    "Segmentation_quickApprox",
    "Segmentation_Recessions",
    "Segmentation_Recursive",
    "Segmentation_RecursiveModeling",
    "segmentationTree",
    "simpleSegmentation",
    "time_to_numeric"
  ],
  "_datasets": [
    {
      "name": "ArdecheRiverGaugings",
      "title": "Gauging of the Ardèche River at Meyras, France, provided by UHPC Grand Delta",
      "object": "ArdecheRiverGaugings",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Date",
        "H",
        "Q",
        "uQ"
      ],
      "rows": 151,
      "table": true,
      "tojson": true
    },
    {
      "name": "ArdecheRiverStage",
      "title": "Stage record of the Ardèche River at Meyras, France, provided by UHPC Grand Delta",
      "object": "ArdecheRiverStage",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Date",
        "H"
      ],
      "rows": 28913,
      "table": true,
      "tojson": true
    },
    {
      "name": "RhoneRiverAMAX",
      "title": "Floods of the Rhone River at Beaucaire, France",
      "object": "RhoneRiverAMAX",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Year",
        "Date",
        "Time",
        "H",
        "uH",
        "Q",
        "uQ"
      ],
      "rows": 202,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ArdecheRiverGaugings",
      "title": "Gauging of the Ardèche River at Meyras, France, provided by UHPC Grand Delta",
      "topics": [
        "ArdecheRiverGaugings"
      ]
    },
    {
      "page": "ArdecheRiverStage",
      "title": "Stage record of the Ardèche River at Meyras, France, provided by UHPC Grand Delta",
      "topics": [
        "ArdecheRiverStage"
      ]
    },
    {
      "page": "Extract_Recessions",
      "title": "Recessions extractor",
      "topics": [
        "Extract_Recessions"
      ]
    },
    {
      "page": "extractedRecessions",
      "title": "extractedRecessions object constructor.",
      "topics": [
        "extractedRecessions"
      ]
    },
    {
      "page": "Fit_BaRatin",
      "title": "BaRatin",
      "topics": [
        "Fit_BaRatin"
      ]
    },
    {
      "page": "Fit_LinearRegression",
      "title": "Linear regression",
      "topics": [
        "Fit_LinearRegression"
      ]
    },
    {
      "page": "Fit_Recessions",
      "title": "Fit recession model",
      "topics": [
        "Fit_Recessions"
      ]
    },
    {
      "page": "fittedModel",
      "title": "fittedModel object constructor.",
      "topics": [
        "fittedModel"
      ]
    },
    {
      "page": "getRecessionEquations",
      "title": "Recessions equations",
      "topics": [
        "getRecessionEquations"
      ]
    },
    {
      "page": "getRecessionMin",
      "title": "Recessions minima",
      "topics": [
        "getRecessionMin"
      ]
    },
    {
      "page": "getShifts",
      "title": "Get Shifts",
      "topics": [
        "getShifts"
      ]
    },
    {
      "page": "multipleSegmentation",
      "title": "multipleSegmentation object constructor.",
      "topics": [
        "multipleSegmentation"
      ]
    },
    {
      "page": "numeric_to_time",
      "title": "Numeric to time format",
      "topics": [
        "numeric_to_time"
      ]
    },
    {
      "page": "plot.extractedRecessions",
      "title": "extractedRecessions plotter",
      "topics": [
        "plot.extractedRecessions"
      ]
    },
    {
      "page": "plot.fittedModel",
      "title": "fittedModel Plotter.",
      "topics": [
        "plot.fittedModel"
      ]
    },
    {
      "page": "plot.multipleSegmentation",
      "title": "multipleSegmentation plotter",
      "topics": [
        "plot.multipleSegmentation"
      ]
    },
    {
      "page": "plot.recursiveModeling",
      "title": "recursiveModeling plotter",
      "topics": [
        "plot.recursiveModeling"
      ]
    },
    {
      "page": "plot.recursiveSegmentation",
      "title": "recursiveSegmentation plotter",
      "topics": [
        "plot.recursiveSegmentation"
      ]
    },
    {
      "page": "plot.segmentationTree",
      "title": "segmentationTree Plotter",
      "topics": [
        "plot.segmentationTree"
      ]
    },
    {
      "page": "plot.simpleSegmentation",
      "title": "simpleSegmentation plotter",
      "topics": [
        "plot.simpleSegmentation"
      ]
    },
    {
      "page": "recursiveModeling",
      "title": "recursiveModeling object constructor.",
      "topics": [
        "recursiveModeling"
      ]
    },
    {
      "page": "recursiveSegmentation",
      "title": "recursiveSegmentation object constructor.",
      "topics": [
        "recursiveSegmentation"
      ]
    },
    {
      "page": "RhoneRiverAMAX",
      "title": "Floods of the Rhone River at Beaucaire, France",
      "topics": [
        "RhoneRiverAMAX"
      ]
    },
    {
      "page": "Segmentation",
      "title": "Segmentation",
      "topics": [
        "Segmentation"
      ]
    },
    {
      "page": "Segmentation_BaRatin",
      "title": "BaRatin-based segmentation",
      "topics": [
        "Segmentation_BaRatin"
      ]
    },
    {
      "page": "Segmentation_Engine",
      "title": "Segmentation engine",
      "topics": [
        "Segmentation_Engine"
      ]
    },
    {
      "page": "Segmentation_quickApprox",
      "title": "Segmentation engine - quick approximation algorithm",
      "topics": [
        "Segmentation_quickApprox"
      ]
    },
    {
      "page": "Segmentation_Recessions",
      "title": "Recessions-based segmentation",
      "topics": [
        "Segmentation_Recessions"
      ]
    },
    {
      "page": "Segmentation_Recursive",
      "title": "Recursive Segmentation",
      "topics": [
        "Segmentation_Recursive"
      ]
    },
    {
      "page": "Segmentation_RecursiveModeling",
      "title": "Recursive Modeling Segmentation",
      "topics": [
        "Segmentation_RecursiveModeling"
      ]
    },
    {
      "page": "segmentationTree",
      "title": "segmentationTree object constructor.",
      "topics": [
        "segmentationTree"
      ]
    },
    {
      "page": "simpleSegmentation",
      "title": "simpleSegmentation object constructor.",
      "topics": [
        "simpleSegmentation"
      ]
    },
    {
      "page": "time_to_numeric",
      "title": "Time to numeric format",
      "topics": [
        "time_to_numeric"
      ]
    }
  ],
  "_pkglogo": "https://github.com/benrenard/shifthappens/raw/HEAD/logo.svg",
  "_readme": "https://github.com/benrenard/shifthappens/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mvtnorm",
    "patchwork",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "RBaM",
    "RColorBrewer",
    "rjson",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 4.507855871695831,
  "_indexed": true,
  "_nocasepkg": "shifthappens",
  "_universes": [
    "benrenard"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-06T13:03:26.000Z",
      "distro": "resolute",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/c95f1ade44ec0b488e3ef854789f9b659af47506b1994d25d810fae4bbc2bbe9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-11-06T13:03:23.000Z",
      "distro": "resolute",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/033cc9e3b02d59f8f91d0b28e069071633f0fe5e62eea92f2b63db1406595cdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-06T13:07:27.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/6ea716f0a3c839e87669bdbbc1534e5d8f1d46ec3e4aa6d7836ac44df94d8128",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-11-06T13:09:51.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/da355248607fd0de258c86baf79e7af972dd9dfa815338e20017b5b4161f2916",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-11-06T13:03:28.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/f59b6158e15c9308247597cbcaed2f7220b16af57513e06130e3fade784d3b6b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-06T13:02:33.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/35400788fa6725d3d2a8d4d2c36ec58c9453de94bda84f1e4773b4f5468649ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-06T13:02:53.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/1c450eb5809191a0e9b76eda181f479d35439cbaff0aad95b3c1732a7b440392",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-11-06T13:02:31.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/13a2a8283e6d195be5c11330f9709513bf476698490142f61686fb43154d50df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/42221676589"
    }
  ]
}