{
  "_id": "6a102776acfb0bcc41c9021b",
  "Package": "SimSurvey",
  "Type": "Package",
  "Title": "Test Surveys by Simulating Spatially-Correlated Populations",
  "Version": "0.1.8",
  "Authors@R": "c(\nperson(\"Paul\", \"Regular\", email = \"Paul.Regular@dfo-mpo.gc.ca\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-0318-2615\")),\nperson(\"Jonathan\", \"Babyn\", email = \"Jonathan.Babyn@dfo-mpo.gc.ca\",\nrole = \"ctb\"),\nperson(\"Greg\", \"Robertson\", email = \"Greg.Robertson@dfo-mpo.gc.ca\",\nrole = \"ctb\"))",
  "Maintainer": "Paul Regular <Paul.Regular@dfo-mpo.gc.ca>",
  "Description": "Simulate age-structured populations that vary in space and\ntime and explore the efficacy of a range of built-in or\nuser-defined sampling protocols to reproduce the population\nparameters of the known population. (See Regular et al. (2020)\n<doi:10.1371/journal.pone.0232822> for more details).",
  "License": "GPL-3",
  "Additional_repositories": "https://inla.r-inla-download.org/R/stable/",
  "LazyData": "true",
  "ByteCompile": "true",
  "URL": "https://paulregular.github.io/SimSurvey/",
  "BugReports": "https://github.com/PaulRegular/SimSurvey/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libuv1-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev",
  "Repository": "https://paulregular.r-universe.dev",
  "Date/Publication": "2025-09-15 22:37:02 UTC",
  "RemoteUrl": "https://github.com/paulregular/simsurvey",
  "RemoteRef": "HEAD",
  "RemoteSha": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 08:38:41 UTC",
    "User": "root"
  },
  "Author": "Paul Regular [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0318-2615>),\nJonathan Babyn [ctb],\nGreg Robertson [ctb]",
  "MD5sum": "36f25bdc2515a2ed91425fc8f36e6f9e",
  "_user": "paulregular",
  "_type": "src",
  "_file": "SimSurvey_0.1.8.tar.gz",
  "_fileid": "b2610841fbb869411c22594b3359090f87b1089a2d76c8a693b0fd0a3e168239",
  "_filesize": 3281750,
  "_sha256": "b2610841fbb869411c22594b3359090f87b1089a2d76c8a693b0fd0a3e168239",
  "_created": "2026-05-13T08:38:41.000Z",
  "_published": "2026-05-22T09:52:54.192Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77356308009,
      "time": 236,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965454699"
    },
    {
      "job": 77356307906,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965446821"
    },
    {
      "job": 77356307990,
      "time": 205,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965430428"
    },
    {
      "job": 77356308025,
      "time": 211,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965436557"
    },
    {
      "job": 77356307379,
      "time": 248,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965374485"
    },
    {
      "job": 77356307351,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157708972"
    },
    {
      "job": 77356307917,
      "time": 152,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965427921"
    },
    {
      "job": 77356308043,
      "time": 124,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965418525"
    },
    {
      "job": 77356307989,
      "time": 134,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965422528"
    }
  ],
  "_buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/paulregular/simsurvey",
  "_commit": {
    "id": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
    "author": "Paul Regular <Paul.Regular@dfo-mpo.gc.ca>",
    "committer": "Paul Regular <Paul.Regular@dfo-mpo.gc.ca>",
    "message": "Update version number [skip-ci]\n",
    "time": 1757975822
  },
  "_maintainer": {
    "name": "Paul Regular",
    "email": "paul.regular@dfo-mpo.gc.ca",
    "login": "paulregular",
    "orcid": "0000-0003-0318-2615",
    "uuid": 8943032
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "stars",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "fields",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "flexdashboard",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "crosstalk",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "INLA",
      "role": "Suggests"
    },
    {
      "package": "INLAspacetime",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "bezier",
      "role": "Suggests"
    }
  ],
  "_owner": "paulregular",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 8
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "0.1.7",
      "date": "2025-08-22"
    },
    {
      "name": "0.1.8",
      "date": "2025-09-15"
    }
  ],
  "_topics": [
    "analysis",
    "fisheries-research",
    "simulation-testing",
    "survey-design"
  ],
  "_stars": 13,
  "_contributors": [
    {
      "user": "paulregular",
      "count": 455,
      "uuid": 8943032
    },
    {
      "user": "micfit",
      "count": 66,
      "uuid": 70149851
    },
    {
      "user": "jgbabyn",
      "count": 6,
      "uuid": 30124684
    },
    {
      "user": "fatemehatefi",
      "count": 5,
      "uuid": 48104055
    }
  ],
  "_userbio": {
    "uuid": 8943032,
    "type": "user",
    "name": "Paul Regular",
    "description": "Research Scientist"
  },
  "_downloads": {
    "count": 606,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SimSurvey"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/paulregular/simsurvey",
  "_pkgdown": "https://paulregular.github.io/SimSurvey/",
  "_searchresults": 139,
  "_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/SimSurvey.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/paulregular/simsurvey",
  "_realowner": "paulregular",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2020-09-09"
    },
    {
      "version": "0.1.3",
      "date": "2021-01-13"
    },
    {
      "version": "0.1.4",
      "date": "2022-01-26"
    },
    {
      "version": "0.1.5",
      "date": "2022-04-06"
    },
    {
      "version": "0.1.6",
      "date": "2023-09-19"
    },
    {
      "version": "0.1.7",
      "date": "2025-08-22"
    },
    {
      "version": "0.1.8",
      "date": "2025-09-15"
    }
  ],
  "_exports": [
    "convert_N",
    "error_stats",
    "expand_surveys",
    "fibonacci",
    "group_lengths",
    "icc",
    "make_grid",
    "make_mesh",
    "object_size",
    "plot_age_strat_fan",
    "plot_distribution",
    "plot_error_surface",
    "plot_grid",
    "plot_length_strat_fan",
    "plot_surface",
    "plot_survey",
    "plot_survey_rank",
    "plot_total_strat_fan",
    "plot_trend",
    "resume_test",
    "round_sim",
    "run_strat",
    "sim_abundance",
    "sim_ays_covar",
    "sim_ays_covar_spde",
    "sim_distribution",
    "sim_logistic",
    "sim_N0",
    "sim_nlf",
    "sim_parabola",
    "sim_R",
    "sim_sets",
    "sim_survey",
    "sim_survey_parallel",
    "sim_vonB",
    "sim_Z",
    "strat_data",
    "strat_error",
    "strat_means",
    "test_surveys",
    "vis_sim"
  ],
  "_datasets": [
    {
      "name": "bathy",
      "title": "Southern Newfoundland bathymetry",
      "object": "bathy",
      "class": [
        "stars"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    },
    {
      "name": "land",
      "title": "Southern Newfoundland coastline",
      "object": "land",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "geometry"
      ],
      "rows": 3,
      "table": false,
      "tojson": true
    },
    {
      "name": "survey_grid",
      "title": "Sample survey simulation grid",
      "object": "survey_grid",
      "class": [
        "stars"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    },
    {
      "name": "survey_lite_mesh",
      "title": "Lite sample survey mesh and related items",
      "object": "survey_mesh",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "survey_mesh",
      "title": "Sample survey meshes and related items",
      "object": "survey_mesh",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "bathy",
      "title": "Southern Newfoundland bathymetry",
      "topics": [
        "bathy"
      ]
    },
    {
      "page": "convert_N",
      "title": "Convert abundance-at-age matrix to abundance-at-length",
      "topics": [
        "convert_N"
      ]
    },
    {
      "page": "error_stats",
      "title": "Calculate common error statistics",
      "topics": [
        "error_stats"
      ]
    },
    {
      "page": "expand_surveys",
      "title": "Set up a series of surveys from all combinations of settings supplied",
      "topics": [
        "expand_surveys"
      ]
    },
    {
      "page": "fibonacci",
      "title": "Generate Fibonacci sequence",
      "topics": [
        "fibonacci"
      ]
    },
    {
      "page": "group_lengths",
      "title": "Convert length to length group",
      "topics": [
        "group_lengths"
      ]
    },
    {
      "page": "icc",
      "title": "Calculate intraclass correlation",
      "topics": [
        "icc"
      ]
    },
    {
      "page": "land",
      "title": "Southern Newfoundland coastline",
      "topics": [
        "land"
      ]
    },
    {
      "page": "make_grid",
      "title": "Make a depth-stratified survey grid",
      "topics": [
        "make_grid"
      ]
    },
    {
      "page": "make_mesh",
      "title": "Make an R-INLA mesh based on a grid",
      "topics": [
        "make_mesh"
      ]
    },
    {
      "page": "object_size",
      "title": "Print object size",
      "topics": [
        "object_size"
      ]
    },
    {
      "page": "plot_trend",
      "title": "Simple plotting functions",
      "topics": [
        "plot_age_strat_fan",
        "plot_distribution",
        "plot_error_surface",
        "plot_grid",
        "plot_length_strat_fan",
        "plot_surface",
        "plot_survey",
        "plot_survey_rank",
        "plot_total_strat_fan",
        "plot_trend"
      ]
    },
    {
      "page": "round_sim",
      "title": "Round simulated population",
      "topics": [
        "round_sim"
      ]
    },
    {
      "page": "run_strat",
      "title": "Run stratified analysis on simulated data",
      "topics": [
        "run_strat"
      ]
    },
    {
      "page": "sim_abundance",
      "title": "Simulate basic population dynamics model",
      "topics": [
        "sim_abundance"
      ]
    },
    {
      "page": "sim_ays_covar",
      "title": "Simulate age-year-space covariance",
      "topics": [
        "sim_ays_covar"
      ]
    },
    {
      "page": "sim_ays_covar_spde",
      "title": "Simulate age-year-space covariance using SPDE approach",
      "topics": [
        "sim_ays_covar_spde"
      ]
    },
    {
      "page": "sim_distribution",
      "title": "Simulate spatial and temporal distribution",
      "topics": [
        "sim_distribution"
      ]
    },
    {
      "page": "sim_logistic",
      "title": "Closure for simulating logistic curve",
      "topics": [
        "sim_logistic"
      ]
    },
    {
      "page": "sim_nlf",
      "title": "Define a non-linear relationship",
      "topics": [
        "sim_nlf"
      ]
    },
    {
      "page": "sim_parabola",
      "title": "Define a parabolic relationship",
      "topics": [
        "sim_parabola"
      ]
    },
    {
      "page": "sim_R",
      "title": "Simulate starting abundance, random recruitment, and total mortality",
      "topics": [
        "sim_N0",
        "sim_R",
        "sim_Z"
      ]
    },
    {
      "page": "sim_sets",
      "title": "Simulate survey sets",
      "topics": [
        "sim_sets"
      ]
    },
    {
      "page": "sim_survey",
      "title": "Simulate stratified-random survey",
      "topics": [
        "sim_survey"
      ]
    },
    {
      "page": "sim_survey_parallel",
      "title": "Simulate stratified random surveys using parallel computation",
      "topics": [
        "sim_survey_parallel"
      ]
    },
    {
      "page": "sim_vonB",
      "title": "Closure for simulating length given age using von Bertalanffy notation",
      "topics": [
        "sim_vonB"
      ]
    },
    {
      "page": "strat_data",
      "title": "Prepare simulated data for stratified analysis",
      "topics": [
        "strat_data"
      ]
    },
    {
      "page": "strat_error",
      "title": "Calculate error of stratified estimates",
      "topics": [
        "strat_error"
      ]
    },
    {
      "page": "strat_means",
      "title": "Calculate stratified means, variances, and confidence intervals across groups",
      "topics": [
        "strat_means"
      ]
    },
    {
      "page": "survey_grid",
      "title": "Sample survey simulation grid",
      "topics": [
        "survey_grid"
      ]
    },
    {
      "page": "survey_lite_mesh",
      "title": "Lite sample survey mesh and related items",
      "topics": [
        "survey_lite_mesh"
      ]
    },
    {
      "page": "survey_mesh",
      "title": "Sample survey meshes and related items",
      "topics": [
        "survey_mesh"
      ]
    },
    {
      "page": "test_surveys",
      "title": "Test sampling design of multiple surveys using a stratified analysis",
      "topics": [
        "resume_test",
        "test_surveys"
      ]
    },
    {
      "page": "vis_sim",
      "title": "Make a flexdashboard for visualizing the simulation",
      "topics": [
        "vis_sim"
      ]
    }
  ],
  "_pkglogo": "https://github.com/paulregular/simsurvey/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/paulregular/simsurvey/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "crayon",
    "crosstalk",
    "curl",
    "data.table",
    "DBI",
    "digest",
    "doParallel",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "prettyunits",
    "progress",
    "promises",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "s2",
    "S7",
    "sass",
    "scales",
    "sf",
    "stars",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "custom_closures.Rmd",
      "filename": "custom_closures.html",
      "title": "Custom closures",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Built-in closures",
        "Custom closures",
        "References"
      ],
      "created": "2020-04-09 17:37:34",
      "modified": "2020-07-30 16:49:26",
      "commits": 3
    }
  ],
  "_score": 6.910170666336276,
  "_indexed": true,
  "_nocasepkg": "simsurvey",
  "_universes": [
    "paulregular"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-13T08:42:00.000Z",
      "distro": "noble",
      "commit": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
      "fileid": "a8b2063904ccae755afd491cb47f6c60692e92617afa69e2f1d27846eafc24f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-05-13T08:41:38.000Z",
      "distro": "noble",
      "commit": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
      "fileid": "c74cad6e097f0765860a903ca803b0dddb349c534e6d91786bbe07f7b5dc59a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-13T08:41:04.000Z",
      "commit": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
      "fileid": "9da3beea5bb37be8a3fc5cc649c3a86f254233dab4fed6e39c07f7eb35e44d90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-05-13T08:41:13.000Z",
      "commit": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
      "fileid": "a0919e52c364b5a936641a195048c28491236e5416aaa42b34bf72fce7043e4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-13T08:40:26.000Z",
      "commit": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
      "fileid": "f31ad00b9394ce1c9de2c81dc3e567c1d41295b1e34c2872029a6c8b5384d1dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-13T08:40:09.000Z",
      "commit": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
      "fileid": "b9c1867d548f568471a8936eee39a7a1f62af3768992e710c62dffc858bfd20c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-05-13T08:40:14.000Z",
      "commit": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
      "fileid": "468e9241bfa5e0e4ddd5f6d27bce3a1f0b108265270176d470b769ca4ab58c33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.8",
      "date": "2026-05-22T09:52:34.000Z",
      "commit": "fa96bf5ebd5d496d254d5ec10fabcfab7a50a676",
      "fileid": "5286b5d796f4ef0b9ed1181e21b96a7b8a5c76251558044ad9d44d122474fb7b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/paulregular/actions/runs/25787900211"
    }
  ]
}