{
  "_id": "6a1171efacfb0bcc41cf7b82",
  "Package": "gadget3",
  "Type": "Package",
  "Title": "Globally-Applicable Area Disaggregated General Ecosystem Toolbox\nV3",
  "Version": "0.15-1-999",
  "Date": "2026-01-12",
  "Authors@R": "c(person(\"Jamie\", \"Lentin\", email=\"lentinj@shuttlethread.com\",role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-5727-2996\")),\nperson(\"Bjarki Thor\", \"Elvarsson\", email=\"bjarki.elvarsson@hafogvatn.is\",role = c(\"aut\"), comment = c(ORCID = \"0000-0001-5855-1188\")),\nperson(\"William\", \"Butler\", email=\"will.butler@hafogvatn.is\",role = c(\"aut\"), comment = c(ORCID = \"0000-0002-3286-0748\")),\nperson(\"Marine and Freshwater Research Institute (Iceland)\", role = c(\"cph\")))",
  "Maintainer": "Jamie Lentin <lentinj@shuttlethread.com>",
  "Description": "A framework to assist creation of marine ecosystem models,\ngenerating either 'R' or 'C++' code which can then be optimised\nusing the 'TMB' package and standard 'R' tools. Principally\ndesigned to reproduce gadget2 models in 'TMB', but can be\nextended beyond gadget2's capabilities. Kasper Kristensen,\nAnders Nielsen, Casper W. Berg, Hans Skaug, Bradley M. Bell\n(2016) <doi:10.18637/jss.v070.i05> \"TMB: Automatic\nDifferentiation and Laplace Approximation.\". Begley, J., &\nHowell, D. (2004) <doi:10.17895/ices.pub.25349308> \"An overview\nof Gadget, the globally applicable area-disaggregated general\necosystem toolbox. ICES.\".",
  "URL": "https://gadget-framework.github.io/gadget3/,\nhttps://github.com/gadget-framework/gadget3/",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "License": "GPL-2",
  "RoxygenNote": "7.0.2",
  "Repository": "https://gadget-framework.r-universe.dev",
  "Date/Publication": "2026-04-23 16:50:34 UTC",
  "RemoteUrl": "https://github.com/gadget-framework/gadget3",
  "RemoteRef": "HEAD",
  "RemoteSha": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 09:16:58 UTC",
    "User": "root"
  },
  "Author": "Jamie Lentin [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5727-2996>),\nBjarki Thor Elvarsson [aut] (ORCID:\n<https://orcid.org/0000-0001-5855-1188>),\nWilliam Butler [aut] (ORCID: <https://orcid.org/0000-0002-3286-0748>),\nMarine and Freshwater Research Institute (Iceland) [cph]",
  "MD5sum": "9d4ce06135675f8ddd6924e41b13d22f",
  "_user": "gadget-framework",
  "_type": "src",
  "_file": "gadget3_0.15-1-999.tar.gz",
  "_fileid": "eba5720d3755984aab608bc2e260ea435cc962a19044647c3ea9c1ed3b77bfce",
  "_filesize": 1481564,
  "_sha256": "eba5720d3755984aab608bc2e260ea435cc962a19044647c3ea9c1ed3b77bfce",
  "_created": "2026-05-23T09:16:58.000Z",
  "_published": "2026-05-23T09:22:55.123Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77511845901,
      "time": 260,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175918384"
    },
    {
      "job": 77511845902,
      "time": 247,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175917168"
    },
    {
      "job": 77511845932,
      "time": 208,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175921183"
    },
    {
      "job": 77511845928,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175917249"
    },
    {
      "job": 77511669461,
      "time": 214,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175895285"
    },
    {
      "job": 77511845908,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175904327"
    },
    {
      "job": 77511845907,
      "time": 188,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175911986"
    },
    {
      "job": 77511845900,
      "time": 196,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175912702"
    },
    {
      "job": 77511845899,
      "time": 234,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175916258"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gadget-framework/gadget3",
  "_commit": {
    "id": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
    "author": "Jamie Lentin <jm@lentin.co.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #270 from gadget-framework/r-model-optimisation\n\nR model optimisation: Replace as.vector() with dim() <- NULL",
    "time": 1776963034
  },
  "_maintainer": {
    "name": "Jamie Lentin",
    "email": "lentinj@shuttlethread.com",
    "login": "lentinj",
    "description": "",
    "uuid": 586911,
    "orcid": "0000-0001-5727-2996"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.5",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "TMB",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "unittest",
      "version": ">= 1.4",
      "role": "Suggests"
    }
  ],
  "_owner": "gadget-framework",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 2
    },
    {
      "week": "2025-22",
      "n": 5
    },
    {
      "week": "2025-23",
      "n": 2
    },
    {
      "week": "2025-24",
      "n": 4
    },
    {
      "week": "2025-27",
      "n": 6
    },
    {
      "week": "2025-28",
      "n": 6
    },
    {
      "week": "2025-30",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2025-35",
      "n": 6
    },
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 5
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 6
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 7
    },
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.14-0",
      "date": "2025-10-15"
    },
    {
      "name": "v0.15-0",
      "date": "2026-01-11"
    },
    {
      "name": "v0.15-1",
      "date": "2026-01-12"
    }
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "lentinj",
      "count": 1792,
      "uuid": 586911
    },
    {
      "user": "bthe",
      "count": 33,
      "uuid": 7022612
    },
    {
      "user": "willbutler42",
      "count": 19,
      "uuid": 34750950
    },
    {
      "user": "mikkovihtakari",
      "count": 1,
      "uuid": 4095204
    }
  ],
  "_userbio": {
    "uuid": 77969645,
    "type": "organization",
    "name": "gadget-framework"
  },
  "_downloads": {
    "count": 546,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gadget3"
  },
  "_devurl": "https://github.com/gadget-framework/gadget3",
  "_pkgdown": "https://gadget-framework.github.io/gadget3/",
  "_searchresults": 133,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gadget3.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gadget-framework/gadget3",
  "_realowner": "gadget-framework",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.8-4",
      "date": "2022-12-09"
    },
    {
      "version": "0.9-0",
      "date": "2023-05-18"
    },
    {
      "version": "0.10-1",
      "date": "2023-08-24"
    },
    {
      "version": "0.11-1",
      "date": "2024-03-19"
    },
    {
      "version": "0.12-1",
      "date": "2024-07-03"
    },
    {
      "version": "0.13-0",
      "date": "2025-04-19"
    },
    {
      "version": "0.14-0",
      "date": "2025-10-15"
    },
    {
      "version": "0.15-1",
      "date": "2026-01-12"
    }
  ],
  "_exports": [
    "g3_action_order",
    "g3_areas",
    "g3_array_agg",
    "g3_array_combine",
    "g3_array_plot",
    "g3_distribution_preview",
    "g3_env",
    "g3_eval",
    "g3_fleet",
    "g3_formula",
    "g3_global_formula",
    "g3_init_val",
    "g3_is_stock",
    "g3_native",
    "g3_param_project",
    "g3_param_project_ar1",
    "g3_param_project_dlnorm",
    "g3_param_project_dnorm",
    "g3_param_project_logar1",
    "g3_param_project_rwalk",
    "g3_parameterized",
    "g3_quota",
    "g3_quota_assess",
    "g3_quota_hockeyfleet",
    "g3_quota_hockeystick",
    "g3_step",
    "g3_stock",
    "g3_stock_def",
    "g3_stock_instance",
    "g3_suitability_andersen",
    "g3_suitability_andersenfleet",
    "g3_suitability_constant",
    "g3_suitability_exponential",
    "g3_suitability_exponentiall50",
    "g3_suitability_gamma",
    "g3_suitability_richards",
    "g3_suitability_straightline",
    "g3_timeareadata",
    "g3_timevariable",
    "g3_tmb_adfun",
    "g3_tmb_fn",
    "g3_tmb_lower",
    "g3_tmb_par",
    "g3_tmb_parscale",
    "g3_tmb_relist",
    "g3_tmb_upper",
    "g3_to_desc",
    "g3_to_r",
    "g3_to_tmb",
    "g3a_age",
    "g3a_grow_impl_bbinom",
    "g3a_grow_length_multspec",
    "g3a_grow_length_weightjones",
    "g3a_grow_lengthvbsimple",
    "g3a_grow_weight_multspec",
    "g3a_grow_weight_weightjones",
    "g3a_grow_weightsimple",
    "g3a_growmature",
    "g3a_initialconditions_normalcv",
    "g3a_initialconditions_normalparam",
    "g3a_mature",
    "g3a_mature_constant",
    "g3a_mature_continuous",
    "g3a_migrate",
    "g3a_migrate_normalize",
    "g3a_naturalmortality",
    "g3a_naturalmortality_exp",
    "g3a_otherfood",
    "g3a_otherfood_normalcv",
    "g3a_otherfood_normalparam",
    "g3a_predate",
    "g3a_predate_catchability_effortfleet",
    "g3a_predate_catchability_linearfleet",
    "g3a_predate_catchability_numberfleet",
    "g3a_predate_catchability_predator",
    "g3a_predate_catchability_project",
    "g3a_predate_catchability_quotafleet",
    "g3a_predate_catchability_totalfleet",
    "g3a_predate_fleet",
    "g3a_predate_maxconsumption",
    "g3a_predate_tagrelease",
    "g3a_predate_totalfleet",
    "g3a_renewal_initabund",
    "g3a_renewal_normalcv",
    "g3a_renewal_normalparam",
    "g3a_renewal_vonb",
    "g3a_renewal_vonb_recl",
    "g3a_renewal_vonb_t0",
    "g3a_report_detail",
    "g3a_report_history",
    "g3a_report_stock",
    "g3a_spawn",
    "g3a_spawn_recruitment_bevertonholt",
    "g3a_spawn_recruitment_bevertonholt_ss3",
    "g3a_spawn_recruitment_fecundity",
    "g3a_spawn_recruitment_hockeystick",
    "g3a_spawn_recruitment_ricker",
    "g3a_spawn_recruitment_simplessb",
    "g3a_spmodel",
    "g3a_spmodel_logistic",
    "g3a_tag_shedding",
    "g3a_time",
    "g3a_trace_timings",
    "g3a_trace_var",
    "g3a_weightloss",
    "g3l_abundancedistribution",
    "g3l_bounds_penalty",
    "g3l_catchdistribution",
    "g3l_distribution_multinomial",
    "g3l_distribution_multivariate",
    "g3l_distribution_sumofsquaredlogratios",
    "g3l_distribution_sumofsquares",
    "g3l_distribution_surveyindices_linear",
    "g3l_distribution_surveyindices_log",
    "g3l_random_dnorm",
    "g3l_random_walk",
    "g3l_sparsesample",
    "g3l_sparsesample_linreg",
    "g3l_sparsesample_sumsquares",
    "g3l_tagging_ckmr",
    "g3l_understocking",
    "g3s_age",
    "g3s_agegroup",
    "g3s_areagroup",
    "g3s_clone",
    "g3s_livesonareas",
    "g3s_tag",
    "g3s_time",
    "g3s_time_convert"
  ],
  "_help": [
    {
      "page": "aaa_lang",
      "title": "Gadget3 language utilities",
      "concept": [
        "G3 internals"
      ],
      "topics": [
        "g3_global_formula",
        "g3_native"
      ]
    },
    {
      "page": "aab_env",
      "title": "Gadget3 global environment",
      "concept": [
        "G3 internals"
      ],
      "topics": [
        "ADREPORT",
        "as.numeric",
        "assert_msg",
        "as_integer",
        "avoid_zero",
        "avoid_zero_vec",
        "bounded",
        "bounded_vec",
        "g3_env",
        "g3_matrix_vec",
        "lgamma_vec",
        "logspace_add",
        "nonconform_add",
        "nonconform_div",
        "nonconform_divavz",
        "nonconform_mult",
        "normalize_vec",
        "nvl",
        "print_array",
        "ratio_add_pop",
        "REPORT",
        "REprintf",
        "Rprintf"
      ]
    },
    {
      "page": "action_age",
      "title": "Gadget3 age action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_age"
      ]
    },
    {
      "page": "action_grow",
      "title": "Gadget3 growth action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_growmature",
        "g3a_grow_impl_bbinom",
        "g3a_grow_lengthvbsimple",
        "g3a_grow_length_multspec",
        "g3a_grow_length_weightjones",
        "g3a_grow_weightsimple",
        "g3a_grow_weight_multspec",
        "g3a_grow_weight_weightjones"
      ]
    },
    {
      "page": "action_mature",
      "title": "Gadget3 maturity action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_mature",
        "g3a_mature_constant",
        "g3a_mature_continuous"
      ]
    },
    {
      "page": "action_migrate",
      "title": "Gadget3 migration action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_migrate",
        "g3a_migrate_normalize"
      ]
    },
    {
      "page": "action_naturalmortality",
      "title": "Gadget3 natural mortality action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_naturalmortality",
        "g3a_naturalmortality_exp"
      ]
    },
    {
      "page": "action_order",
      "title": "Standard gadget3 order of actions",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3_action_order"
      ]
    },
    {
      "page": "action_predate",
      "title": "Gadget3 predation actions",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_predate",
        "g3a_predate_catchability_effortfleet",
        "g3a_predate_catchability_linearfleet",
        "g3a_predate_catchability_numberfleet",
        "g3a_predate_catchability_predator",
        "g3a_predate_catchability_project",
        "g3a_predate_catchability_quotafleet",
        "g3a_predate_catchability_totalfleet",
        "g3a_predate_fleet",
        "g3a_predate_maxconsumption",
        "g3a_predate_totalfleet"
      ]
    },
    {
      "page": "action_renewal",
      "title": "Gadget3 renewal actions",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_initialconditions_normalcv",
        "g3a_initialconditions_normalparam",
        "g3a_otherfood",
        "g3a_otherfood_normalcv",
        "g3a_otherfood_normalparam",
        "g3a_renewal_initabund",
        "g3a_renewal_normalcv",
        "g3a_renewal_normalparam",
        "g3a_renewal_vonb",
        "g3a_renewal_vonb_recl",
        "g3a_renewal_vonb_t0"
      ]
    },
    {
      "page": "action_report",
      "title": "Gadget3 report actions",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_report_detail",
        "g3a_report_history",
        "g3a_report_stock"
      ]
    },
    {
      "page": "action_spawn",
      "title": "Gadget3 spawning action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_spawn",
        "g3a_spawn_recruitment_bevertonholt",
        "g3a_spawn_recruitment_bevertonholt_ss3",
        "g3a_spawn_recruitment_fecundity",
        "g3a_spawn_recruitment_hockeystick",
        "g3a_spawn_recruitment_ricker",
        "g3a_spawn_recruitment_simplessb"
      ]
    },
    {
      "page": "action_spmodel",
      "title": "Gadget3 surplus production model",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_spmodel",
        "g3a_spmodel_logistic"
      ]
    },
    {
      "page": "action_tagging",
      "title": "Gadget3 tag-release action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_predate_tagrelease",
        "g3a_tag_shedding"
      ]
    },
    {
      "page": "action_time",
      "title": "Gadget3 timekeeping actions",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_time"
      ]
    },
    {
      "page": "action_trace",
      "title": "Tracing and debugging tools",
      "concept": [
        "G3 utilities"
      ],
      "topics": [
        "g3a_trace_timings",
        "g3a_trace_var"
      ]
    },
    {
      "page": "action_weightloss",
      "title": "Gadget3 weightloss action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3a_weightloss"
      ]
    },
    {
      "page": "array_utils",
      "title": "Gadget3 array-handling utilities",
      "concept": [
        "G3 utilities"
      ],
      "topics": [
        "g3_array_agg",
        "g3_array_combine",
        "g3_array_plot"
      ]
    },
    {
      "page": "env_dif",
      "title": "g3 env: differentiable functions",
      "concept": [
        "G3 internals"
      ],
      "topics": [
        "dif_pmax",
        "dif_pmin",
        "dif_pminmax"
      ]
    },
    {
      "page": "eval",
      "title": "Evaluate G3 forumulas",
      "concept": [
        "G3 compilation"
      ],
      "topics": [
        "g3_eval"
      ]
    },
    {
      "page": "formula_utils",
      "title": "Gadget3 formula helpers",
      "concept": [
        "G3 utilities"
      ],
      "topics": [
        "g3_formula"
      ]
    },
    {
      "page": "init_val",
      "title": "Gadget3 parameter value setter",
      "concept": [
        "G3 compilation"
      ],
      "topics": [
        "g3_init_val"
      ]
    },
    {
      "page": "language",
      "title": "G3 language extensions to R",
      "concept": [
        "G3 internals"
      ],
      "topics": [
        "g3_idx",
        "g3_param",
        "g3_param_table",
        "g3_param_vector",
        "g3_with"
      ]
    },
    {
      "page": "likelihood_bounds",
      "title": "Gadget3 likelihood bounds_penalty action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3l_bounds_penalty"
      ]
    },
    {
      "page": "likelihood_distribution",
      "title": "Gadget3 likelihood actions",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3l_abundancedistribution",
        "g3l_catchdistribution",
        "g3l_distribution_multinomial",
        "g3l_distribution_multivariate",
        "g3l_distribution_sumofsquaredlogratios",
        "g3l_distribution_sumofsquares",
        "g3l_distribution_surveyindices_linear",
        "g3l_distribution_surveyindices_log",
        "g3_distribution_preview"
      ]
    },
    {
      "page": "likelihood_random",
      "title": "Gadget3 random effects likelihood actions",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3l_random_dnorm",
        "g3l_random_walk"
      ]
    },
    {
      "page": "likelihood_sparsesample",
      "title": "Gadget3 likelihood actions for sparse data",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3l_sparsesample",
        "g3l_sparsesample_linreg",
        "g3l_sparsesample_sumsquares"
      ]
    },
    {
      "page": "likelihood_tagging_ckmr",
      "title": "Gadget3 CKMR likelihood",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3l_tagging_ckmr"
      ]
    },
    {
      "page": "likelihood_understocking",
      "title": "Gadget3 likelihood understocking action",
      "concept": [
        "G3 action"
      ],
      "topics": [
        "g3l_understocking"
      ]
    },
    {
      "page": "param_project",
      "title": "Gadget3 projected parameters",
      "concept": [
        "G3 projections"
      ],
      "topics": [
        "g3_param_project",
        "g3_param_project_ar1",
        "g3_param_project_dlnorm",
        "g3_param_project_dnorm",
        "g3_param_project_logar1",
        "g3_param_project_rwalk"
      ]
    },
    {
      "page": "params",
      "title": "Gadget3 parameter helpers",
      "concept": [
        "G3 utilities"
      ],
      "topics": [
        "g3_parameterized"
      ]
    },
    {
      "page": "quota",
      "title": "Gadget3 projected quotas",
      "concept": [
        "G3 projections"
      ],
      "topics": [
        "g3_quota",
        "g3_quota_assess",
        "g3_quota_hockeyfleet",
        "g3_quota_hockeystick"
      ]
    },
    {
      "page": "run_desc",
      "title": "Gadget3 actions into R code",
      "concept": [
        "G3 compilation"
      ],
      "topics": [
        "g3_to_desc"
      ]
    },
    {
      "page": "run_r",
      "title": "Gadget3 actions into R code",
      "concept": [
        "G3 compilation"
      ],
      "topics": [
        "g3_to_r",
        "print.g3_r"
      ]
    },
    {
      "page": "run_tmb",
      "title": "Gadget3 actions into TMB code",
      "concept": [
        "G3 compilation"
      ],
      "topics": [
        "g3_tmb_adfun",
        "g3_tmb_fn",
        "g3_tmb_lower",
        "g3_tmb_par",
        "g3_tmb_parscale",
        "g3_tmb_relist",
        "g3_tmb_upper",
        "g3_to_tmb"
      ]
    },
    {
      "page": "step",
      "title": "G3 stock_* transformation functions",
      "concept": [
        "G3 internals"
      ],
      "topics": [
        "debug_label",
        "debug_trace",
        "g3_step",
        "stock_assert",
        "stock_interact",
        "stock_intersect",
        "stock_iterate",
        "stock_prepend",
        "stock_ss",
        "stock_ssinv",
        "stock_switch",
        "stock_with"
      ]
    },
    {
      "page": "stock",
      "title": "Gadget3 stock storage",
      "concept": [
        "G3 stock"
      ],
      "topics": [
        "g3s_clone",
        "g3_fleet",
        "g3_is_stock",
        "g3_stock",
        "g3_stock_def",
        "g3_stock_instance"
      ]
    },
    {
      "page": "stock_age",
      "title": "Gadget3 stock age dimensions",
      "concept": [
        "G3 stock"
      ],
      "topics": [
        "g3s_age",
        "g3s_agegroup"
      ]
    },
    {
      "page": "stock_areas",
      "title": "Gadget3 stock area dimensions",
      "concept": [
        "G3 stock"
      ],
      "topics": [
        "g3s_areagroup",
        "g3s_livesonareas",
        "g3_areas"
      ]
    },
    {
      "page": "stock_tag",
      "title": "Gadget3 tag dimension",
      "concept": [
        "G3 stock"
      ],
      "topics": [
        "g3s_tag"
      ]
    },
    {
      "page": "stock_time",
      "title": "Gadget3 stock time dimensions",
      "concept": [
        "G3 stock"
      ],
      "topics": [
        "g3s_time",
        "g3s_time_convert"
      ]
    },
    {
      "page": "suitability",
      "title": "Gadget3 suitability formulae",
      "concept": [
        "G3 utilities"
      ],
      "topics": [
        "g3_suitability_*",
        "g3_suitability_andersen",
        "g3_suitability_andersenfleet",
        "g3_suitability_constant",
        "g3_suitability_exponential",
        "g3_suitability_exponentiall50",
        "g3_suitability_gamma",
        "g3_suitability_richards",
        "g3_suitability_straightline"
      ]
    },
    {
      "page": "timedata",
      "title": "Gadget3 time-based data",
      "concept": [
        "G3 utilities"
      ],
      "topics": [
        "g3_timeareadata"
      ]
    },
    {
      "page": "timevariable",
      "title": "Gadget3 time-based formulas",
      "concept": [
        "G3 utilities"
      ],
      "topics": [
        "g3_timevariable"
      ]
    }
  ],
  "_readme": "https://github.com/gadget-framework/gadget3/raw/HEAD/README.md",
  "_rundeps": [
    "digest",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "TMB"
  ],
  "_vignettes": [
    {
      "source": "incorporating-observation-data.Rmd",
      "filename": "incorporating-observation-data.html",
      "title": "Incorporating observation data into models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "length column: Length distribution data",
        "age column: Age-Length distribution data",
        "area column",
        "stock column: Maturity stage distribution",
        "fleet column",
        "predator column"
      ],
      "created": "2024-01-26 15:12:54",
      "modified": "2025-04-14 17:32:44",
      "commits": 3
    },
    {
      "source": "introduction-single-stock.Rmd",
      "filename": "introduction-single-stock.html",
      "title": "Introduction to gadget3: A single stock model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Creating a (single species) model",
        "Actions",
        "Create time definitions",
        "Stocks",
        "Create stock definition for fish",
        "Stock actions",
        "Fleet actions",
        "Landings data",
        "Landings data: For each year/step/area",
        "Length distribution data",
        "Aggregate .raw data",
        "Group into length bins",
        "Report count in each length bin",
        "Save into ldist_f_surv",
        "Age-length distribution data",
        "Fleet definition",
        "Survey indices",
        "Generate random data",
        "fish.init.scalar & fish.rec.scalar: Overall scalar for recruitment/initial conditions, see g3a_renewal_normalcv()",
        "fish.rec.(age): Per-age recriutment scalar, see g3a_renewal_normalcv()",
        "fish.rec.(year): Recruitment level year-on-year, see g3a_renewal_normalcv()",
        "init.F: Offset for initial M, see g3a_renewal_initabund()",
        "fish.M.(age): per-age M for our species, see g3a_naturalmortality()",
        "fish.Linf, fish.K, fish.t0: VonB parameters for our species, see g3a_renewal_vonb_t0(), g3a_grow_lengthvbsimple()",
        "fish.walpha, fish.wbeta: Age/weight relationship for initialconditions, renewal, see g3a_renewal_normalcv()",
        "fish.f_surv.alpha, fish.f_surv.l50: Curve/l50 for fishing suitability, see g3_suitability_exponentiall50()",
        "fish.bbin: Beta for beta-binomial distribution for fish growth, see g3a_grow_impl_bbinom()",
        "identity() is a do-nothing function, but it lets us finish on a new line",
        "Appendix: Full model script"
      ],
      "created": "2024-01-26 15:12:54",
      "modified": "2025-09-18 18:10:53",
      "commits": 14
    },
    {
      "source": "model-customisation.Rmd",
      "filename": "model-customisation.html",
      "title": "Model customisation",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-01-26 15:12:54",
      "modified": "2024-01-26 15:12:54",
      "commits": 1
    },
    {
      "source": "model-debugging.Rmd",
      "filename": "model-debugging.html",
      "title": "Debugging a gadget3 model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Viewing & editing model code",
        "NaN in likelihood / reports",
        "\"Error in optim(...): initial value in 'vmmin' is not finite\"",
        "Increasing objective function verbosity",
        "TMB model crashes your R session",
        "Interactive debugging of TMB models",
        "Random effects",
        "Tracing inner model",
        "Logging messages",
        "Missing value for m",
        "Missing value par - parold",
        "Separate netwton optimisation"
      ],
      "created": "2021-02-18 17:49:31",
      "modified": "2025-08-28 15:25:13",
      "commits": 7
    },
    {
      "source": "model-structure.Rmd",
      "filename": "model-structure.html",
      "title": "Structure of a gadget3 model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "R formula, or the tilde operator",
        "Actions",
        "Stocks",
        "Model parameterization",
        "Combining actions",
        "Ordering of actions"
      ],
      "created": "2024-01-26 15:12:54",
      "modified": "2025-04-14 17:32:44",
      "commits": 2
    },
    {
      "source": "multiple-substocks.Rmd",
      "filename": "multiple-substocks.html",
      "title": "Modelling maturity & sex with multiple stocks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Stocks",
        "Fleet actions",
        "Landings data: For each year/step/area",
        "Length distribution data: Generate 1000 random samples in each year/step/area",
        "Generate random lengths for these samples",
        "Save unagggregated data into ldist_f_surv.raw",
        "Aggregate .raw data",
        "Group into length bins",
        "Report count in each length bin",
        "Save into ldist_f_surv",
        "Assume 100 * 100 samples in each year/step/area",
        "Generate random whole numbers for age",
        "Group into length/age bins",
        "Map maturity stage data to stocks",
        "Generate random maturity stage data from age data, our stock matures between 3..5",
        "Map maturity stage to the stock name: Note we don't have to use the full stock name",
        "Remove redundant columns",
        "Survey indices",
        "Generate random data",
        "Treat maturity alpha/l50 separately",
        "Appendix: Full model script"
      ],
      "created": "2024-01-26 15:12:54",
      "modified": "2025-05-30 16:12:06",
      "commits": 7
    },
    {
      "source": "writing_actions.Rmd",
      "filename": "writing_actions.html",
      "title": "Writing G3 Actions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "G3 Functions",
        "G3 global environment",
        "Global & native functions",
        "Under R",
        "Under TMB: g3_native",
        "Stock steps",
        "Writing R code destined for C++",
        "Sub-formulas and g3_global_formula",
        "Ancillary steps"
      ],
      "created": "2020-10-08 17:24:10",
      "modified": "2025-04-14 17:32:44",
      "commits": 16
    }
  ],
  "_score": 8.40031344514033,
  "_indexed": true,
  "_nocasepkg": "gadget3",
  "_universes": [
    "gadget-framework",
    "lentinj"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.15-1-999",
      "date": "2026-05-23T09:19:15.000Z",
      "distro": "noble",
      "commit": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
      "fileid": "0bc673b7e5ee987b7ce72f24433d6253174065d258fd24844fd5aa1809dd0ad7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.15-1-999",
      "date": "2026-05-23T09:19:07.000Z",
      "distro": "noble",
      "commit": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
      "fileid": "0dc4de78fc95ae92e8991391f9dc89a42af4715b48955869c0e52c88d5e8ed04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.15-1-999",
      "date": "2026-05-23T09:20:53.000Z",
      "commit": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
      "fileid": "3e3217653ebf62c7a248276799d6b7797d36ef1f0d351a8434a9904279b61ce9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.15-1-999",
      "date": "2026-05-23T09:20:10.000Z",
      "commit": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
      "fileid": "ecdc57c85886a3371a5a8c3a984b61c408030ffdff25495701c27c697d30479f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.15-1-999",
      "date": "2026-05-23T09:19:05.000Z",
      "commit": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
      "fileid": "21d1d2dbdb8ce30fe55f1a07a26986c19acee0c1444271e58335d321bcbb62e9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.15-1-999",
      "date": "2026-05-23T09:18:19.000Z",
      "commit": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
      "fileid": "a863049fbaeb2fe4de740bfa36d6aee4b350b8dfc3ac6cf60c4b21c65e4b6144",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.15-1-999",
      "date": "2026-05-23T09:18:28.000Z",
      "commit": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
      "fileid": "98f9df58f3a96fd2051d1096be7a3531056f118b16b0519c8cd4aac0ca8ddafb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.15-1-999",
      "date": "2026-05-23T09:18:24.000Z",
      "commit": "5843b2f341574a1a2d48b7ad7e9216e1e697b428",
      "fileid": "41204216878006d5f6258e59e4578c21d29983f32a3a58aeef66016f2671fb88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gadget-framework/actions/runs/26328984077"
    }
  ]
}