{
  "_id": "6adcc71a36cb6c0442e4f527",
  "Package": "edetect",
  "Title": "Anytime-Valid Control Charts with E-Detectors",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(\"André\", \"Leite\", , \"leite@castlab.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4718-9766\")),\nperson(\"Raydonal\", \"Ospina\", , \"raydonal@castlab.org\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9884-9090\")),\nperson(\"Cristiano\", \"Ferraz\", , \"cferraz@castlab.org\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-6838-6734\"))\n)",
  "Description": "Sequential change detection for process monitoring with\nthe e-detectors of Shin, Ramdas and Rinaldo (2024)\n<doi:10.51387/23-NEJSDS51>: nonparametric, anytime-valid\nanalogues of the CUSUM and Shiryaev-Roberts charts whose\naverage run length to a false alarm is guaranteed for every\ndistribution in a declared pre-change class (bounded,\nsub-Gaussian, Bernoulli or Poisson observations). Phase I/Phase\nII workflow, individual, p, c, u and regression charts,\nrun-length simulation and auditable alarm reports.",
  "License": "GPL (>= 3)",
  "URL": "https://castlaboratory.github.io/edetect/,\nhttps://github.com/castlaboratory/edetect",
  "BugReports": "https://github.com/castlaboratory/edetect/issues",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.1",
  "Repository": "https://castlaboratory.r-universe.dev",
  "Date/Publication": "2026-10-24 11:27:32 UTC",
  "RemoteUrl": "https://github.com/castlaboratory/edetect",
  "RemoteRef": "HEAD",
  "RemoteSha": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-24 14:51:59 UTC",
    "User": "root"
  },
  "Author": "André Leite [aut, cre] (ORCID: <https://orcid.org/0000-0002-4718-9766>),\nRaydonal Ospina [aut] (ORCID: <https://orcid.org/0000-0002-9884-9090>),\nCristiano Ferraz [aut] (ORCID: <https://orcid.org/0000-0002-6838-6734>)",
  "Maintainer": "André Leite <leite@castlab.org>",
  "_user": "castlaboratory",
  "_type": "src",
  "_file": "edetect_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/bb5e9894c948b6807b88266126c9d680da6f9de438026319dcaad843fac4f81b",
  "_filesize": 701255,
  "_sha256": "bb5e9894c948b6807b88266126c9d680da6f9de438026319dcaad843fac4f81b",
  "_expires": "2027-02-01T14:56:24.000Z",
  "_created": "2026-10-24T14:51:59.000Z",
  "_published": "2026-10-24T14:56:26.191Z",
  "_upstream": "https://github.com/castlaboratory/edetect",
  "_status": "success",
  "_maintainer": {
    "name": "André Leite",
    "email": "leite@castlab.org",
    "orcid": "0000-0002-4718-9766"
  },
  "_jobs": [
    {
      "job": 120903035831,
      "time": 232,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12563717970"
    },
    {
      "job": 120903035781,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12563782518"
    },
    {
      "job": 120903035737,
      "time": 128,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12564436229"
    },
    {
      "job": 120903035719,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12564077613"
    },
    {
      "job": 120902127301,
      "time": 247,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12564171912"
    },
    {
      "job": 120903035691,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12564520366"
    },
    {
      "job": 120903035770,
      "time": 85,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12563931870"
    },
    {
      "job": 120903035714,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12564456004"
    },
    {
      "job": 120903035731,
      "time": 68,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12564041656"
    }
  ],
  "_buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275",
  "_commit": {
    "id": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
    "author": "Raydonal <raydonal@de.ufpe.br>",
    "committer": "Raydonal <raydonal@de.ufpe.br>",
    "message": "Centre an estimated chart at a Phase I confidence bound by default\n\nedetect_design() gains phase1_beta (default 0.1). When the centre is estimated\nfrom Phase I it is now a one-sided confidence bound at level 1 - phase1_beta\n(betting bound for the bounded class, Chernoff bounds for the Bernoulli and\nPoisson classes, beta/2 per side for two-sided charts), so that the\nconditional ARL is at least arl with probability 1 - phase1_beta and\nP(false alarm by t) <= phase1_beta + t/arl. phase1_beta = NULL keeps the\nplug-in centre of 0.1.0.\n\nReports list Phase I checks: the lag-one autocorrelation of a numeric Phase I\nsample, and whether the width of a betting bound is set by the variance of the\ndata or by the declared bounds. New edetect_batch_means() for autocorrelated\ndata. Per-bet centres (center_k), log_mix without apply, edetect_arl draws\ndata in blocks; tests and vignettes updated.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1792841252
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.2.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shewhartr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "castlaboratory",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-41",
      "n": 8
    },
    {
      "week": "2026-43",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-10-09"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "milkway",
      "count": 9,
      "uuid": 7375849
    },
    {
      "user": "raydonal",
      "count": 1,
      "uuid": 16047363
    }
  ],
  "_userbio": {
    "uuid": 75082362,
    "type": "organization",
    "name": "CAST Laboratory",
    "followers": 1
  },
  "_downloads": {
    "count": 43,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/edetect"
  },
  "_devurl": "https://github.com/castlaboratory/edetect",
  "_pkgdown": "https://castlaboratory.github.io/edetect/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/edetect.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/castlaboratory/edetect",
  "_realowner": "castlaboratory",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-21"
    }
  ],
  "_exports": [
    "autoplot",
    "edetect_alarm",
    "edetect_arl",
    "edetect_batch_means",
    "edetect_c",
    "edetect_classes",
    "edetect_design",
    "edetect_init",
    "edetect_p",
    "edetect_regression",
    "edetect_report",
    "edetect_restart",
    "edetect_u",
    "edetect_update",
    "edetect_x",
    "glance",
    "tidy"
  ],
  "_help": [
    {
      "page": "autoplot.edetect_chart",
      "title": "Plot a detector",
      "topics": [
        "autoplot.edetect_chart"
      ]
    },
    {
      "page": "edetect_alarm",
      "title": "The alarm status of a detector",
      "topics": [
        "edetect_alarm"
      ]
    },
    {
      "page": "edetect_arl",
      "title": "Simulate run lengths of a design",
      "topics": [
        "edetect_arl"
      ]
    },
    {
      "page": "edetect_batch_means",
      "title": "Batch means of a series",
      "topics": [
        "edetect_batch_means"
      ]
    },
    {
      "page": "edetect_c",
      "title": "c chart: counts of nonconformities per unit",
      "topics": [
        "edetect_c"
      ]
    },
    {
      "page": "edetect_classes",
      "title": "Pre-change classes",
      "topics": [
        "edetect_classes"
      ]
    },
    {
      "page": "edetect_design",
      "title": "Design an e-detector",
      "topics": [
        "edetect_design"
      ]
    },
    {
      "page": "edetect_init",
      "title": "Initialise an e-detector",
      "topics": [
        "edetect_init"
      ]
    },
    {
      "page": "edetect_p",
      "title": "p chart: proportion of nonconforming units",
      "topics": [
        "edetect_p"
      ]
    },
    {
      "page": "edetect_regression",
      "title": "Regression chart: monitoring residuals of a Phase I model",
      "topics": [
        "edetect_regression"
      ]
    },
    {
      "page": "edetect_report",
      "title": "The full report of a detector",
      "topics": [
        "edetect_report"
      ]
    },
    {
      "page": "edetect_restart",
      "title": "Restart a detector after an alarm",
      "topics": [
        "edetect_restart"
      ]
    },
    {
      "page": "edetect_u",
      "title": "u chart: nonconformities per unit of exposure",
      "topics": [
        "edetect_u"
      ]
    },
    {
      "page": "edetect_update",
      "title": "Update an e-detector with new observations",
      "topics": [
        "edetect_update"
      ]
    },
    {
      "page": "edetect_x",
      "title": "Individual-observation chart for bounded data",
      "topics": [
        "edetect_x"
      ]
    },
    {
      "page": "glance.edetect_chart",
      "title": "Glance at a detector",
      "topics": [
        "glance.edetect_chart"
      ]
    },
    {
      "page": "tidy.edetect_chart",
      "title": "Tidy the trajectory of a detector",
      "topics": [
        "tidy.edetect_chart"
      ]
    }
  ],
  "_pkglogo": "https://github.com/castlaboratory/edetect/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/castlaboratory/edetect/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "attribute-charts.Rmd",
      "filename": "attribute-charts.html",
      "title": "Attribute charts: p, c and u",
      "engine": "knitr::rmarkdown",
      "headings": [
        "p chart: daily error rates of insurance claims",
        "c chart: solder defects on circuit boards",
        "u chart: defects per board in samples of unequal size",
        "What the alarm means, and what it does not"
      ],
      "created": "2026-10-09 14:52:44",
      "modified": "2026-10-24 11:27:32",
      "commits": 2
    },
    {
      "source": "edetect.Rmd",
      "filename": "edetect.html",
      "title": "Get started with edetect",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What an e-detector is",
        "A process with a declared centre and scale",
        "Phase I estimation and a slow drift",
        "Where to go next",
        "References"
      ],
      "created": "2026-10-09 14:52:44",
      "modified": "2026-10-24 11:27:32",
      "commits": 2
    },
    {
      "source": "regression-chart.Rmd",
      "filename": "regression-chart.html",
      "title": "Regression chart for non-stationary processes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A curing oven with drift and a periodic component",
        "Practical notes"
      ],
      "created": "2026-10-09 14:52:44",
      "modified": "2026-10-09 14:52:44",
      "commits": 1
    },
    {
      "source": "run-lengths.Rmd",
      "filename": "run-lengths.html",
      "title": "Run lengths and detection delays",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Checking the guarantee",
        "Measuring the delay",
        "Shiryaev--Roberts versus CUSUM type",
        "Bounded data: betting versus sub-Bernoulli e-values"
      ],
      "created": "2026-10-09 14:52:44",
      "modified": "2026-10-09 14:52:44",
      "commits": 1
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "edetect",
  "_universes": [
    "castlaboratory"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-24T14:55:31.000Z",
      "distro": "resolute",
      "commit": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
      "fileid": "https://r2.ropensci.org/b23b55bb652d5d5b8e3e09e7c0c8e0c16bca720c48fe1aa6e86bcb7bef74da4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-10-24T14:53:53.000Z",
      "distro": "resolute",
      "commit": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
      "fileid": "https://r2.ropensci.org/45e6189a60e031e4131bed327963c186b021b31b035b21fabcdc0aa8f0db623d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-24T14:53:58.000Z",
      "commit": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
      "fileid": "https://r2.ropensci.org/20b21c7f84d523f587926bd54b3df7154f2508729d3bf2c60c921105c01483c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-10-24T14:53:51.000Z",
      "commit": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
      "fileid": "https://r2.ropensci.org/c46c425c66d21bc12e07d8b6f19f4b59c5b661fca68c27b4ab2b344c9bdfc2b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-10-24T14:54:02.000Z",
      "commit": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
      "fileid": "https://r2.ropensci.org/a65a39a9b09640e111cee78877ad716fd747fc352ea45e42e50474d2d41b4d45",
      "status": "success",
      "buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-24T14:53:03.000Z",
      "commit": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
      "fileid": "https://r2.ropensci.org/32996d215024cacdc0111a02120ff43141eeec0438f9e61171bfbde9ca161d87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-24T14:53:02.000Z",
      "commit": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
      "fileid": "https://r2.ropensci.org/8dae47042334d139155c3805b713ab142740cdaf4ec83f759d2227638c172d76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-10-24T14:52:54.000Z",
      "commit": "57e84a1ca1cb3f7030e98cf25e124f93616c39fa",
      "fileid": "https://r2.ropensci.org/21ded1470d07c8345328a5a3238aa804ce15fa42d519470110f456ddba47049a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/castlaboratory/actions/runs/40104098275"
    }
  ]
}