{
  "_id": "6a103e63acfb0bcc41c9c958",
  "Package": "whalestrike",
  "Title": "Simulate Whale Ship Strikes",
  "Version": "0.6.3",
  "Authors@R": "c(\nperson(given=\"Dan\", family=\"Kelley\", email=\"dan.kelley@dal.ca\", role=c(\"aut\", \"cre\"), comment=c(ORCID=\"0000-0001-7808-5911\")),\nperson(given=\"James\", family=\"Vlasic\", email=\"jvlasic@dal.ca\", role=\"rtm\", comment=c(ORCID=\"0000-0002-3846-4391\")),\nperson(given=\"Sean\", family=\"Brilliant\", email=\"seanb@cwf-fcf.org\", role=\"rtm\", comment=c(ORCID=\"0000-0001-5494-3475\")),\nperson(given=\"Alexandra\", family=\"Mayette\", email=\"alexandram@cwf-fcf.org\", role=\"rtm\", comment=c(ORCID=\"0000-0002-9766-9565\")))",
  "Maintainer": "Dan Kelley <dan.kelley@dal.ca>",
  "Description": "Provides tools for simulating the biophysical effects of\nvessel-strikes on whales. The aim is to support the evaluation\nof marine policies limiting ship speeds through regions in\nwhich whales reside. This is important because ship strikes are\na major source of lethality for several whale species,\nincluding the critically endangered North Atlantic right whale.\nIn this analysis, whales are modelled with a four-layer system\ncomprising skin, blubber, sub-layer (muscle or organ) and bone.\nReasonable values for the material properties of these layers,\nalong with other factors such as whale surface area and mass,\nare provided for a variety of whale species. Similarly, key\nvalues are provided for several ship types.  The collision is\nmodelled according to Newtonian dynamics, with stresses and\nstrains within the whale layers being simulated over time. The\nsimulation results are analyzed in the context of whale-strike\ndata, to develop a Lethality Index for the whale in the\nmodelled collision.  For the underlying science, see Kelley and\nothers \"Assessing the Lethality of Ship Strikes on Whales Using\nSimple Biophysical Models.\" (2021) <doi:10.1111/mms.12745>. For\nmore on the R code, see Kelley \"`whalestrike`: An R package for\nsimulating ship strikes on whales\" (2024)\n<doi:10.21105/joss.06473>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "BugReports": "https://github.com/dankelley/whalestrike/issues",
  "URL": "https://dankelley.github.io/whalestrike/",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "BuildVignettes": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://dankelley.r-universe.dev",
  "Date/Publication": "2026-03-12 14:16:37 UTC",
  "RemoteUrl": "https://github.com/dankelley/whalestrike",
  "RemoteRef": "HEAD",
  "RemoteSha": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
  "Packaged": {
    "Date": "2026-05-11 09:19:17 UTC",
    "User": "root"
  },
  "Author": "Dan Kelley [aut, cre] (ORCID: <https://orcid.org/0000-0001-7808-5911>),\nJames Vlasic [rtm] (ORCID: <https://orcid.org/0000-0002-3846-4391>),\nSean Brilliant [rtm] (ORCID: <https://orcid.org/0000-0001-5494-3475>),\nAlexandra Mayette [rtm] (ORCID:\n<https://orcid.org/0000-0002-9766-9565>)",
  "MD5sum": "0e960ee3a5bd503d8966d5b9cebfef4c",
  "_user": "dankelley",
  "_type": "src",
  "_file": "whalestrike_0.6.3.tar.gz",
  "_fileid": "0be3d5dc9bcc03a31761d7af1edb5f85b7969272f8bca1dfd88efe3fc7ef2193",
  "_filesize": 921878,
  "_sha256": "0be3d5dc9bcc03a31761d7af1edb5f85b7969272f8bca1dfd88efe3fc7ef2193",
  "_created": "2026-05-11T09:19:17.000Z",
  "_published": "2026-05-22T11:30:43.264Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77370839069,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6914755464"
    },
    {
      "job": 77370839011,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914757432"
    },
    {
      "job": 77370838628,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914749863"
    },
    {
      "job": 77370838895,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914744669"
    },
    {
      "job": 77370838129,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914708413"
    },
    {
      "job": 77370838393,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159438523"
    },
    {
      "job": 77370839012,
      "time": 86,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6914739013"
    },
    {
      "job": 77370839028,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6914750159"
    },
    {
      "job": 77370839014,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6914740594"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dankelley/whalestrike",
  "_commit": {
    "id": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
    "author": "dankelley <kelley.dan@gmail.com>",
    "committer": "dankelley <kelley.dan@gmail.com>",
    "message": "Show CRAN download statistics\n",
    "time": 1773324997
  },
  "_maintainer": {
    "name": "Dan Kelley",
    "email": "dan.kelley@dal.ca",
    "orcid": "0000-0001-7808-5911"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "bslib",
      "role": "Depends"
    },
    {
      "package": "deSolve",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "shiny",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "dankelley",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 4
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 7
    },
    {
      "week": "2026-09",
      "n": 24
    },
    {
      "week": "2026-10",
      "n": 4
    },
    {
      "week": "2026-11",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.6.0",
      "date": "2026-02-19"
    },
    {
      "name": "v0.6.2",
      "date": "2026-03-03"
    },
    {
      "name": "v0.6.3",
      "date": "2026-03-03"
    }
  ],
  "_topics": [
    "collision",
    "ships",
    "whales"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "dankelley",
      "count": 427,
      "uuid": 99469
    },
    {
      "user": "jvlasic",
      "count": 11,
      "uuid": 39060019
    }
  ],
  "_userbio": {
    "uuid": 99469,
    "type": "user",
    "name": "Dan Kelley",
    "description": "Oceanographer, University Professor and former Senator\r\n(ORCID https://orcid.org/0000-0001-7808-5911)"
  },
  "_downloads": {
    "count": 153,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/whalestrike"
  },
  "_devurl": "https://github.com/dankelley/whalestrike",
  "_pkgdown": "https://dankelley.github.io/whalestrike/",
  "_searchresults": 42,
  "_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/whalestrike.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dankelley/whalestrike",
  "_realowner": "dankelley",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.6.2",
      "date": "2026-03-06"
    }
  ],
  "_exports": [
    "app",
    "app_2025",
    "derivative",
    "dynamics",
    "fillplot",
    "knot2mps",
    "lethalityIndexFromStress",
    "maximumLethalityIndex",
    "mps2knot",
    "parameters",
    "pin",
    "shipAreaFromMass",
    "shipLength",
    "shipMassFromLength",
    "shipWaterForce",
    "stressFromLethalityIndex",
    "stressFromStrainFunction",
    "strike",
    "updateParameters",
    "whaleAreaFromLength",
    "whaleCompressionForce",
    "whaleLengthFromMass",
    "whaleMassFromLength",
    "whaleMeasurements",
    "whaleShape",
    "whaleSkinForce",
    "whaleWaterForce"
  ],
  "_datasets": [
    {
      "name": "raymond2007",
      "title": "Whale blubber stress-strain relationship",
      "object": "raymond2007",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "sol20200708",
      "title": "Reference strike() solution",
      "object": "sol20200708",
      "class": [
        "strike"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "app",
      "title": "GUI application for whale simulation",
      "concept": [
        "interactive apps"
      ],
      "topics": [
        "app"
      ]
    },
    {
      "page": "app_2025",
      "title": "GUI app for interactive whale-strike simulations (OLD VERSION, no longer maintained)",
      "concept": [
        "interactive apps"
      ],
      "topics": [
        "app_2025"
      ]
    },
    {
      "page": "derivative",
      "title": "Calculate derivative using first difference",
      "topics": [
        "derivative"
      ]
    },
    {
      "page": "dynamics",
      "title": "Dynamical law",
      "topics": [
        "dynamics"
      ]
    },
    {
      "page": "fillplot",
      "title": "Draw polygon between two xy curves",
      "topics": [
        "fillplot"
      ]
    },
    {
      "page": "knot2mps",
      "title": "Convert a speed in knots to a speed in m/s",
      "concept": [
        "functions dealing with units"
      ],
      "topics": [
        "knot2mps"
      ]
    },
    {
      "page": "lethalityIndexFromStress",
      "title": "Compute lethality index, based on compression stress",
      "concept": [
        "functions dealing with Whale Lethality index"
      ],
      "topics": [
        "lethalityIndexFromStress"
      ]
    },
    {
      "page": "maximumLethalityIndex",
      "title": "Find maximum Lethality Index during a strike",
      "concept": [
        "functions dealing with Whale Lethality index"
      ],
      "topics": [
        "maximumLethalityIndex"
      ]
    },
    {
      "page": "mps2knot",
      "title": "Convert a speed in m/s to a speed in knots",
      "concept": [
        "functions dealing with units"
      ],
      "topics": [
        "mps2knot"
      ]
    },
    {
      "page": "parameters",
      "title": "Set parameters for a whale strike simulation",
      "topics": [
        "parameters"
      ]
    },
    {
      "page": "pin",
      "title": "Pin numerical values between stated limits",
      "topics": [
        "pin"
      ]
    },
    {
      "page": "plot.strike",
      "title": "Plot a strike object",
      "topics": [
        "plot.strike"
      ]
    },
    {
      "page": "raymond2007",
      "title": "Whale blubber stress-strain relationship",
      "topics": [
        "raymond2007"
      ]
    },
    {
      "page": "shipAreaFromMass",
      "title": "Compute ship wetted area from mass",
      "concept": [
        "functions relating to ship characteristics"
      ],
      "topics": [
        "shipAreaFromMass"
      ]
    },
    {
      "page": "shipLength",
      "title": "Nominal ship length in m",
      "concept": [
        "functions relating to ship characteristics"
      ],
      "topics": [
        "shipLength"
      ]
    },
    {
      "page": "shipMassFromLength",
      "title": "Ship displacement in kg based on vessel type and length",
      "concept": [
        "functions relating to ship characteristics"
      ],
      "topics": [
        "shipMassFromLength"
      ]
    },
    {
      "page": "shipWaterForce",
      "title": "Ship Drag Force",
      "concept": [
        "functions relating to forces",
        "functions relating to ship characteristics"
      ],
      "topics": [
        "shipWaterForce"
      ]
    },
    {
      "page": "sol20200708",
      "title": "Reference strike() solution",
      "topics": [
        "sol20200708"
      ]
    },
    {
      "page": "stressFromLethalityIndex",
      "title": "Compute stress, based on lethality index",
      "concept": [
        "functions dealing with Whale Lethality index"
      ],
      "topics": [
        "stressFromLethalityIndex"
      ]
    },
    {
      "page": "stressFromStrainFunction",
      "title": "Create a function for stress in laminated layers",
      "concept": [
        "functions relating to forces",
        "functions relating to whale characteristics"
      ],
      "topics": [
        "stressFromStrainFunction"
      ]
    },
    {
      "page": "strike",
      "title": "Simulate the collision of a ship and a whale",
      "topics": [
        "strike"
      ]
    },
    {
      "page": "summary.parameters",
      "title": "Summarize a parameters object",
      "topics": [
        "summary.parameters"
      ]
    },
    {
      "page": "summary.strike",
      "title": "Summarize the parameters of a simulation, and its results",
      "topics": [
        "summary.strike"
      ]
    },
    {
      "page": "updateParameters",
      "title": "Update parameters",
      "topics": [
        "updateParameters"
      ]
    },
    {
      "page": "whaleAreaFromLength",
      "title": "Whale projected area, as function of length",
      "topics": [
        "whaleAreaFromLength"
      ]
    },
    {
      "page": "whaleCompressionForce",
      "title": "Whale compression force",
      "concept": [
        "functions relating to forces",
        "functions relating to whale characteristics"
      ],
      "topics": [
        "whaleCompressionForce"
      ]
    },
    {
      "page": "whaleLengthFromMass",
      "title": "Compute whale length from mass",
      "concept": [
        "functions relating to whale characteristics"
      ],
      "topics": [
        "whaleLengthFromMass"
      ]
    },
    {
      "page": "whaleMassFromLength",
      "title": "Whale mass inferred from length",
      "concept": [
        "functions relating to whale characteristics"
      ],
      "topics": [
        "whaleMassFromLength"
      ]
    },
    {
      "page": "whaleMeasurements",
      "title": "Get values for various whale measurements",
      "topics": [
        "whaleMeasurements"
      ]
    },
    {
      "page": "whaleShape",
      "title": "Whale side-view shape",
      "topics": [
        "whaleShape"
      ]
    },
    {
      "page": "whaleSkinForce",
      "title": "Skin force",
      "concept": [
        "functions relating to forces",
        "functions relating to whale characteristics"
      ],
      "topics": [
        "whaleSkinForce"
      ]
    },
    {
      "page": "whaleWaterForce",
      "title": "Whale Drag Force",
      "concept": [
        "functions relating to forces",
        "functions relating to whale characteristics"
      ],
      "topics": [
        "whaleWaterForce"
      ]
    }
  ],
  "_readme": "https://github.com/dankelley/whalestrike/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "deSolve",
    "digest",
    "fastmap",
    "fontawesome",
    "fs",
    "glue",
    "htmltools",
    "httpuv",
    "jquerylib",
    "jsonlite",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "sass",
    "shiny",
    "sourcetools",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "whalestrike.Rmd",
      "filename": "whalestrike.html",
      "title": "Using the whalestrike package",
      "author": "Dan Kelley (https://orcid.org/0000-0001-7808-5911)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "GUI usage",
        "Non-GUI usage",
        "Overview plot",
        "Threat dependence on impact area",
        "Threat dependence on blubber thickness and ship speed",
        "Further reading"
      ],
      "created": "2018-06-27 18:34:40",
      "modified": "2026-03-03 13:06:42",
      "commits": 40
    }
  ],
  "_score": 5.878521795501206,
  "_indexed": true,
  "_nocasepkg": "whalestrike",
  "_universes": [
    "dankelley"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.3",
      "date": "2026-05-11T09:21:28.000Z",
      "distro": "noble",
      "commit": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
      "fileid": "92ac2b053e559e8b936dac5b2ec15dbe383cebcd7795eecbe2c942c54fdced94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.3",
      "date": "2026-05-11T09:21:28.000Z",
      "distro": "noble",
      "commit": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
      "fileid": "72fda4c314548f5d642ba1a858f9e1835576b9ac639e8773113ee482617e5fe7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.3",
      "date": "2026-05-11T09:21:10.000Z",
      "commit": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
      "fileid": "4b5563cb6c9ba62f5b4e8671b5eabbb641704836893df3594bd1d68237724c29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.3",
      "date": "2026-05-11T09:21:01.000Z",
      "commit": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
      "fileid": "5e050fce5c694150bfd31fdf35e614c9b4b5618be4dea1b8fc337a53f63405a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-05-11T09:20:31.000Z",
      "commit": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
      "fileid": "6b9a1de05da5b8dc3eadc8f5840e53ca7451bc0ca7b19f4446befb61b242eb37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-05-11T09:21:07.000Z",
      "commit": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
      "fileid": "2e5da8699d0b85f2df7cd89b47aea6b1dec9daaaac937c5b87e47bf3372e5320",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.3",
      "date": "2026-05-11T09:20:35.000Z",
      "commit": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
      "fileid": "7314f84e96647a853b16289b903295e7d4eebe727b6e032486b88a7a2b14af82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.3",
      "date": "2026-05-22T11:30:21.000Z",
      "commit": "ed043aecd2ae434f6ecaec05e13a6a7de0f1c8ca",
      "fileid": "28f2ea52ef8b971cf83696ffcb04e950afa105f1990fc98454d993f3e420cc8e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dankelley/actions/runs/25661312615"
    }
  ]
}