{
  "_id": "6aef4baa482d117aebab7aad",
  "Package": "drasR",
  "Type": "Package",
  "Title": "Drift-Aware Risk-Guaranteed Acceptance Sampling",
  "Version": "0.1.0",
  "Authors@R": "person(\"Muhammad Zahir\", \"Khan\",\nemail = \"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. The methods are intended for simulation studies,\nsupplier quality monitoring, and audit-oriented inspection\ndecision support.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "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",
  "Repository": "https://zerish12.r-universe.dev",
  "Date/Publication": "2026-10-13 12:06:55 UTC",
  "RemoteUrl": "https://github.com/zerish12/drasr",
  "RemoteRef": "HEAD",
  "RemoteSha": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-07 15:58:54 UTC",
    "User": "root"
  },
  "Author": "Muhammad Zahir Khan [aut, cre]",
  "Maintainer": "Muhammad Zahir Khan <zahirstat007@gmail.com>",
  "_user": "zerish12",
  "_type": "src",
  "_file": "drasR_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/8735329f2f06f98469c7a596af4cd233ce415b366663ff863d422ddb7d897b75",
  "_filesize": 142589,
  "_sha256": "8735329f2f06f98469c7a596af4cd233ce415b366663ff863d422ddb7d897b75",
  "_expires": "2027-02-15T16:02:48.000Z",
  "_created": "2026-11-07T15:58:54.000Z",
  "_published": "2026-11-07T16:02:50.259Z",
  "_upstream": "https://github.com/zerish12/drasr",
  "_status": "success",
  "_maintainer": {
    "name": "Muhammad Zahir Khan",
    "email": "zahirstat007@gmail.com",
    "login": "zerish12",
    "description": "Dr Muhammad Zahir khan",
    "uuid": 155732033
  },
  "_jobs": [
    {
      "job": 128452386557,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13580583040"
    },
    {
      "job": 128452386604,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13580737577"
    },
    {
      "job": 128452386613,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13580538146"
    },
    {
      "job": 128452386584,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13581021700"
    },
    {
      "job": 128451590062,
      "time": 207,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13581180248"
    },
    {
      "job": 128452386679,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13579839680"
    },
    {
      "job": 128452386618,
      "time": 94,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13580627681"
    },
    {
      "job": 128452386586,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13580692392"
    },
    {
      "job": 128452386624,
      "time": 89,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13580807178"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101",
  "_commit": {
    "id": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
    "author": "Muhammad Zahir Khan <zahirstat007@gmail.com>",
    "committer": "Muhammad Zahir Khan <zahirstat007@gmail.com>",
    "message": "Add GitHub links to DESCRIPTION\n",
    "time": 1791893215
  },
  "_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": "zerish12",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-10-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zerish12",
      "count": 3,
      "uuid": 155732033
    }
  ],
  "_userbio": {
    "uuid": 155732033,
    "type": "user",
    "name": "Muhammad Zahir Khan",
    "followers": 1,
    "description": "Dr Muhammad Zahir khan"
  },
  "_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"
  ],
  "_homeurl": "https://github.com/zerish12/drasr",
  "_realowner": "zerish12",
  "_cranurl": true,
  "_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",
      "file": "example_lot_data.rda",
      "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/zerish12/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-10-13 12:00:50",
      "modified": "2026-10-13 12:00:50",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "drasr",
  "_universes": [
    "zerish12"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-07T16:00:53.000Z",
      "distro": "resolute",
      "commit": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
      "fileid": "https://r2.ropensci.org/695abc2342035db65843c09deb8b4f72f7b0021c818287abe8ff9be64c95b88d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-07T16:01:30.000Z",
      "distro": "resolute",
      "commit": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
      "fileid": "https://r2.ropensci.org/3750576461e323a47dce6d4270f00a529c9d0628115fdebb93d62935c029bfe0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-07T16:01:05.000Z",
      "commit": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
      "fileid": "https://r2.ropensci.org/f5ad86fdf4632a59b04c9745801f9d8d5e306ddb8ac01c97c88650e2c025e173",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-07T16:01:30.000Z",
      "commit": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
      "fileid": "https://r2.ropensci.org/8f058ee010d2d2c037c067068ac93d7a7ae4c74f0615894f5ea2b55c16146194",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-07T16:00:43.000Z",
      "commit": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
      "fileid": "https://r2.ropensci.org/2a12723c64cc56ed62fb2c2d1cd25f0bfbc461339aa2f69f2aa0c59f76867394",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-07T16:00:01.000Z",
      "commit": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
      "fileid": "https://r2.ropensci.org/bde1cf9bcfe4ecce666e00fdb2f39615eddc8d79620b9603d45d85d907aa9ad7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-07T16:00:09.000Z",
      "commit": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
      "fileid": "https://r2.ropensci.org/9ff38bb069ae14054282b46050edc5eeceb09c5ca941c283e41a9aecd517b91e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-07T16:00:03.000Z",
      "commit": "7cccc4334353ab95daab7b7e585cf3b6061f3977",
      "fileid": "https://r2.ropensci.org/77782b7ed100b4d1177b1f271b14a9121b8c16bc39852078caf477d0b4ea77de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zerish12/actions/runs/42388714101"
    }
  ]
}