{
  "_id": "6ad31f9b2c5c76d3dd0c9917",
  "Package": "msamp",
  "Title": "Estimate Sample Size to Detect Bacterial Contamination in a\nProduct Lot",
  "Version": "1.0.0",
  "Authors@R": "person(\"Martine\", \"Ferguson\", , \"martine.ferguson@fda.hhs.gov\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-4479-3674\"))",
  "Description": "Estimates the sample size needed to detect microbial\ncontamination in a lot with a user-specified detection\nprobability and user-specified analytical sensitivity. Various\npatterns of microbial contamination are accounted for:\nhomogeneous (Poisson), heterogeneous (Poisson-Gamma) or\nlocalized(Zero-inflated Poisson). Ida Jongenburger et al.\n(2010) <doi:10.1016/j.foodcont.2012.02.004> \"Impact of\nmicrobial distributions on food safety\". Leroy Simon (1963)\n<doi:10.1017/S0515036100001975> \"Casualty Actuarial Society -\nThe Negative Binomial and Poisson Distributions Compared\".",
  "License": "Unlimited",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.1",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-17 07:03:41 UTC",
    "User": "root"
  },
  "Author": "Martine Ferguson [aut, cre]\n(<https://orcid.org/0000-0003-4479-3674>)",
  "Maintainer": "Martine Ferguson <martine.ferguson@fda.hhs.gov>",
  "Repository": "https://m-fer1.r-universe.dev",
  "Date/Publication": "2022-10-17 11:00:05 UTC",
  "RemoteUrl": "https://github.com/cran/msamp",
  "RemoteRef": "HEAD",
  "RemoteSha": "65d173b21f6ad344b3430115a49e41688d8d8971",
  "_user": "m-fer1",
  "_type": "src",
  "_file": "msamp_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/48061c5d018adef11847cf0745de52252ea23b9556953a4e3adc4fafa62a01a3",
  "_filesize": 458201,
  "_sha256": "48061c5d018adef11847cf0745de52252ea23b9556953a4e3adc4fafa62a01a3",
  "_expires": "2027-01-25T07:11:22.000Z",
  "_created": "2026-10-17T07:03:41.000Z",
  "_published": "2026-10-17T07:11:23.808Z",
  "_buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117337034414,
      "time": 87,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12092514151"
    },
    {
      "job": 117337034584,
      "time": 96,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12093571499"
    },
    {
      "job": 117337034417,
      "time": 147,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12093830509"
    },
    {
      "job": 117337034441,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12093651559"
    },
    {
      "job": 117336600550,
      "time": 138,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093531428"
    },
    {
      "job": 117337034487,
      "time": 75,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12092859835"
    },
    {
      "job": 117337034470,
      "time": 50,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12092818384"
    },
    {
      "job": 117337034453,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12093396926"
    },
    {
      "job": 117337034500,
      "time": 61,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12093386963"
    }
  ],
  "_upstream": "https://github.com/cran/msamp",
  "_commit": {
    "id": "65d173b21f6ad344b3430115a49e41688d8d8971",
    "author": "Martine Ferguson <martine.ferguson@fda.hhs.gov>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1666004405
  },
  "_maintainer": {
    "name": "Martine Ferguson",
    "email": "martine.ferguson@fda.hhs.gov",
    "login": "m-fer1",
    "description": "",
    "uuid": 166632517,
    "orcid": "0000-0003-4479-3674"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "m-fer1",
      "count": 1,
      "uuid": 166632517
    }
  ],
  "_userbio": {
    "uuid": 166632517,
    "type": "user",
    "name": "m-fer1",
    "followers": 0
  },
  "_downloads": {
    "count": 220,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/msamp"
  },
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/msamp.html"
  ],
  "_realowner": "m-fer1",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-10-17"
    }
  ],
  "_exports": [
    "n",
    "p",
    "plotn"
  ],
  "_help": [
    {
      "page": "n",
      "title": "Calculate the sample size necessary to detect contamination above target level",
      "topics": [
        "n"
      ]
    },
    {
      "page": "p",
      "title": "Calculate the probability of a single sample being contaminated",
      "topics": [
        "p"
      ]
    },
    {
      "page": "plotn",
      "title": "Plots the relation between the probability of detection and the sample size, n",
      "topics": [
        "plotn"
      ]
    }
  ],
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "msamp-vignette.Rmd",
      "filename": "msamp-vignette.html",
      "title": "msamp: Sample size for detecting microbial contamination",
      "author": "Martine Ferguson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Function Summary",
        "p()",
        "n()",
        "plotn()",
        "Function Arguments",
        "Function Details",
        "",
        "Example using p() function",
        "Example continued, using n() function",
        "Example continued, using plotn() function",
        "Conclusion",
        "References"
      ],
      "created": "2022-10-17 11:00:05",
      "modified": "2022-10-17 11:00:05",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "msamp",
  "_universes": [
    "m-fer1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-17T07:05:08.000Z",
      "distro": "resolute",
      "commit": "65d173b21f6ad344b3430115a49e41688d8d8971",
      "fileid": "https://r2.ropensci.org/403b345279cb7c821eb1eddd01a41b4c95f233c232786d497003c555aa538cdb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-17T07:05:21.000Z",
      "distro": "resolute",
      "commit": "65d173b21f6ad344b3430115a49e41688d8d8971",
      "fileid": "https://r2.ropensci.org/e48e7cb8e3c68060e9bd8cd1a951f1f3ca853d6fca711222dbf61b7b2b61aabc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-17T07:09:47.000Z",
      "commit": "65d173b21f6ad344b3430115a49e41688d8d8971",
      "fileid": "https://r2.ropensci.org/267f7f3262ae5bebd9970c169ae341dee4c678e2c1b66672cf2d54651eac0789",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-17T07:10:27.000Z",
      "commit": "65d173b21f6ad344b3430115a49e41688d8d8971",
      "fileid": "https://r2.ropensci.org/d902ea6aae9a776f3b747c4985b767e5320950a75d8f8361ec583ebcd760d414",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-17T07:05:07.000Z",
      "commit": "65d173b21f6ad344b3430115a49e41688d8d8971",
      "fileid": "https://r2.ropensci.org/250abe7f4ae806f9059afd2c6277c081c25746c33473e31f1ff73fbb5bf241f0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-17T07:04:32.000Z",
      "commit": "65d173b21f6ad344b3430115a49e41688d8d8971",
      "fileid": "https://r2.ropensci.org/4689d69580d7666280ded7ec764d2a61af498f260973af83ca6193ce14ff8824",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-17T07:04:54.000Z",
      "commit": "65d173b21f6ad344b3430115a49e41688d8d8971",
      "fileid": "https://r2.ropensci.org/282a63d0349e704ae8b8454a26752568036a6ad2ad83bb9105892081cb34d6d9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-17T07:04:40.000Z",
      "commit": "65d173b21f6ad344b3430115a49e41688d8d8971",
      "fileid": "https://r2.ropensci.org/c13d39cb4806715ef6b64f3402841f816a7b2656e1d234fc49b0a17a6a7100ba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/m-fer1/actions/runs/39012075677"
    }
  ]
}