{
  "_id": "6a1024ecacfb0bcc41c8e774",
  "Package": "singleRcapture",
  "Type": "Package",
  "Title": "Single-Source Capture-Recapture Models",
  "Version": "1.1.0",
  "Authors@R": "c(person(given = \"Piotr\",\nfamily = \"Chlebicki\",\nrole = c(\"aut\", \"ctb\"),\nemail = \"piotrek.pecet@gmail.com\",\ncomment = c(ORCID = \"0009-0006-4867-7434\")),\nperson(given = \"Maciej\",\nfamily = \"Beręsewicz\",\nrole = c(\"aut\", \"cre\"),\nemail = \"maciej.beresewicz@ue.poznan.pl\",\ncomment = c(ORCID = \"0000-0002-8281-4301\")),\nperson(given = \"Cyprian\",\nfamily = \"Jurkowski\",\nrole = \"ctb\"))",
  "Maintainer": "Maciej Beręsewicz <maciej.beresewicz@ue.poznan.pl>",
  "Description": "Implementation of single-source capture-recapture methods\nfor population size estimation using zero-truncated, zero-one\ntruncated and zero-truncated one-inflated Poisson, Geometric\nand Negative Binomial regression as well as Zelterman's, Chao's\nand ratio-regression estimators. Package includes point and\ninterval estimators for the population size with variances\nestimated using analytical or bootstrap method. Details can be\nfound in: van der Heijden et all. (2003)\n<doi:10.1191/1471082X03st057oa>, Böhning and van der Heijden\n(2019) <doi:10.1214/18-AOAS1232>, Böhning et al. (2020)\nCapture-Recapture Methods for the Social and Medical Sciences\nor Böhning and Friedl (2021) <doi:10.1007/s10260-021-00556-8>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "yes",
  "RdMacros": "mathjaxr",
  "BuildManual": "TRUE",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/ncn-foreigners/singleRcapture",
  "BugReports": "https://github.com/ncn-foreigners/singleRcapture/issues",
  "Config/pak/sysreqs": "make",
  "Repository": "https://ncn-foreigners.r-universe.dev",
  "Date/Publication": "2026-05-13 07:57:06 UTC",
  "RemoteUrl": "https://github.com/ncn-foreigners/singlercapture",
  "RemoteRef": "HEAD",
  "RemoteSha": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 09:46:14 UTC",
    "User": "root"
  },
  "Author": "Piotr Chlebicki [aut, ctb] (ORCID:\n<https://orcid.org/0009-0006-4867-7434>),\nMaciej Beręsewicz [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8281-4301>),\nCyprian Jurkowski [ctb]",
  "MD5sum": "7f4abf620b8d066f47afcb70a75c6491",
  "_user": "ncn-foreigners",
  "_type": "src",
  "_file": "singleRcapture_1.1.0.tar.gz",
  "_fileid": "bcec45fadb8757c00c3205756fe5b5862c2dd977881134363c01efff0fe6706b",
  "_filesize": 1822325,
  "_sha256": "bcec45fadb8757c00c3205756fe5b5862c2dd977881134363c01efff0fe6706b",
  "_created": "2026-05-13T09:46:14.000Z",
  "_published": "2026-05-22T09:42:04.071Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77354800106,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966854747"
    },
    {
      "job": 77354800110,
      "time": 215,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966854982"
    },
    {
      "job": 77354800134,
      "time": 187,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966843625"
    },
    {
      "job": 77354800028,
      "time": 192,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966845291"
    },
    {
      "job": 77354799565,
      "time": 328,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966781298"
    },
    {
      "job": 77354799439,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157511572"
    },
    {
      "job": 77354800195,
      "time": 275,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966873921"
    },
    {
      "job": 77354800112,
      "time": 191,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966845337"
    },
    {
      "job": 77354799986,
      "time": 202,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966849227"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ncn-foreigners/singlercapture",
  "_commit": {
    "id": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
    "author": "Maciej Beręsewicz <BERENZ@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #61 from ncn-foreigners/dev\n\nDev",
    "time": 1778659026
  },
  "_maintainer": {
    "name": "Maciej Beręsewicz",
    "email": "maciej.beresewicz@ue.poznan.pl",
    "login": "berenz",
    "orcid": "0000-0002-8281-4301",
    "uuid": 3464669
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lamW",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "VGAM",
      "role": "Suggests"
    },
    {
      "package": "lmtest",
      "role": "Suggests"
    }
  ],
  "_owner": "ncn-foreigners",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 10
    },
    {
      "week": "2026-20",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2026-01-20"
    }
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "berenz",
      "count": 30,
      "uuid": 3464669
    },
    {
      "user": "kertoo",
      "count": 17,
      "uuid": 93870133
    }
  ],
  "_userbio": {
    "uuid": 87754555,
    "type": "organization",
    "name": "Project \"Towards census-like statistics for foreign-born populations\"",
    "description": "NCN OPUS 20 grant no. 2020/39/B/HS4/00941"
  },
  "_downloads": {
    "count": 295,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/singleRcapture"
  },
  "_devurl": "https://github.com/ncn-foreigners/singlercapture",
  "_searchresults": 30,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/singleRcapture.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ncn-foreigners/singlercapture",
  "_realowner": "ncn-foreigners",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2023-06-11"
    },
    {
      "version": "0.2.1",
      "date": "2023-10-14"
    },
    {
      "version": "0.2.1.1",
      "date": "2023-10-23"
    },
    {
      "version": "0.2.1.2",
      "date": "2024-07-18"
    },
    {
      "version": "0.2.1.3",
      "date": "2024-11-14"
    },
    {
      "version": "0.2.1.4",
      "date": "2025-01-07"
    },
    {
      "version": "0.2.2",
      "date": "2025-02-04"
    },
    {
      "version": "0.2.3",
      "date": "2025-02-13"
    },
    {
      "version": "1.0.0",
      "date": "2026-01-21"
    }
  ],
  "_exports": [
    "chao",
    "controlMethod",
    "controlModel",
    "controlPopVar",
    "dfpopsize",
    "estimatePopsize",
    "estimatePopsizeFit",
    "Hurdleztgeom",
    "Hurdleztnegbin",
    "Hurdleztpoisson",
    "marginalFreq",
    "oichao",
    "oiztgeom",
    "oiztnegbin",
    "oiztpoisson",
    "popSizeEst",
    "ratioReg",
    "redoPopEstimation",
    "stratifyPopsize",
    "zelterman",
    "zotgeom",
    "zotnegbin",
    "zotpoisson",
    "ztgeom",
    "ztHurdlegeom",
    "ztHurdlenegbin",
    "ztHurdlepoisson",
    "ztnegbin",
    "ztoigeom",
    "ztoinegbin",
    "ztoipoisson",
    "ztpoisson"
  ],
  "_datasets": [
    {
      "name": "carcassubmission",
      "title": "The British farm carcass submissions data",
      "object": "carcassubmission",
      "class": [
        "data.frame"
      ],
      "fields": [
        "TOTAL_SUB",
        "log_size",
        "log_distance",
        "C_TYPE"
      ],
      "rows": 1858,
      "table": true,
      "tojson": true
    },
    {
      "name": "farmsubmission",
      "title": "The British farm submissions data",
      "object": "farmsubmission",
      "class": [
        "data.frame"
      ],
      "fields": [
        "TOTAL_SUB",
        "log_size",
        "log_distance",
        "C_TYPE"
      ],
      "rows": 12036,
      "table": true,
      "tojson": true
    },
    {
      "name": "netherlandsimmigrant",
      "title": "Immigration data in the Netherlands",
      "object": "netherlandsimmigrant",
      "class": [
        "data.frame"
      ],
      "fields": [
        "capture",
        "gender",
        "age",
        "reason",
        "nation"
      ],
      "rows": 1880,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "carcassubmission",
      "title": "The British farm carcass submissions data",
      "topics": [
        "carcassubmission"
      ]
    },
    {
      "page": "singleRmodels",
      "title": "Family functions in singleRcapture package",
      "topics": [
        "chao",
        "Hurdleztgeom",
        "Hurdleztnegbin",
        "Hurdleztpoisson",
        "oichao",
        "oiztgeom",
        "oiztnegbin",
        "oiztpoisson",
        "singleRmodels",
        "zelterman",
        "zotgeom",
        "zotnegbin",
        "zotpoisson",
        "ztgeom",
        "ztHurdlegeom",
        "ztHurdlenegbin",
        "ztHurdlepoisson",
        "ztnegbin",
        "ztoigeom",
        "ztoinegbin",
        "ztoipoisson",
        "ztpoisson"
      ]
    },
    {
      "page": "confint.singleRStaticCountData",
      "title": "Confidence intervals for model parameters",
      "topics": [
        "confint.singleRStaticCountData"
      ]
    },
    {
      "page": "controlMethod",
      "title": "Control parameters for regression",
      "topics": [
        "controlMethod"
      ]
    },
    {
      "page": "controlModel",
      "title": "Control parameters specific to some models",
      "topics": [
        "controlModel"
      ]
    },
    {
      "page": "controlPopVar",
      "title": "Control parameters for population size estimation",
      "topics": [
        "controlPopVar"
      ]
    },
    {
      "page": "vcovHC.singleRStaticCountData",
      "title": "Heteroscedasticity-consistent covariance matrix estimation for singleRStaticCountData class",
      "topics": [
        "bread.singleRStaticCountData",
        "estfun.singleRStaticCountData",
        "vcovHC.singleRStaticCountData"
      ]
    },
    {
      "page": "estimatePopsize",
      "title": "Single-source capture-recapture models",
      "topics": [
        "estimatePopsize",
        "estimatePopsize.default"
      ]
    },
    {
      "page": "estimatePopsizeFit",
      "title": "Regression fitting in single-source capture-recapture models",
      "topics": [
        "estimatePopsizeFit"
      ]
    },
    {
      "page": "farmsubmission",
      "title": "The British farm submissions data",
      "topics": [
        "farmsubmission"
      ]
    },
    {
      "page": "marginalFreq",
      "title": "Observed and fitted marginal frequencies",
      "topics": [
        "marginalFreq"
      ]
    },
    {
      "page": "netherlandsimmigrant",
      "title": "Immigration data in the Netherlands",
      "topics": [
        "netherlandsimmigrant"
      ]
    },
    {
      "page": "plot.singleRRatioReg",
      "title": "Diagnostic Plots for Ratio Regression Fits",
      "topics": [
        "plot.singleRRatioReg"
      ]
    },
    {
      "page": "plot.singleRStaticCountData",
      "title": "Diagnostic plots for regression and population size estimation",
      "topics": [
        "plot.singleRStaticCountData"
      ]
    },
    {
      "page": "popSizeEst",
      "title": "Extract population size estimation results",
      "topics": [
        "popSizeEst",
        "popSizeEst.singleRRatioReg",
        "popSizeEst.singleRStaticCountData"
      ]
    },
    {
      "page": "predict.singleRStaticCountData",
      "title": "Predict method for singleRStaticCountData class",
      "topics": [
        "predict.singleRStaticCountData"
      ]
    },
    {
      "page": "ratioReg",
      "title": "Estimate Population Size Using Ratio Regression",
      "topics": [
        "ratioReg"
      ]
    },
    {
      "page": "redoPopEstimation",
      "title": "Updating population size estimation results",
      "topics": [
        "redoPopEstimation",
        "redoPopEstimation.singleRStaticCountData"
      ]
    },
    {
      "page": "regDiagSingleR",
      "title": "Regression diagnostics in singleRcapture",
      "topics": [
        "cooks.distance.singleRStaticCountData",
        "dfbeta.singleRStaticCountData",
        "dfpopsize",
        "dfpopsize.singleRStaticCountData",
        "hatvalues.singleRStaticCountData",
        "influence.singleRStaticCountData",
        "regDiagSingleR",
        "residuals.singleRStaticCountData",
        "rstandard.singleRStaticCountData",
        "rstudent.singleRStaticCountData",
        "sigma.singleRStaticCountData"
      ]
    },
    {
      "page": "simulate",
      "title": "Generating data in singleRcapture",
      "topics": [
        "simulate",
        "simulate.singleRfamily",
        "simulate.singleRStaticCountData"
      ]
    },
    {
      "page": "stratifyPopsize",
      "title": "Estimate size of sub-populations",
      "topics": [
        "stratifyPopsize",
        "stratifyPopsize.singleRStaticCountData"
      ]
    },
    {
      "page": "summary.singleRmargin",
      "title": "Statistical tests of goodness of fit",
      "topics": [
        "summary.singleRmargin"
      ]
    },
    {
      "page": "summary.singleRRatioReg",
      "title": "Summary Statistics for Ratio Regression Fits",
      "topics": [
        "summary.singleRRatioReg"
      ]
    },
    {
      "page": "summary.singleRStaticCountData",
      "title": "Summary statistics for model of singleRStaticCountData class",
      "topics": [
        "summary.singleRStaticCountData"
      ]
    },
    {
      "page": "vcov.singleRStaticCountData",
      "title": "Obtain covariance matrix estimation",
      "topics": [
        "vcov.singleRStaticCountData"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ncn-foreigners/singlercapture/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ncn-foreigners/singlercapture/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "doParallel",
    "foreach",
    "iterators",
    "lamW",
    "lattice",
    "mathjaxr",
    "Rcpp",
    "RcppParallel",
    "sandwich",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "singleRcapture.Rmd",
      "filename": "singleRcapture.html",
      "title": "singleRcapture: An R Package for Single-Source Capture-Recapture Models",
      "author": "Piotr Chlebicki, Maciej Beręsewicz",
      "engine": "knitr::rmarkdown_notangle",
      "headings": [
        "Introduction",
        "Software for capture-recapture with a single source",
        "Theoretical background",
        "How to estimate population size with a single source?",
        "Available models",
        "Fitting method",
        "Algorithm 1: The modified IRLS algorithm used in the singleRcapture package",
        "Bootstrap variance estimators",
        "Algorithm 2: Semi-parametric bootstrap",
        "Algorithm 3: Parametric bootstrap",
        "The main function",
        "The estimatePopsize function",
        "Controlling variance estimation with controlPopVar",
        "Data analysis example",
        "Dataset",
        "Testing marginal frequencies",
        "Diagnostics",
        "The stratifyPopsize function",
        "Classes and S3Methods",
        "Concluding remarks",
        "Acknowledgements",
        "Detailed information",
        "The estimatePopsizeFit function",
        "Structure of a family function",
        "Implementing a custom singleRcapture family function",
        "References"
      ],
      "created": "2025-01-24 15:21:34",
      "modified": "2026-05-12 06:09:40",
      "commits": 8
    }
  ],
  "_score": 5.518513939877888,
  "_indexed": true,
  "_nocasepkg": "singlercapture",
  "_universes": [
    "ncn-foreigners",
    "berenz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-13T09:48:37.000Z",
      "distro": "noble",
      "commit": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
      "fileid": "a051a72d06d178376531dc55d5ce610c31ff33a36a2be40db9872e30a5b00fe3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-13T09:48:39.000Z",
      "distro": "noble",
      "commit": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
      "fileid": "c73aaca8992bfd9cf69bab800aa7523e3b443331df3369f725af0555ec0a5914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-13T09:48:30.000Z",
      "commit": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
      "fileid": "cea3d3bca861b198ca7d94d601f88575afd9755e420687c62ef39cb7ec9b8f11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-13T09:48:28.000Z",
      "commit": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
      "fileid": "7dd712c6bf86b2677ae87406a9c8c63643efc64e7c5f570cfc92211ea16ddbf8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-13T09:48:52.000Z",
      "commit": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
      "fileid": "30863055336a1b275fa3a42f5be270b70b8243d5f3713c5ed2e9c61524f3be09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-13T09:47:40.000Z",
      "commit": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
      "fileid": "afed93916336bda9e14cbaa55ced6e30e78a85f43d1bd3b799452649fd1a3682",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-13T09:47:43.000Z",
      "commit": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
      "fileid": "17ad8ebcd7ab4bf355d205e9c2406838530847cb343657df41047b3d07ab3737",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-22T09:41:46.000Z",
      "commit": "b78f2b302dcdf276ff7e972c2853f1c96b907368",
      "fileid": "47cf8fdf7646f4733a57c6849a1ac476c144a34ec1db861f5f7972ecbef1887c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ncn-foreigners/actions/runs/25791133005"
    }
  ]
}