{
  "_id": "6af18a66ef600c02c406a2dd",
  "Package": "DM",
  "Type": "Package",
  "Title": "Dynamic Model",
  "Version": "1.7.5",
  "Date": "2017-03-27",
  "SystemRequirements": "WinBUGS 1.4, jags (>= 3.3.0)",
  "Author": "Eli Holmes, Martin Liermann, Howard Coleman, NOAA, Seattle, USA",
  "Maintainer": "Elizabeth Holmes - NOAA Federal <eli.holmes@noaa.gov>",
  "Description": "This package uses comma-delimited data exported from the\nA&P Excel files to estimate the SR parameters for a\nuser-specified SR function.",
  "License": "GPL-2",
  "BuildVignettes": "yes",
  "Packaged": {
    "Date": "2026-11-09 08:41:07 UTC",
    "User": "root"
  },
  "NeedsCompilation": "no",
  "RoxygenNote": "6.0.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make jags libicu-dev libuv1-dev zlib1g-dev",
  "Repository": "https://nmfs-opensci.r-universe.dev",
  "Date/Publication": "2018-02-05 20:50:49 UTC",
  "RemoteUrl": "https://github.com/nwfsc-math-bio/DM",
  "RemoteRef": "HEAD",
  "RemoteSha": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
  "_user": "nmfs-opensci",
  "_type": "src",
  "_file": "DM_1.7.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/806d2d0e41c33390e3d3af1e51cb5962a91bc4f010873738e0870332183ff2fc",
  "_filesize": 196095,
  "_sha256": "806d2d0e41c33390e3d3af1e51cb5962a91bc4f010873738e0870332183ff2fc",
  "_expires": "2027-02-17T08:55:00.000Z",
  "_created": "2026-11-09T08:41:07.000Z",
  "_published": "2026-11-09T08:55:01.868Z",
  "_upstream": "https://github.com/nwfsc-math-bio/DM",
  "_status": "failure",
  "_maintainer": {
    "name": "Elizabeth Holmes - NOAA Federal",
    "email": "eli.holmes@noaa.gov",
    "login": "eeholmes",
    "orcid": "0000-0001-9128-8393",
    "description": "NMFS Open Science lead\nUniv of WA School of Fisheries, Affiliate Faculty",
    "uuid": 2545978
  },
  "_jobs": [
    {
      "job": 129061696100,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13659069099"
    },
    {
      "job": 129061696089,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13660435798"
    },
    {
      "job": 129061696078,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13659379959"
    },
    {
      "job": 129061696161,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13661225254"
    },
    {
      "job": 129059899108,
      "time": 270,
      "config": "source",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13659064753"
    },
    {
      "job": 129061696221,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13659936893"
    },
    {
      "job": 129061696167,
      "time": 76,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13660330404"
    },
    {
      "job": 129061696208,
      "time": 112,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13660076317"
    },
    {
      "job": 129061696190,
      "time": 102,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13660265823"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537",
  "_commit": {
    "id": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
    "author": "Eli Holmes <eli.holmes@noaa.gov>",
    "committer": "Eli Holmes <eli.holmes@noaa.gov>",
    "message": "Set theme jekyll-theme-slate",
    "time": 1517863849
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.15.0",
      "role": "Depends"
    },
    {
      "package": "R2jags",
      "role": "Depends"
    },
    {
      "package": "R2WinBUGS",
      "role": "Depends"
    },
    {
      "package": "coda",
      "role": "Depends"
    },
    {
      "package": "KernSmooth",
      "role": "Depends"
    },
    {
      "package": "GenSA",
      "role": "Depends"
    },
    {
      "package": "stringr",
      "role": "Depends"
    },
    {
      "package": "tools",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Depends"
    },
    {
      "package": "shiny",
      "role": "Depends"
    },
    {
      "package": "openxlsx",
      "role": "Depends"
    },
    {
      "package": "VRAP",
      "version": ">= 1.3.6",
      "role": "Depends"
    },
    {
      "package": "Gmedian",
      "role": "Depends"
    },
    {
      "package": "rmarkdown",
      "role": "Depends"
    }
  ],
  "_owner": "nwfsc-math-bio",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayesian",
    "protected-species",
    "salmon",
    "jags",
    "cpp"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "eeholmes",
      "count": 105,
      "uuid": 2545978
    }
  ],
  "_userbio": {
    "uuid": 110112201,
    "type": "organization",
    "name": "nmfs-opensci",
    "followers": 149,
    "description": "GiHub org for NMFS Open Science"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DM"
  },
  "_devurl": "https://github.com/nwfsc-math-bio/dm",
  "_searchresults": 542,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DM.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "centerProdCap",
    "createPriors",
    "createRAVfile",
    "findOptimum",
    "getPostDraws",
    "plotPriors",
    "plotResults",
    "readData",
    "runModel",
    "uncenterProdCap",
    "writeReport",
    "writeResultsToFile"
  ],
  "_help": [
    {
      "page": "calcHarvest",
      "title": "Calculate harvest rate",
      "topics": [
        "calcHarvest"
      ]
    },
    {
      "page": "calcInitVals",
      "title": "Calculate initial values for MCMC.",
      "topics": [
        "calcInitVals"
      ]
    },
    {
      "page": "calculateHarvested",
      "title": "Calculate harvested recruits and escapement",
      "topics": [
        "calculateHarvested"
      ]
    },
    {
      "page": "calculatePEandSmsy",
      "title": "Calculate process error and SMSY.",
      "topics": [
        "calculatePEandSmsy"
      ]
    },
    {
      "page": "centerProdCap",
      "title": "Center productivty and log capacity parameters",
      "topics": [
        "centerProdCap"
      ]
    },
    {
      "page": "conditionalcenterProdCap",
      "title": "Center productivty and log capacity parameters conditioned on values in input",
      "topics": [
        "conditionalcenterProdCap"
      ]
    },
    {
      "page": "createBUGSdata",
      "title": "Create bugs data for model with or without age data.",
      "topics": [
        "createBUGSdata"
      ]
    },
    {
      "page": "createPriors",
      "title": "Create a priors list.",
      "topics": [
        "createPriors"
      ]
    },
    {
      "page": "createRAVfile",
      "title": "Create rav file.",
      "topics": [
        "createRAVfile"
      ]
    },
    {
      "page": "DM",
      "title": "Shiny app to run DM and VRAP",
      "topics": [
        "DM",
        "DMVRAP"
      ]
    },
    {
      "page": "findOptimum",
      "title": "Optimization functions.",
      "topics": [
        "findOptimum"
      ]
    },
    {
      "page": "getPostDraws",
      "title": "Get the simulations from a jags output list.",
      "topics": [
        "getPostDraws"
      ]
    },
    {
      "page": "info",
      "title": "Helper file for creating text for the reports.",
      "topics": [
        "info"
      ]
    },
    {
      "page": "plotAgeComp",
      "title": "Create plots of age composition",
      "topics": [
        "plotAgeComp"
      ]
    },
    {
      "page": "plotCapacity",
      "title": "Create plots of capacity posteriors",
      "topics": [
        "plotCapacity"
      ]
    },
    {
      "page": "plotCoefs",
      "title": "Create plots of covariate coefficients",
      "topics": [
        "plotCoefs"
      ]
    },
    {
      "page": "plotPriors",
      "title": "Create plots of priors for productivity and log capacity.",
      "topics": [
        "plotPriors"
      ]
    },
    {
      "page": "plotProductivity",
      "title": "Create plots of productivity posteriors",
      "topics": [
        "plotProductivity"
      ]
    },
    {
      "page": "plotResults",
      "title": "Create plots from DM runs",
      "topics": [
        "plotResults"
      ]
    },
    {
      "page": "readData",
      "title": "This reads in the csv file saved from an A & P file and creates dat and input",
      "topics": [
        "readData"
      ]
    },
    {
      "page": "runJAGS",
      "title": "Call JAGS to get the posterior draws.",
      "topics": [
        "runJAGS"
      ]
    },
    {
      "page": "runModel",
      "title": "Run the DM model",
      "topics": [
        "runModel"
      ]
    },
    {
      "page": "selectSR",
      "title": "Helper function that takes the name of SR function and returns the recruits",
      "topics": [
        "selectSR"
      ]
    },
    {
      "page": "simplePlot",
      "title": "Create posterior credible interval plots from multiple DM runs",
      "topics": [
        "simplePlot"
      ]
    },
    {
      "page": "srfunctions",
      "title": "SR funcitons",
      "topics": [
        "bevertonHolt",
        "hockeyStick",
        "ricker",
        "srfunctions"
      ]
    },
    {
      "page": "SSTfuncDM",
      "title": "Original dynamic model",
      "topics": [
        "SSTfuncDM"
      ]
    },
    {
      "page": "summarizeRuns",
      "title": "Summarize runs",
      "topics": [
        "summarizeRuns"
      ]
    },
    {
      "page": "uncenterProdCap",
      "title": "Uncenter productivty and log capacity parameters",
      "topics": [
        "uncenterProdCap"
      ]
    },
    {
      "page": "writeBUGScode",
      "title": "write the model in BUGS language",
      "topics": [
        "writeBUGScode"
      ]
    },
    {
      "page": "writeReport",
      "title": "Creates a report with plots.",
      "topics": [
        "writeReport"
      ]
    },
    {
      "page": "writeResultsToFile",
      "title": "Save DM output.",
      "topics": [
        "writeResultsToFile"
      ]
    }
  ],
  "_readme": "https://github.com/nwfsc-math-bio/DM/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "base64enc",
    "boot",
    "bslib",
    "cachem",
    "cli",
    "coda",
    "codetools",
    "commonmark",
    "DEoptimR",
    "digest",
    "doParallel",
    "doSNOW",
    "evaluate",
    "fastmap",
    "fontawesome",
    "foreach",
    "fs",
    "GenSA",
    "glue",
    "Gmedian",
    "highr",
    "htmltools",
    "httpuv",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "later",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "openxlsx",
    "otel",
    "promises",
    "R2jags",
    "R2WinBUGS",
    "R6",
    "rappdirs",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rjags",
    "rlang",
    "rmarkdown",
    "robustbase",
    "RSpectra",
    "sass",
    "shiny",
    "shinyAce",
    "snow",
    "sourcetools",
    "stringi",
    "stringr",
    "tinytex",
    "vctrs",
    "VRAP",
    "withr",
    "xfun",
    "xtable",
    "yaml",
    "zip"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2604.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.4329692908744054,
  "_indexed": false,
  "_nocasepkg": "dm",
  "_universes": [
    "nmfs-opensci"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7.5",
      "date": "2026-11-09T08:43:13.000Z",
      "distro": "resolute",
      "commit": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
      "fileid": "https://r2.ropensci.org/1b1c4434d4e11542e8960cd79204c8261dd4e4ff3144eea1eaedf7e5c017111c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.7.5",
      "date": "2026-11-09T08:43:19.000Z",
      "distro": "resolute",
      "commit": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
      "fileid": "https://r2.ropensci.org/e6559159ecc90c4fe8677c36851b152ffed3fb65c59dc4128dfc6ab3e3487e94",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7.5",
      "date": "2026-11-09T08:51:45.000Z",
      "commit": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
      "fileid": "https://r2.ropensci.org/bfe8be0e2f21e5973f99a5a76d5b49549f4900b88f4ab3c22265ddd7bcf790e3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.7.5",
      "date": "2026-11-09T08:54:13.000Z",
      "commit": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
      "fileid": "https://r2.ropensci.org/d4a6ff65e1e86cf174c18d51eb74e5cf2287d5475459f57be6037bb4ba15baa9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.7.5",
      "date": "2026-11-09T08:43:18.000Z",
      "commit": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
      "fileid": "https://r2.ropensci.org/0d685c4af01454f10a24569a3662e3a33c158ea1b954bb7a7ba41c11b383f89b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.7.5",
      "date": "2026-11-09T08:42:21.000Z",
      "commit": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
      "fileid": "https://r2.ropensci.org/d1f9676ce12077a7c13c6c254c94aae27ac28f9accb93d9819cedb5540710637",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.7.5",
      "date": "2026-11-09T08:42:41.000Z",
      "commit": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
      "fileid": "https://r2.ropensci.org/9d8b4bd420eaeafa0f9c37e90851ea93252253b6f9386db9f91a30f04841b934",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.7.5",
      "date": "2026-11-09T08:42:34.000Z",
      "commit": "b8feb2e17aeb74abe83c83edadd50aa282ab1e66",
      "fileid": "https://r2.ropensci.org/aeb2d6b9e02a78c6fbd613cdffb3cec1a4cdfff0ea3fb75b3e70ea0fd5babf3d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nmfs-opensci/actions/runs/42587216537"
    }
  ]
}