{
  "_id": "6ad9c1e6db07788da70aa163",
  "Package": "dsm",
  "Maintainer": "Laura Marshall <lhm@st-andrews.ac.uk>",
  "License": "GPL (>= 2)",
  "Title": "Density Surface Modelling of Distance Sampling Data",
  "LazyLoad": "yes",
  "Authors@R": "c(person(given=c(\"Laura\"),\nfamily=\"Marshall\",\nemail = \"lhm@st-andrews.ac.uk\" ,\nrole = \"cre\"),\nperson(given=c(\"David\", \"L.\"),\nfamily=\"Miller\",\nrole=c(\"aut\")),\nperson(given=\"Eric\",\nfamily=\"Rexstad\",\nrole=\"ctb\"),\nperson(given=\"Louise\",\nfamily=\"Burt\",\nrole=\"ctb\"),\nperson(given=c(\"Mark\", \"V.\"),\nfamily=\"Bravington\",\nrole=\"ctb\"),\nperson(given=\"Sharon\",\nfamily=\"Hedley\",\nrole=\"ctb\"),\nperson(given=\"Megan\",\nfamily=\"Ferguson\",\nrole=\"ctb\"),\nperson(given=\"Natalie\",\nfamily=\"Kelly\",\nrole=\"ctb\"))",
  "Description": "Density surface modelling of line transect data. A\nGeneralized Additive Model-based approach is used to calculate\nspatially-explicit estimates of animal abundance from distance\nsampling (also presence/absence and strip transect) data.\nSeveral utility functions are provided for model checking,\nplotting and variance estimation.",
  "Version": "2.3.4",
  "Language": "en-GB",
  "Encoding": "UTF-8",
  "URL": "https://github.com/DistanceDevelopment/dsm",
  "BugReports": "https://github.com/DistanceDevelopment/dsm/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://distancedevelopment.r-universe.dev",
  "Date/Publication": "2026-06-24 11:20:13 UTC",
  "RemoteUrl": "https://github.com/distanceDevelopment/dsm",
  "RemoteRef": "HEAD",
  "RemoteSha": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-22 07:52:54 UTC",
    "User": "root"
  },
  "Author": "Laura Marshall [cre],\nDavid L. Miller [aut],\nEric Rexstad [ctb],\nLouise Burt [ctb],\nMark V. Bravington [ctb],\nSharon Hedley [ctb],\nMegan Ferguson [ctb],\nNatalie Kelly [ctb]",
  "_user": "distancedevelopment",
  "_type": "src",
  "_file": "dsm_2.3.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/5e163f74d736bb11e780d522c5c5254655ef2d68c6b80b729a229b4f605fb621",
  "_filesize": 314780,
  "_sha256": "5e163f74d736bb11e780d522c5c5254655ef2d68c6b80b729a229b4f605fb621",
  "_expires": "2027-01-30T07:57:24.000Z",
  "_created": "2026-10-22T07:52:54.000Z",
  "_published": "2026-10-22T07:57:25.975Z",
  "_upstream": "https://github.com/distanceDevelopment/dsm",
  "_status": "success",
  "_maintainer": {
    "name": "Laura Marshall",
    "email": "lhm@st-andrews.ac.uk",
    "login": "lhmarshall",
    "description": "",
    "uuid": 1295691
  },
  "_jobs": [
    {
      "job": 119706831565,
      "time": 214,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12411080037"
    },
    {
      "job": 119706831685,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12410128751"
    },
    {
      "job": 119706831743,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12410137444"
    },
    {
      "job": 119706831608,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12410636139"
    },
    {
      "job": 119703998521,
      "time": 429,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12409789276"
    },
    {
      "job": 119706831732,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12410507669"
    },
    {
      "job": 119706831768,
      "time": 112,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12410845400"
    },
    {
      "job": 119706831727,
      "time": 111,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12410920248"
    },
    {
      "job": 119706831888,
      "time": 129,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12410705594"
    }
  ],
  "_buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303",
  "_commit": {
    "id": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
    "author": "Laura Marshall <L_H_Marshall@yahoo.co.uk>",
    "committer": "Laura Marshall <L_H_Marshall@yahoo.co.uk>",
    "message": "Update README.md\n\nReflect change in main brain naming\n",
    "time": 1782300013
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "mgcv",
      "version": ">= 1.8-23",
      "role": "Depends"
    },
    {
      "package": "mrds",
      "version": ">= 2.1.16",
      "role": "Depends"
    },
    {
      "package": "numDeriv",
      "role": "Depends"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "statmod",
      "role": "Imports"
    },
    {
      "package": "Distance",
      "role": "Suggests"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "tweedie",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "distancedevelopment",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "dill",
      "count": 159,
      "uuid": 1953
    },
    {
      "user": "lhmarshall",
      "count": 35,
      "uuid": 1295691
    },
    {
      "user": "erex",
      "count": 11,
      "uuid": 330744
    },
    {
      "user": "lenthomas",
      "count": 1,
      "uuid": 129519
    }
  ],
  "_userbio": {
    "uuid": 4293301,
    "type": "organization",
    "name": "Distance development",
    "followers": 19,
    "description": "Distance sampling software development team"
  },
  "_downloads": {
    "count": 639,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dsm"
  },
  "_mentions": 7,
  "_devurl": "https://github.com/distancedevelopment/dsm",
  "_searchresults": 168,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dsm.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/distancedevelopment/dsm",
  "_realowner": "distancedevelopment",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0",
      "date": "2012-11-24"
    },
    {
      "version": "2.0.1",
      "date": "2013-02-21"
    },
    {
      "version": "2.1.3",
      "date": "2013-08-20"
    },
    {
      "version": "2.2.3",
      "date": "2014-04-23"
    },
    {
      "version": "2.2.4",
      "date": "2014-06-17"
    },
    {
      "version": "2.2.5",
      "date": "2014-09-15"
    },
    {
      "version": "2.2.9",
      "date": "2015-07-29"
    },
    {
      "version": "2.2.12",
      "date": "2016-08-11"
    },
    {
      "version": "2.2.13",
      "date": "2016-10-07"
    },
    {
      "version": "2.2.14",
      "date": "2017-01-26"
    },
    {
      "version": "2.2.15",
      "date": "2017-07-03"
    },
    {
      "version": "2.2.16",
      "date": "2018-06-27"
    },
    {
      "version": "2.2.17",
      "date": "2019-01-19"
    },
    {
      "version": "2.3.0",
      "date": "2020-04-22"
    },
    {
      "version": "2.3.1",
      "date": "2021-03-27"
    },
    {
      "version": "2.3.2",
      "date": "2022-03-17"
    },
    {
      "version": "2.3.3",
      "date": "2022-08-20"
    },
    {
      "version": "2.3.4",
      "date": "2025-09-02"
    }
  ],
  "_exports": [
    "dsm",
    "dsm_cor",
    "dsm_var_gam",
    "dsm_var_movblk",
    "dsm_var_prop",
    "dsm_varprop",
    "dsm.cor",
    "dsm.var.gam",
    "dsm.var.movblk",
    "dsm.var.prop",
    "dummy_ddf",
    "generate.ds.uncertainty",
    "generate.mb.sample",
    "latlong2km",
    "make.soapgrid",
    "obs_exp",
    "plot_pred_by_term",
    "rqgam_check",
    "rqgam.check",
    "trim.var",
    "vis_concurvity",
    "vis.concurvity"
  ],
  "_datasets": [
    {
      "name": "distdata",
      "title": "Pan-tropical spotted dolphins in the Gulf of Mexico",
      "object": "mexdolphins",
      "file": "mexdolphins.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "object",
        "size",
        "distance",
        "Effort",
        "detected",
        "beaufort",
        "latitude",
        "longitude",
        "x",
        "y"
      ],
      "rows": 47,
      "table": true,
      "tojson": true
    },
    {
      "name": "obsdata",
      "title": "Pan-tropical spotted dolphins in the Gulf of Mexico",
      "object": "mexdolphins",
      "file": "mexdolphins.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "object",
        "Sample.Label",
        "size",
        "distance",
        "Effort"
      ],
      "rows": 47,
      "table": true,
      "tojson": true
    },
    {
      "name": "preddata",
      "title": "Pan-tropical spotted dolphins in the Gulf of Mexico",
      "object": "mexdolphins",
      "file": "mexdolphins.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "latitude",
        "longitude",
        "x",
        "y",
        "depth",
        "area"
      ],
      "rows": 1374,
      "table": true,
      "tojson": true
    },
    {
      "name": "segdata",
      "title": "Pan-tropical spotted dolphins in the Gulf of Mexico",
      "object": "mexdolphins",
      "file": "mexdolphins.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "longitude",
        "latitude",
        "x",
        "y",
        "Effort",
        "Transect.Label",
        "Sample.Label",
        "depth"
      ],
      "rows": 387,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "dsm-package",
      "title": "Density surface modelling",
      "topics": [
        "dsm-package"
      ]
    },
    {
      "page": "block.info.per.su",
      "title": "Find the block information",
      "topics": [
        "block.info.per.su"
      ]
    },
    {
      "page": "check.cols",
      "title": "Check column names exist",
      "topics": [
        "check.cols"
      ]
    },
    {
      "page": "dsm",
      "title": "Fit a density surface model to segment-specific estimates of abundance or density.",
      "topics": [
        "dsm"
      ]
    },
    {
      "page": "dsm_cor",
      "title": "Check for autocorrelation in residuals",
      "topics": [
        "dsm_cor"
      ]
    },
    {
      "page": "dsm_var_gam",
      "title": "Prediction variance estimation assuming independence",
      "topics": [
        "dsm_var_gam"
      ]
    },
    {
      "page": "dsm_var_movblk",
      "title": "Variance estimation via parametric moving block bootstrap",
      "topics": [
        "dsm_var_movblk"
      ]
    },
    {
      "page": "dsm_var_prop",
      "title": "Prediction variance propagation for DSMs",
      "topics": [
        "dsm_var_prop"
      ]
    },
    {
      "page": "dsm_varprop",
      "title": "Variance propagation for density surface models",
      "topics": [
        "dsm_varprop"
      ]
    },
    {
      "page": "dsm-data",
      "title": "Data format for DSM",
      "topics": [
        "dsm-data"
      ]
    },
    {
      "page": "dsm.cor",
      "title": "Check for autocorrelation in residuals",
      "topics": [
        "dsm.cor"
      ]
    },
    {
      "page": "dsm.var.gam",
      "title": "Prediction variance estimation assuming independence",
      "topics": [
        "dsm.var.gam"
      ]
    },
    {
      "page": "dsm.var.movblk",
      "title": "Variance estimation via parametric moving block bootstrap",
      "topics": [
        "dsm.var.movblk"
      ]
    },
    {
      "page": "dsm.var.prop",
      "title": "Prediction variance propagation for DSMs",
      "topics": [
        "dsm.var.prop"
      ]
    },
    {
      "page": "dummy_ddf",
      "title": "Detection function objects when detection is certain",
      "topics": [
        "dummy_ddf"
      ]
    },
    {
      "page": "generate.ds.uncertainty",
      "title": "Generate data from a fitted detection function",
      "topics": [
        "generate.ds.uncertainty"
      ]
    },
    {
      "page": "generate.mb.sample",
      "title": "Moving block bootstrap sampler",
      "topics": [
        "generate.mb.sample"
      ]
    },
    {
      "page": "latlong2km",
      "title": "Convert latitude and longitude to Northings and Eastings",
      "topics": [
        "latlong2km"
      ]
    },
    {
      "page": "make.soapgrid",
      "title": "Create a knot grid for the internal part of a soap film smoother.",
      "topics": [
        "make.soapgrid"
      ]
    },
    {
      "page": "mexdolphins",
      "title": "Pan-tropical spotted dolphins in the Gulf of Mexico",
      "topics": [
        "distdata",
        "mexdolphins",
        "obsdata",
        "pred.polys",
        "preddata",
        "segdata",
        "survey.area"
      ]
    },
    {
      "page": "obs_exp",
      "title": "Observed versus expected diagnostics for fitted DSMs",
      "topics": [
        "obs_exp"
      ]
    },
    {
      "page": "plot_pred_by_term",
      "title": "Spatially plot predictions per model term",
      "topics": [
        "plot_pred_by_term"
      ]
    },
    {
      "page": "plot.dsm",
      "title": "Plot a density surface model.",
      "topics": [
        "plot.dsm"
      ]
    },
    {
      "page": "plot.dsm.var",
      "title": "Create plots of abundance uncertainty",
      "topics": [
        "plot.dsm.var"
      ]
    },
    {
      "page": "predict.dsm",
      "title": "Predict from a fitted density surface model",
      "topics": [
        "predict.dsm"
      ]
    },
    {
      "page": "predict.fake_ddf",
      "title": "Prediction for fake detection functions",
      "topics": [
        "predict.fake_ddf"
      ]
    },
    {
      "page": "print.dsm",
      "title": "Print a description of a density surface model object",
      "topics": [
        "print.dsm"
      ]
    },
    {
      "page": "print.dsm_varprop",
      "title": "Print a description of a density surface model variance object",
      "topics": [
        "print.dsm_varprop"
      ]
    },
    {
      "page": "print.dsm.var",
      "title": "Print a description of a density surface model variance object",
      "topics": [
        "print.dsm.var"
      ]
    },
    {
      "page": "print.summary.dsm_varprop",
      "title": "Print summary of density surface model variance object",
      "topics": [
        "print.summary.dsm_varprop"
      ]
    },
    {
      "page": "print.summary.dsm.var",
      "title": "Print summary of density surface model variance object",
      "topics": [
        "print.summary.dsm.var"
      ]
    },
    {
      "page": "rqgam_check",
      "title": "Randomised quantile residuals check plot for GAMs/DSMs",
      "topics": [
        "rqgam_check"
      ]
    },
    {
      "page": "rqgam.check",
      "title": "Randomised quantile residuals check plot for GAMs/DSMs",
      "topics": [
        "rqgam.check"
      ]
    },
    {
      "page": "summary.dsm",
      "title": "Summarize a fitted density surface model",
      "topics": [
        "summary.dsm"
      ]
    },
    {
      "page": "summary.dsm_varprop",
      "title": "Summarize the variance of a density surface model",
      "topics": [
        "summary.dsm_varprop"
      ]
    },
    {
      "page": "summary.dsm.var",
      "title": "Summarize the variance of a density surface model",
      "topics": [
        "summary.dsm.var"
      ]
    },
    {
      "page": "trim.var",
      "title": "Trimmed variance",
      "topics": [
        "trim.var"
      ]
    },
    {
      "page": "vis_concurvity",
      "title": "Visualise concurvity between terms in a GAM",
      "topics": [
        "vis_concurvity"
      ]
    },
    {
      "page": "vis.concurvity",
      "title": "Visualise concurvity between terms in a GAM",
      "topics": [
        "vis.concurvity"
      ]
    }
  ],
  "_readme": "https://github.com/distanceDevelopment/dsm/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "farver",
    "future",
    "future.apply",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "Matrix",
    "mgcv",
    "mrds",
    "nlme",
    "nloptr",
    "numDeriv",
    "optimx",
    "parallelly",
    "plyr",
    "pracma",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "Rdpack",
    "rlang",
    "Rsolnp",
    "S7",
    "scales",
    "statmod",
    "truncnorm",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 6.246498580795802,
  "_indexed": true,
  "_nocasepkg": "dsm",
  "_universes": [
    "distancedevelopment",
    "lhmarshall"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.4",
      "date": "2026-10-22T07:56:03.000Z",
      "distro": "resolute",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/1657d172f598626f11723bcc1051423ded905d2c945c0df99e3e276487bffc94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.3.4",
      "date": "2026-10-22T07:55:44.000Z",
      "distro": "resolute",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/5d305a419914d4655c3e1397a0ed8280491f3a2fee9ef8377d30f22f96efa44f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.4",
      "date": "2026-10-22T07:54:32.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/b9c90fcc07f0f6ed5feab02b9d26033e20b0f13886270920ed002c79b544b755",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.3.4",
      "date": "2026-10-22T07:55:03.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/614dd3fb14f200ba0a5bed98cc0d0b9775cad672c7c20bad476b03e32fa66811",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.4",
      "date": "2026-10-22T07:56:00.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/4916bcd741d6c73ab3eb2b119016cfa234178d7af566d9b0faf04c40a0f1797a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-10-22T07:54:16.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/4143d324085c1feb41f16abb319ce509eaf7328993f8db0db030cc6be1dff1bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-10-22T07:54:18.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/c026ddaa85dd7f6d29a4ad67b661fdd24dcc7d470bee9f4ca4ac131e58882b6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-10-22T07:54:41.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/20a1098aadf09bb7d91876ea67f350b3a7d69be1831b498d7007c1c6a97729d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/39742788303"
    }
  ]
}