{
  "_id": "6a1029c4acfb0bcc41c91a04",
  "Package": "dsims",
  "Type": "Package",
  "Title": "Distance Sampling Simulations",
  "Version": "1.0.6",
  "Authors@R": "c(\nperson(\"Laura\", \"Marshall\", email = \"lhm@st-and.ac.uk\", role = c(\"aut\", \"cre\")),\nperson(\"Thomas\", \"Len\", email = \"len.thomas@st-andrews.ac.uk\", role = \"ctb\"))",
  "Maintainer": "Laura Marshall <lhm@st-and.ac.uk>",
  "Description": "Performs distance sampling simulations. 'dsims' repeatedly\ngenerates instances of a user defined population within a given\nsurvey region. It then generates realisations of a survey\ndesign and simulates the detection process. The data are then\nanalysed so that the results can be compared for accuracy and\nprecision across all replications. This process allows users to\noptimise survey designs for their specific set of survey\nconditions. The effects of uncertainty in population\ndistribution or parameters can be investigated under a number\nof simulations so that users can be confident that they have\nachieved a robust survey design before deploying vessels into\nthe field. The distance sampling designs used in this package\nfrom 'dssd' are detailed in Chapter 7 of Advanced Distance\nSampling, Buckland et. al. (2008, ISBN-13: 978-0199225873).\nGeneral distance sampling methods are detailed in Introduction\nto Distance Sampling: Estimating Abundance of Biological\nPopulations, Buckland et. al. (2004, ISBN-13: 978-0198509271).\nFind out more about estimating animal/plant abundance with\ndistance sampling at <https://distancesampling.org/>.",
  "License": "GPL (>=2)",
  "Language": "en-GB",
  "URL": "https://github.com/DistanceDevelopment/dsims",
  "BugReports": "https://github.com/DistanceDevelopment/dsims/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Collate": "'AICc.R' 'generic.functions.R' 'Density.Summary.R' 'Density.R'\n'Population.Description.R' 'Detectability.R' 'Population.R'\n'Survey.R' 'DS.Analysis.R' 'Simulation.R' 'ClassConstructors.R'\n'Simulation.Summary.R' 'Survey.LT.R' 'Survey.PT.R'\n'accumulate.PP.results.R' 'accumulate.warnings.R'\n'add.covariate.values.R' 'add.summary.results.R'\n'calc.perp.dists.R' 'calc.rad.dists.R'\n'calculate.scale.param.R' 'check.covariates.R'\n'check.simulation.R' 'check.transects.R'\n'create.results.arrays.R' 'description.summary.R'\n'dsims-package.R' 'generate.pop.D.R' 'generate.pop.N.R'\n'get.covered.area.lines.R' 'get.covered.area.points.R'\n'get.density.surface.R' 'message.handler.R'\n'modify.strata.for.analysis.R' 'process.dist.shapes.R'\n'read.line.transects.R' 'read.point.transects.R'\n'read.seg.transects.R' 'run.simulation.R' 'rztpois.R'\n'save.sim.results.R' 'simulate.detections.R'\n'simulation.consistency.check.R' 'single.sim.loop.R'\n'store.ddf.results.R' 'store.dht.results.R'",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://distancedevelopment.r-universe.dev",
  "Date/Publication": "2025-12-03 10:51:21 UTC",
  "RemoteUrl": "https://github.com/distanceDevelopment/dsims",
  "RemoteRef": "HEAD",
  "RemoteSha": "be63384894a77743ab8af9f20cf8c76e49a37b43",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 09:57:47 UTC",
    "User": "root"
  },
  "Author": "Laura Marshall [aut, cre],\nThomas Len [ctb]",
  "MD5sum": "576bba0858407fbd65883fb8a2ec46eb",
  "_user": "distancedevelopment",
  "_type": "src",
  "_file": "dsims_1.0.6.tar.gz",
  "_fileid": "3a51ca77a3ef751c346773b9e1156aebe9e1f186ef0a4ef73415ab89572c8bf6",
  "_filesize": 277230,
  "_sha256": "3a51ca77a3ef751c346773b9e1156aebe9e1f186ef0a4ef73415ab89572c8bf6",
  "_created": "2026-05-22T09:57:47.000Z",
  "_published": "2026-05-22T10:02:44.162Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77357559374,
      "time": 256,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7157886472"
    },
    {
      "job": 77357559375,
      "time": 248,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157884016"
    },
    {
      "job": 77357559411,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7157861726"
    },
    {
      "job": 77357559383,
      "time": 182,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157862657"
    },
    {
      "job": 77357049953,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157807591"
    },
    {
      "job": 77357559394,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157846943"
    },
    {
      "job": 77357559418,
      "time": 254,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7157886108"
    },
    {
      "job": 77357559386,
      "time": 215,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7157873299"
    },
    {
      "job": 77357559396,
      "time": 219,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157875027"
    }
  ],
  "_buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/distanceDevelopment/dsims",
  "_commit": {
    "id": "be63384894a77743ab8af9f20cf8c76e49a37b43",
    "author": "Len Thomas <len.thomas@st-andrews.ac.uk>",
    "committer": "Len Thomas <len.thomas@st-andrews.ac.uk>",
    "message": "Revert \"first try at putting ztnbinom() in the package, needs error functions and to be tested\"\n\nThis reverts commit e09ceab2afbde969dea9a1a5c9e9f6cf9dd70289.\n",
    "time": 1764759081
  },
  "_maintainer": {
    "name": "Laura Marshall",
    "email": "lhm@st-and.ac.uk",
    "login": "lhmarshall",
    "description": "",
    "uuid": 1295691
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dssd",
      "version": ">= 0.2.2",
      "role": "Depends"
    },
    {
      "package": "mrds",
      "role": "Imports"
    },
    {
      "package": "Distance",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rstudioapi",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "pbapply",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lwgeom",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "distancedevelopment",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-49",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "lhmarshall",
      "count": 409,
      "uuid": 1295691
    },
    {
      "user": "erex",
      "count": 11,
      "uuid": 330744
    },
    {
      "user": "lenthomas",
      "count": 6,
      "uuid": 129519
    },
    {
      "user": "tiagoamarques",
      "count": 1,
      "uuid": 22343390
    },
    {
      "user": "jdnowacek",
      "count": 1,
      "uuid": 89485214
    }
  ],
  "_userbio": {
    "uuid": 4293301,
    "type": "organization",
    "name": "Distance development",
    "description": "Distance sampling software development team"
  },
  "_downloads": {
    "count": 635,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dsims"
  },
  "_devurl": "https://github.com/distancedevelopment/dsims",
  "_searchresults": 89,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dsims.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/distancedevelopment/dsims",
  "_realowner": "distancedevelopment",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2021-04-22"
    },
    {
      "version": "0.2.0",
      "date": "2021-09-01"
    },
    {
      "version": "0.2.1",
      "date": "2022-03-17"
    },
    {
      "version": "0.2.2",
      "date": "2022-03-31"
    },
    {
      "version": "0.2.3",
      "date": "2022-06-15"
    },
    {
      "version": "1.0.0",
      "date": "2022-08-09"
    },
    {
      "version": "1.0.1",
      "date": "2022-08-30"
    },
    {
      "version": "1.0.4",
      "date": "2023-11-29"
    },
    {
      "version": "1.0.5",
      "date": "2024-12-20"
    },
    {
      "version": "1.0.6",
      "date": "2025-04-23"
    }
  ],
  "_exports": [
    "add.hotspot",
    "analyse.data",
    "description.summary",
    "generate.population",
    "generate.transects",
    "get.densities",
    "get.N",
    "histogram.N.ests",
    "make.density",
    "make.detectability",
    "make.ds.analysis",
    "make.population.description",
    "make.simulation",
    "run.simulation",
    "run.survey",
    "save.sim.results",
    "set.densities",
    "show",
    "summary"
  ],
  "_help": [
    {
      "page": "dsims-package",
      "title": "Distance Sampling Simulations 'dsims'",
      "topics": [
        "dsims-package",
        "dsims"
      ]
    },
    {
      "page": "add.hotspot-methods",
      "title": "S4 generic method to add a hotspot to the density grid",
      "topics": [
        "add.hotspot",
        "add.hotspot,Density-method"
      ]
    },
    {
      "page": "analyse.data-methods",
      "title": "S4 generic method to run analyses",
      "topics": [
        "analyse.data",
        "analyse.data,DS.Analysis,data.frame-method",
        "analyse.data,DS.Analysis,Survey-method"
      ]
    },
    {
      "page": "Density-class",
      "title": "Class \"Density\"",
      "topics": [
        "Density-class"
      ]
    },
    {
      "page": "Density.Summary-class",
      "title": "Class \"Density.Summary\"",
      "topics": [
        "Density.Summary-class"
      ]
    },
    {
      "page": "description.summary",
      "title": "Provides a description of the summary object/output",
      "topics": [
        "description.summary"
      ]
    },
    {
      "page": "Detectability-class",
      "title": "S4 Class \"Detectability\"",
      "topics": [
        "Detectability-class"
      ]
    },
    {
      "page": "DS.Analysis-class",
      "title": "Class \"DS.Analysis\"",
      "topics": [
        "DS.Analysis-class"
      ]
    },
    {
      "page": "generate.population-methods",
      "title": "S4 generic method to generate an instance of a population",
      "topics": [
        "generate.population",
        "generate.population,Population.Description-method",
        "generate.population,Simulation-method"
      ]
    },
    {
      "page": "generate.transects.Simulation-methods",
      "title": "generate.transects",
      "topics": [
        "generate.transects,Simulation-method"
      ]
    },
    {
      "page": "get.densities-methods",
      "title": "Method to get density values",
      "topics": [
        "get.densities"
      ]
    },
    {
      "page": "get.N-methods",
      "title": "S4 generic method to return N",
      "topics": [
        "get.N",
        "get.N,Population.Description-method"
      ]
    },
    {
      "page": "histogram.N.ests-methods",
      "title": "histogram.N.ests",
      "topics": [
        "histogram.N.ests"
      ]
    },
    {
      "page": "make.density",
      "title": "Creates a Density object",
      "topics": [
        "make.density"
      ]
    },
    {
      "page": "make.detectability",
      "title": "Creates a Detectability object",
      "topics": [
        "make.detectability"
      ]
    },
    {
      "page": "make.ds.analysis",
      "title": "Creates an Analysis object",
      "topics": [
        "make.ds.analysis"
      ]
    },
    {
      "page": "make.population.description",
      "title": "Creates a Population.Description object",
      "topics": [
        "make.population.description"
      ]
    },
    {
      "page": "make.simulation",
      "title": "Creates a Simulation object",
      "topics": [
        "make.simulation"
      ]
    },
    {
      "page": "plot.Density-methods",
      "title": "Plot",
      "topics": [
        "plot,Density,ANY-method",
        "plot,Density,Region-method"
      ]
    },
    {
      "page": "plot.Detectability-methods",
      "title": "Plot",
      "topics": [
        "plot,Detectability,ANY-method",
        "plot,Detectability,Population.Description-method"
      ]
    },
    {
      "page": "plot.Population-methods",
      "title": "Plot",
      "topics": [
        "plot,Population,ANY-method",
        "plot,Population,Region-method"
      ]
    },
    {
      "page": "plot-methods",
      "title": "plot",
      "topics": [
        "plot,Survey,ANY-method",
        "plot,Survey,Region-method"
      ]
    },
    {
      "page": "Population-class",
      "title": "Class \"Population\"",
      "topics": [
        "Population-class"
      ]
    },
    {
      "page": "Population.Description-class",
      "title": "Class \"Population.Description\"",
      "topics": [
        "Population.Description-class"
      ]
    },
    {
      "page": "run.simulation-methods",
      "title": "Method to run a simulation",
      "topics": [
        "run.simulation"
      ]
    },
    {
      "page": "run.survey-methods",
      "title": "S4 generic method to simulate a survey",
      "topics": [
        "run.survey",
        "run.survey,Simulation-method",
        "run.survey,Survey.LT-method",
        "run.survey,Survey.PT-method"
      ]
    },
    {
      "page": "rztpois",
      "title": "Randomly generates values from a zero-truncated Poisson distribution",
      "topics": [
        "rztpois"
      ]
    },
    {
      "page": "save.sim.results-methods",
      "title": "save.sim.results",
      "topics": [
        "save.sim.results"
      ]
    },
    {
      "page": "set.densities-methods",
      "title": "Method to set density values",
      "topics": [
        "set.densities"
      ]
    },
    {
      "page": "show.Density.Summary-methods",
      "title": "show",
      "topics": [
        "show,Density.Summary-method"
      ]
    },
    {
      "page": "show.Simulation-methods",
      "title": "show",
      "topics": [
        "show,Simulation-method"
      ]
    },
    {
      "page": "show.Simulation.Summary-methods",
      "title": "show",
      "topics": [
        "show,Simulation.Summary-method"
      ]
    },
    {
      "page": "Simulation-class",
      "title": "Class \"Simulation\"",
      "topics": [
        "Simulation-class"
      ]
    },
    {
      "page": "Simulation.Summary-class",
      "title": "Class \"Simulation.Summary\"",
      "topics": [
        "Simulation.Summary-class"
      ]
    },
    {
      "page": "summary.Density-methods",
      "title": "summary",
      "topics": [
        "summary,Density-method"
      ]
    },
    {
      "page": "summary.Simulation-methods",
      "title": "summary",
      "topics": [
        "summary,Simulation-method"
      ]
    },
    {
      "page": "Survey-class",
      "title": "Virtual Class \"Survey\"",
      "topics": [
        "Survey-class"
      ]
    },
    {
      "page": "Survey.LT-class",
      "title": "Class \"Survey.LT\" extends class \"Survey\"",
      "topics": [
        "Survey.LT-class"
      ]
    },
    {
      "page": "Survey.PT-class",
      "title": "Class \"Survey.PT\" extends class \"Survey\"",
      "topics": [
        "Survey.PT-class"
      ]
    }
  ],
  "_readme": "https://github.com/distanceDevelopment/dsims/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "DBI",
    "digest",
    "Distance",
    "dplyr",
    "dssd",
    "e1071",
    "farver",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "mgcv",
    "mrds",
    "nlme",
    "nloptr",
    "numDeriv",
    "optimx",
    "parallelly",
    "pillar",
    "pkgconfig",
    "pracma",
    "proxy",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "Rdpack",
    "rlang",
    "Rsolnp",
    "rstudioapi",
    "s2",
    "S7",
    "scales",
    "sf",
    "tibble",
    "tidyselect",
    "truncnorm",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_score": 4.852479993636857,
  "_indexed": true,
  "_nocasepkg": "dsims",
  "_universes": [
    "distancedevelopment",
    "lhmarshall"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-05-22T10:00:19.000Z",
      "distro": "noble",
      "commit": "be63384894a77743ab8af9f20cf8c76e49a37b43",
      "fileid": "ce4ff6739636d2b64b08b250493e5a3826fbe78e7edc4746748a0f996c81902e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.6",
      "date": "2026-05-22T10:00:14.000Z",
      "distro": "noble",
      "commit": "be63384894a77743ab8af9f20cf8c76e49a37b43",
      "fileid": "1a27a2fa57a073b37b964e62c6971d3b249f13d537b53ddefc76eaa72e261abd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-05-22T09:59:36.000Z",
      "commit": "be63384894a77743ab8af9f20cf8c76e49a37b43",
      "fileid": "345f6e018f268840dc256bc06d1b39f6b368a21a8831affda43217488bd8eb04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.6",
      "date": "2026-05-22T09:59:37.000Z",
      "commit": "be63384894a77743ab8af9f20cf8c76e49a37b43",
      "fileid": "dd3eb3314e121e62daa86c74516e75f83fd19075a6492c1c484896d452e59be1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.6",
      "date": "2026-05-22T10:00:17.000Z",
      "commit": "be63384894a77743ab8af9f20cf8c76e49a37b43",
      "fileid": "f5f8aa4ce31e728032ca94dd863ab391c5674426928c69c10f30ca78b7b422ee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-05-22T09:59:46.000Z",
      "commit": "be63384894a77743ab8af9f20cf8c76e49a37b43",
      "fileid": "83d497954002d8121874e8af122f242c63160015a8fdb76a0fdc0e95d52b282c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-05-22T09:59:07.000Z",
      "commit": "be63384894a77743ab8af9f20cf8c76e49a37b43",
      "fileid": "570695ff0240f082a7865ecca824a90e2a7e137cdf6f739e6997cc06aba6262e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.6",
      "date": "2026-05-22T09:59:13.000Z",
      "commit": "be63384894a77743ab8af9f20cf8c76e49a37b43",
      "fileid": "f4c766e747f4bc3427f2e4d98977e6ff002bab523bb29b15fbaba24f1bd81184",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/26281038878"
    }
  ]
}