{
  "_id": "6ac65adaf511ae58c09aa7cd",
  "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-10-07 13:10:02 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/60ae9ed85592314cb49476d411083892402b8fbdc2b66c64cea3a85701b3e4b6",
  "_filesize": 919160,
  "_sha256": "60ae9ed85592314cb49476d411083892402b8fbdc2b66c64cea3a85701b3e4b6",
  "_expires": "2027-01-15T14:44:40.000Z",
  "_created": "2026-10-07T13:10:02.000Z",
  "_published": "2026-10-07T14:44:42.292Z",
  "_buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112809264632,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11483419868"
    },
    {
      "job": 112809264451,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11484173172"
    },
    {
      "job": 112809264520,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11490513373"
    },
    {
      "job": 112809264597,
      "time": 176,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11491720281"
    },
    {
      "job": 112808128992,
      "time": 151,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11484287712"
    },
    {
      "job": 112809264463,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11483819340"
    },
    {
      "job": 112809264502,
      "time": 104,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11484178320"
    },
    {
      "job": 112809264606,
      "time": 108,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11483569863"
    },
    {
      "job": 112809264564,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11485315060"
    }
  ],
  "_upstream": "https://github.com/benrenard/shifthappens",
  "_commit": {
    "id": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
    "author": "benRenard <benjamin.renard@inrae.fr>",
    "committer": "benRenard <benjamin.renard@inrae.fr>",
    "message": "First logo attempt",
    "time": 1788786463
  },
  "_maintainer": {
    "name": "Benjamin Renard",
    "email": "benjamin.renard@inrae.fr",
    "login": "benrenard",
    "description": "",
    "uuid": 84188144,
    "orcid": "0000-0001-8447-5430"
  },
  "_distro": "resolute",
  "_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-44",
      "n": 4
    },
    {
      "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": 209,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ShiftHappens"
  },
  "_devurl": "https://github.com/benrenard/shifthappens",
  "_searchresults": 23,
  "_rbuild": "4.6.1",
  "_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.537819095073274,
  "_indexed": true,
  "_nocasepkg": "shifthappens",
  "_universes": [
    "benrenard"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-07T13:12:05.000Z",
      "distro": "resolute",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/4b79dba00966d01e21f620707b2515add490688aefedeb48b88b342549f4b2f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-07T13:12:09.000Z",
      "distro": "resolute",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/e9553203c06ca5aa3b64d4a2e296151562d587f9c36be2fb8309346c7563db2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-07T14:42:02.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/3fe91d315a3c6b9a58432436bc91a1a1139ccdbfc8ecc7c42a0055b95800109c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-07T14:43:20.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/e9e69603fbb3ecbd879c6610956b07cd94ec2033d45da01cf8fd863345813166",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-10-07T13:12:17.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/f83a6cc791f816ab5bce14ec0286b2bf5102db419ba85e4e2a8776381c6305d2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-07T13:11:17.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/71db830242225cfbb4676392cd45ce257966eb03a48707a996b615537a1d95e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-07T13:11:27.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/52748b99740e150ff84f778cde44adb73a6238ed65ea20e215bcc205e35ed0a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-07T13:11:10.000Z",
      "commit": "7582d80eea73cab1ea1ea14ac009da6a98889eba",
      "fileid": "https://r2.ropensci.org/35b9a4570858ea183ce23c08ad4c00eb360c88126dfa0eae38583d1ca406632d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benrenard/actions/runs/37626051985"
    }
  ]
}