{
  "_id": "6ab238113d719c1f8408a6cb",
  "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-09-22 08:07:07 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/64b4b426feffdde84622935313b0ba606143ae5e36ff032f4685a2a179698756",
  "_filesize": 315273,
  "_sha256": "64b4b426feffdde84622935313b0ba606143ae5e36ff032f4685a2a179698756",
  "_expires": "2026-12-31T08:10:55.000Z",
  "_created": "2026-09-22T08:07:07.000Z",
  "_published": "2026-09-22T08:10:56.954Z",
  "_jobs": [
    {
      "job": 106665532136,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10684035063"
    },
    {
      "job": 106665532164,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10683606337"
    },
    {
      "job": 106665532180,
      "time": 112,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10683641186"
    },
    {
      "job": 106665532155,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10683835312"
    },
    {
      "job": 106664547263,
      "time": 201,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10683001916"
    },
    {
      "job": 106665532082,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10683646182"
    },
    {
      "job": 106665532163,
      "time": 112,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10683022079"
    },
    {
      "job": 106665532194,
      "time": 103,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10683606158"
    },
    {
      "job": 106665532141,
      "time": 109,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10684015004"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315",
  "_status": "success",
  "_upstream": "https://github.com/distanceDevelopment/dsm",
  "_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
  },
  "_maintainer": {
    "name": "Laura Marshall",
    "email": "lhm@st-andrews.ac.uk",
    "login": "lhmarshall",
    "description": "",
    "uuid": 1295691
  },
  "_distro": "resolute",
  "_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": 9,
  "_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": 18,
    "description": "Distance sampling software development team"
  },
  "_downloads": {
    "count": 489,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dsm"
  },
  "_mentions": 7,
  "_devurl": "https://github.com/distancedevelopment/dsm",
  "_searchresults": 161,
  "_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.182257684541113,
  "_indexed": true,
  "_nocasepkg": "dsm",
  "_universes": [
    "distancedevelopment",
    "lhmarshall"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.4",
      "date": "2026-09-22T08:09:33.000Z",
      "distro": "resolute",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/5fc495e6a2ca6aad7b9c9f9775aa801aa769f4fa2c75e09223b75a6be5a30df1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.3.4",
      "date": "2026-09-22T08:09:30.000Z",
      "distro": "resolute",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/2d452db5a54093455a28a3320ecb87165ac31d89c63bc75e47803cc27fa5179e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.4",
      "date": "2026-09-22T08:08:52.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/49864a8b432c99ec47aebf90e556e4c8c2769891ea4fe53c7c19c6ef961a1d25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.3.4",
      "date": "2026-09-22T08:08:51.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/93ca38320712792f7ff98768515770e29a86e68da1fe69fd9c94e956b25d46a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.4",
      "date": "2026-09-22T08:09:37.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/c3481110b4c021a3a4e751ed2fc462d1fa4ba4027f4fd9953801f343f66e28cd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-09-22T08:08:28.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/eccca07429a3ed5c578beab27dde97adc5d170fc2aa9e28313740bba98a6265f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-09-22T08:08:21.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/18c1e2edcb48886f4f29f3e39abb0bacefec9c30124aa820d7a9bcd9dcfe2033",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-09-22T08:08:24.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/63088ced7c1dc9d6f3d9688c973f50686cf34f34c5f00613228ddfbf5d31750a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/35702764315"
    }
  ]
}