{
  "_id": "6a49611577d6db3f2f9665e1",
  "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-06-24 11:55: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/849f3377f71735eb8b02eb4d63729641de7617ff2befb6e3e37cf9bb59c9a117",
  "_filesize": 315180,
  "_sha256": "849f3377f71735eb8b02eb4d63729641de7617ff2befb6e3e37cf9bb59c9a117",
  "_expires": "2026-10-12T19:37:55.000Z",
  "_created": "2026-06-24T11:55:54.000Z",
  "_published": "2026-07-04T19:37:57.189Z",
  "_jobs": [
    {
      "job": 85161162219,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7848776757"
    },
    {
      "job": 85161162410,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848786963"
    },
    {
      "job": 85161162247,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7848753357"
    },
    {
      "job": 85161162259,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848749501"
    },
    {
      "job": 85161162070,
      "time": 228,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848710759"
    },
    {
      "job": 85161162364,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848760590"
    },
    {
      "job": 85161162347,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7848753432"
    },
    {
      "job": 85161162324,
      "time": 117,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7848756225"
    },
    {
      "job": 85161162244,
      "time": 123,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7848757882"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151",
  "_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": "2025-32",
      "n": 4
    },
    {
      "week": "2025-38",
      "n": 3
    },
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 8,
  "_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": 17,
    "description": "Distance sampling software development team"
  },
  "_downloads": {
    "count": 511,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dsm"
  },
  "_mentions": 7,
  "_devurl": "https://github.com/distancedevelopment/dsm",
  "_searchresults": 167,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dsm.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.624117011929128,
  "_indexed": true,
  "_nocasepkg": "dsm",
  "_universes": [
    "distancedevelopment",
    "lhmarshall"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.4",
      "date": "2026-06-24T11:58:22.000Z",
      "distro": "resolute",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/c509fc060f6643642c80ddc21a40700acfa80368ddd5af208b2da737cb98444e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3.4",
      "date": "2026-06-24T11:58:55.000Z",
      "distro": "resolute",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/4e1a7260e133513cb0e02f035cd9c8b2d342b325e069540671fb3e0248f359bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.4",
      "date": "2026-06-24T11:57:30.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/bc7c3739dd5c890aef55c17f503235ed531d8942bd52502966be60bbf3fca343",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3.4",
      "date": "2026-06-24T11:57:29.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/3f1b8c03e04f697b5720018f176f27ca40a3c9c025eacf38a751088f9bba78dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.4",
      "date": "2026-06-24T11:58:30.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/06f6a5bb623d400ec3dd6fa4ec3ab6d506c53ca6be34954f93a49a73186bee4f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-06-24T11:57:20.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/1b5dcb9ab46890dfac1e2e258df428012db7d75a15ed03013ac387aa088ccdb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-06-24T11:57:23.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/839c6c2b08d80776505d75fd3e07315a27aca99d16f2060b06a45f81ce4d03a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.3.4",
      "date": "2026-06-24T11:57:25.000Z",
      "commit": "e5fd5db34b700d4b78459763188223ea89e2a8ba",
      "fileid": "https://r2.ropensci.org/a0f9162b830ab7365ba37e4b20cd6de04fe251302ae99f68755220c1153a02cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/distancedevelopment/actions/runs/28096464151"
    }
  ]
}