{
  "_id": "6aee43f7ce821f1cf255e6ca",
  "Package": "drasR",
  "Type": "Package",
  "Title": "Drift-Aware Risk-Guaranteed Acceptance Sampling",
  "Version": "0.1.0",
  "Authors@R": "person(\"Muhammad Zahir\", \"Khan\", email = \"zahirstat007@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Implements drift-aware risk-guaranteed acceptance sampling\nmethods for adaptive lot disposition. The package provides\ntools for classical acceptance sampling, producer-risk and\nconsumer-risk assessment, exponentially weighted moving average\ndrift monitoring, adaptive tightening policies, decision\nfragility analysis, and safety-cost Pareto frontier\nconstruction. Classical binomial acceptance-plan design is\ndescribed in the NIST/SEMATECH e-Handbook of Statistical\nMethods\n<https://www.itl.nist.gov/div898/handbook/pmc/section2/pmc232.htm>.\nExponentially weighted moving averages follow Roberts (1959)\n<doi:10.1080/00401706.1959.10489860>. The methods are intended\nfor simulation studies, supplier quality monitoring, and\naudit-oriented inspection decision support.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.1",
  "URL": "https://github.com/zerish12/drasR",
  "BugReports": "https://github.com/zerish12/drasR/issues",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-06 21:15:07 UTC",
    "User": "root"
  },
  "Author": "Muhammad Zahir Khan [aut, cre]",
  "Maintainer": "Muhammad Zahir Khan <zahirstat007@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-06 18:08:36 UTC",
  "RemoteUrl": "https://github.com/cran/drasR",
  "RemoteRef": "HEAD",
  "RemoteSha": "b55edce6a834c01b3bced3b2c112bdda97a362e6",
  "_user": "cran",
  "_type": "src",
  "_file": "drasR_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e7c11b1e40a1c2dc397f90f2f3b022af13e9e7391da0e624d51ad71bf890434f",
  "_filesize": 145727,
  "_sha256": "e7c11b1e40a1c2dc397f90f2f3b022af13e9e7391da0e624d51ad71bf890434f",
  "_expires": "2027-02-14T21:17:41.000Z",
  "_created": "2026-11-06T21:15:07.000Z",
  "_published": "2026-11-06T21:17:43.238Z",
  "_upstream": "https://github.com/cran/drasR",
  "_status": "success",
  "_maintainer": {
    "name": "Muhammad Zahir Khan",
    "email": "zahirstat007@gmail.com",
    "login": "zerish12",
    "description": "Dr Muhammad Zahir khan",
    "uuid": 155732033
  },
  "_jobs": [
    {
      "job": 128158530114,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13541038094"
    },
    {
      "job": 128158530226,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13542091149"
    },
    {
      "job": 128157264601,
      "time": 148,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13540909020"
    },
    {
      "job": 128158530116,
      "time": 79,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13542265976"
    },
    {
      "job": 128158530216,
      "time": 96,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13540864340"
    },
    {
      "job": 128158530277,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13541436683"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/42294696510",
  "_commit": {
    "id": "b55edce6a834c01b3bced3b2c112bdda97a362e6",
    "author": "Muhammad Zahir Khan <zahirstat007@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1793988516
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-11-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zerish12",
      "count": 1,
      "uuid": 155732033
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/drasR"
  },
  "_devurl": "https://github.com/zerish12/drasr",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/drasR.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-11-06"
    }
  ],
  "_exports": [
    "apply_fixed_plan",
    "consumer_risk",
    "decision_fragility",
    "dras_ewma",
    "dras_monitor",
    "evaluate_sampling",
    "find_plan",
    "pareto_frontier",
    "plot_dras_frontier",
    "prepare_lot_data",
    "prob_accept",
    "producer_risk",
    "run_dras_experiment",
    "select_dras_policy",
    "simulate_defect_process",
    "simulate_lots",
    "summarise_dras_monitor",
    "tune_dras_policy",
    "write_dras_report"
  ],
  "_datasets": [
    {
      "name": "example_lot_data",
      "title": "Example Lot Inspection Data",
      "object": "example_lot_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "lot",
        "p_true",
        "lot_size",
        "true_defects"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "apply_fixed_plan",
      "title": "Apply a Fixed Acceptance Sampling Plan",
      "topics": [
        "apply_fixed_plan"
      ]
    },
    {
      "page": "consumer_risk",
      "title": "Consumer Risk",
      "topics": [
        "consumer_risk"
      ]
    },
    {
      "page": "decision_fragility",
      "title": "Acceptance Decision Fragility",
      "topics": [
        "decision_fragility"
      ]
    },
    {
      "page": "dras_ewma",
      "title": "Apply EWMA Drift-Aware Acceptance Sampling",
      "topics": [
        "dras_ewma"
      ]
    },
    {
      "page": "dras_monitor",
      "title": "Monitor Real Lot Inspection Data Using DRAS",
      "topics": [
        "dras_monitor"
      ]
    },
    {
      "page": "evaluate_sampling",
      "title": "Evaluate Lot-Disposition Results",
      "topics": [
        "evaluate_sampling"
      ]
    },
    {
      "page": "example_lot_data",
      "title": "Example Lot Inspection Data",
      "topics": [
        "example_lot_data"
      ]
    },
    {
      "page": "find_plan",
      "title": "Find a Single Acceptance Sampling Plan",
      "topics": [
        "find_plan"
      ]
    },
    {
      "page": "pareto_frontier",
      "title": "Compute a Safety-Cost Pareto Frontier",
      "topics": [
        "pareto_frontier"
      ]
    },
    {
      "page": "plot_dras_frontier",
      "title": "Plot the DRAS Safety-Cost Frontier",
      "topics": [
        "plot_dras_frontier"
      ]
    },
    {
      "page": "prepare_lot_data",
      "title": "Prepare Real Lot-Level Inspection Data",
      "topics": [
        "prepare_lot_data"
      ]
    },
    {
      "page": "prob_accept",
      "title": "Probability of Accepting a Lot",
      "topics": [
        "prob_accept"
      ]
    },
    {
      "page": "producer_risk",
      "title": "Producer Risk",
      "topics": [
        "producer_risk"
      ]
    },
    {
      "page": "run_dras_experiment",
      "title": "Run a DRAS Monte Carlo Experiment",
      "topics": [
        "run_dras_experiment"
      ]
    },
    {
      "page": "select_dras_policy",
      "title": "Select Low-Cost, Balanced, and High-Safety DRAS Policies",
      "topics": [
        "select_dras_policy"
      ]
    },
    {
      "page": "simulate_defect_process",
      "title": "Simulate a Defect Process",
      "topics": [
        "simulate_defect_process"
      ]
    },
    {
      "page": "simulate_lots",
      "title": "Simulate Lot Inspection Data",
      "topics": [
        "simulate_lots"
      ]
    },
    {
      "page": "summarise_dras_monitor",
      "title": "Summarise DRAS Monitoring Results",
      "topics": [
        "summarise_dras_monitor"
      ]
    },
    {
      "page": "tune_dras_policy",
      "title": "Tune DRAS Policies",
      "topics": [
        "tune_dras_policy"
      ]
    },
    {
      "page": "write_dras_report",
      "title": "Write a DRAS Audit Report",
      "topics": [
        "write_dras_report"
      ]
    }
  ],
  "_readme": "https://github.com/cran/drasR/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "using-drasR-with-real-inspection-data.Rmd",
      "filename": "using-drasR-with-real-inspection-data.html",
      "title": "Using drasR with Real Inspection Data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Example inspection data",
        "Prepare the data",
        "Find a baseline acceptance sampling plan",
        "Apply DRAS monitoring",
        "Summarise monitoring results",
        "Supplier-level summary",
        "Write an audit report",
        "Interpretation"
      ],
      "created": "2026-11-06 18:08:36",
      "modified": "2026-11-06 18:08:36",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "drasr",
  "_universes": [
    "cran",
    "zerish12"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-06T21:16:55.000Z",
      "distro": "resolute",
      "commit": "b55edce6a834c01b3bced3b2c112bdda97a362e6",
      "fileid": "https://r2.ropensci.org/c2f92fe4d9426a06613b851edc573d403c6c52dfc6626b36e02f682bdb0045dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42294696510"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-06T21:16:42.000Z",
      "distro": "resolute",
      "commit": "b55edce6a834c01b3bced3b2c112bdda97a362e6",
      "fileid": "https://r2.ropensci.org/1fe56de418715ea5b4e508d4b55087035e9a3ca8f8f4e9c4513431810db01186",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42294696510"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-06T21:16:43.000Z",
      "commit": "b55edce6a834c01b3bced3b2c112bdda97a362e6",
      "fileid": "https://r2.ropensci.org/e0dea0e50a5282fc866e5c909f64e9935016326aba2e01e7408cee612e460d18",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42294696510"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-06T21:16:11.000Z",
      "commit": "b55edce6a834c01b3bced3b2c112bdda97a362e6",
      "fileid": "https://r2.ropensci.org/905e2db105c5e5da3c2a7db440a7431516a032dc8c8a49aa2c481a961740cb34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42294696510"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-06T21:16:21.000Z",
      "commit": "b55edce6a834c01b3bced3b2c112bdda97a362e6",
      "fileid": "https://r2.ropensci.org/713a301626db5a5a5dd8186227325b0bb5c889066dde16a8d84e4db9b075e7d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/42294696510"
    }
  ]
}