{
  "_id": "6a19c46facfb0bcc41dfedef",
  "Package": "resevol",
  "Type": "Package",
  "Title": "Simulate Agricultural Production and Evolution of Pesticide\nResistance",
  "Version": "0.4.0.4",
  "Authors@R": "c(person(\"A. Bradley\", \"Duthie\", email = \"brad.duthie@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-8343-4995\")),\nperson(\"Rose\", \"McKeon\", role = c(\"aut\", \"ctr\")),\nperson(\"Rosie\", \"Mangan\", role = c(\"ctr\")),\nperson(\"Luc\", \"Bussi&eacute;re\", role = c(\"ctr\")),\nperson(\"Matthew\", \"Tinsley\", role = c(\"ctr\"))\n)",
  "Maintainer": "A. Bradley Duthie <brad.duthie@gmail.com>",
  "Description": "Simulates individual-based models of agricultural pest\nmanagement and the evolution of pesticide resistance.\nManagement occurs on a spatially explicit landscape that is\ndivided into an arbitrary number of farms that can grow one of\nup to 10 crops and apply one of up to 10 pesticides. Pest\ngenomes are modelled in a way that allows for any number of\npest traits with an arbitrary covariance structure that is\nconstructed using an evolutionary algorithm in the\nmine_gmatrix() function. Simulations are then run using the\nrun_farm_sim() function. This package thereby allows for highly\nmechanistic social-ecological models of the evolution of\npesticide resistance under different types of crop rotation and\npesticide application regimes.",
  "URL": "https://bradduthie.github.io/resevol/",
  "BugReports": "https://github.com/bradduthie/resevol/issues",
  "License": "GPL (>=2)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Repository": "https://bradduthie.r-universe.dev",
  "Date/Publication": "2026-05-29 16:17:30 UTC",
  "RemoteUrl": "https://github.com/bradduthie/resevol",
  "RemoteRef": "HEAD",
  "RemoteSha": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 16:49:23 UTC",
    "User": "root"
  },
  "Author": "A. Bradley Duthie [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8343-4995>),\nRose McKeon [aut, ctr],\nRosie Mangan [ctr],\nLuc Bussi&eacute;re [ctr],\nMatthew Tinsley [ctr]",
  "MD5sum": "4791a7cec0f4db709e21e4e987ab6b5a",
  "_user": "bradduthie",
  "_type": "src",
  "_file": "resevol_0.4.0.4.tar.gz",
  "_fileid": "6f53322563411dab2b1d683c7f23065d50e057d132df5733f30a7051915b1b90",
  "_filesize": 2166641,
  "_sha256": "6f53322563411dab2b1d683c7f23065d50e057d132df5733f30a7051915b1b90",
  "_created": "2026-05-29T16:49:23.000Z",
  "_published": "2026-05-29T16:53:03.909Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78546375208,
      "time": 131,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7296202415"
    },
    {
      "job": 78546375198,
      "time": 100,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7296192801"
    },
    {
      "job": 78546375215,
      "time": 110,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7296196134"
    },
    {
      "job": 78546375205,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7296197999"
    },
    {
      "job": 78546375373,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7296196714"
    },
    {
      "job": 78546375229,
      "time": 186,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7296221567"
    },
    {
      "job": 78546375438,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7296196139"
    },
    {
      "job": 78546375248,
      "time": 183,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7296220063"
    },
    {
      "job": 78545890301,
      "time": 176,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7296158612"
    },
    {
      "job": 78546375200,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7296191499"
    },
    {
      "job": 78546375214,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7296191118"
    },
    {
      "job": 78546375193,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7296192241"
    },
    {
      "job": 78546375223,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7296188562"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bradduthie/resevol",
  "_commit": {
    "id": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
    "author": "bradduthie <brad.duthie@gmail.com>",
    "committer": "bradduthie <brad.duthie@gmail.com>",
    "message": "Fix landscape\n",
    "time": 1780071450
  },
  "_maintainer": {
    "name": "A. Bradley Duthie",
    "email": "brad.duthie@gmail.com",
    "login": "bradduthie",
    "mastodon": "@bradduthie@ecoevo.social",
    "orcid": "0000-0001-8343-4995",
    "description": "I am an evolutionary ecologist, ecological modeller, and biostatistician. ",
    "uuid": 5550985
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bradduthie",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0.5",
      "date": "2026-05-29"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "bradduthie",
      "count": 366,
      "uuid": 5550985
    },
    {
      "user": "rosemckeon",
      "count": 36,
      "uuid": 4824372
    }
  ],
  "_userbio": {
    "uuid": 5550985,
    "type": "user",
    "name": "Brad Duthie",
    "description": "I am an evolutionary ecologist, ecological modeller, and biostatistician. "
  },
  "_downloads": {
    "count": 170,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/resevol"
  },
  "_devurl": "https://github.com/bradduthie/resevol",
  "_pkgdown": "https://bradduthie.github.io/resevol/",
  "_searchresults": 1,
  "_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/resevol.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bradduthie/resevol",
  "_realowner": "bradduthie",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0.2",
      "date": "2021-09-22"
    },
    {
      "version": "0.2.0.8",
      "date": "2021-10-06"
    },
    {
      "version": "0.2.0.9",
      "date": "2022-01-06"
    },
    {
      "version": "0.3.0.1",
      "date": "2022-07-13"
    },
    {
      "version": "0.3.4.0",
      "date": "2023-11-30"
    },
    {
      "version": "0.4.0.2",
      "date": "2025-05-01"
    },
    {
      "version": "0.4.0.4",
      "date": "2026-05-28"
    }
  ],
  "_exports": [
    "individuals_colnames",
    "initialise_inds",
    "make_landscape",
    "mine_gmatrix",
    "run_farm_sim",
    "stress_test"
  ],
  "_help": [
    {
      "page": "mine_gmatrix",
      "title": "Mine G-matrices",
      "topics": [
        "mine_gmatrix"
      ]
    },
    {
      "page": "run_farm_sim",
      "title": "Initialise individuals and simulate farming",
      "topics": [
        "run_farm_sim"
      ]
    },
    {
      "page": "stress_test",
      "title": "Mine_gmatrix output stress",
      "topics": [
        "stress_test"
      ]
    }
  ],
  "_readme": "https://github.com/bradduthie/resevol/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "advanced_techniques.Rmd",
      "filename": "advanced_techniques.html",
      "title": "Advanced techniques",
      "author": "A Bradley Duthie",
      "engine": "knitr::rmarkdown",
      "headings": [
        "<a name = \"introduction\">Introduction</a>",
        "<a name = \"mining\">Initialising pest genomes</a>",
        "<a name = \"simulation\">Running simulations</a>",
        "<a name = \"sim1\">Simulation 1</a>",
        "<a name = \"rotation1\">Custom pesticide and crop rotation</a>",
        "<a name = \"run_farm_sim1\">Running simulation 1</a>",
        "<a name = \"output_sim1\">Simulation 1 output</a>",
        "<a name = \"sim2\">Simulation 2</a>",
        "<a name = \"conclusion\">Conclusion</a>",
        "<a name = \"lit\">Literature Cited</a>"
      ],
      "created": "2022-08-01 14:52:15",
      "modified": "2025-05-01 18:12:39",
      "commits": 7
    },
    {
      "source": "pesticide_thresholds.Rmd",
      "filename": "pesticide_thresholds.html",
      "title": "Pesticide thresholds",
      "author": "A Bradley Duthie",
      "engine": "knitr::rmarkdown",
      "headings": [
        "<a name = \"introduction\">Introduction</a>",
        "<a name = \"use\">Using thresholds</a>",
        "<a name = \"conclusion\">Conclusion</a>"
      ],
      "created": "2025-05-01 18:12:39",
      "modified": "2025-05-01 18:39:34",
      "commits": 2
    },
    {
      "source": "resevol.Rmd",
      "filename": "resevol.html",
      "title": "resevol: an R package for spatially explicit models of pesticide resistance given evolving pest genomes",
      "author": "| A. Bradley Duthie$^{1,4}$, Rosie Mangan$^{1}$, C. Rose McKeon$^{1}$, | Matthew C. Tinsley$^{1}$, and Luc F. Bussière$^{2,3}$",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Introduction",
        "Covarying pest quantitative traits",
        "Simulating landscape-level pesticide resistance",
        "Landscape",
        "Pest ecology",
        "Pest evolution",
        "Simulation output",
        "Example of individual-based simulations",
        "Conclusions",
        "Acknowledgements",
        "Authors contributions",
        "Availability",
        "References"
      ],
      "created": "2021-09-09 22:33:03",
      "modified": "2025-05-01 18:12:39",
      "commits": 11
    },
    {
      "source": "evolutionary_algorithm.Rmd",
      "filename": "evolutionary_algorithm.html",
      "title": "The evolutionary algorithm",
      "author": "A Bradley Duthie",
      "engine": "knitr::rmarkdown",
      "headings": [
        "<a name = \"introduction\">Introduction</a>",
        "<a name = \"structures\">Key data structures used</a>",
        "<a name = \"overview\">General overview of the evolutionary algorithm</a>",
        "<a name = \"initialisation\">Initialisation</a>",
        "<a name = \"crossover\">Crossover</a>",
        "<a name = \"mutation\">Mutation</a>",
        "<a name = \"fitness\">Fitness evaluation</a>",
        "<a name = \"tournament\">Tournament selection</a>",
        "<a name = \"termination\">Termination</a>",
        "<a name = \"ploidy\">Haploid and diploid individuals</a>",
        "<a name = \"lit\">Literature Cited</a>"
      ],
      "created": "2021-09-09 22:44:25",
      "modified": "2025-05-01 18:12:39",
      "commits": 8
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "resevol",
  "_universes": [
    "bradduthie"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:51:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "88f577363bfd94abb3f26afcb2db27e54bdb41325e32255b72d5d0eac294d560",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:51:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "a648a3cf88f8a0a302867f4fcaa899a9f7b9f76235f8d1e8e645932d0b214ed2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:51:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "c889fdba74249736c2719e082d995c0d54c279c19e7608d46c1b13cc0de4952e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:51:23.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "286af48cab2d9d9b74f36f114cf1dfad441dfd16cddae54e6286981200acd099",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:51:19.000Z",
      "arch": "aarch64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "43a1a35a4a726da4e8ebdead7d7ecf161572869dd6940caf2057dd6068ffb977",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:52:18.000Z",
      "arch": "x86_64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "5be000797e340f7d9b5c8f9dfb1013d0471d0a89b19109497677eb5dc13ad6d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:51:15.000Z",
      "arch": "aarch64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "48952f5418ada2ada6e226260a160a24abdc8373dfc2a48b2491be2ffb787184",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:52:18.000Z",
      "arch": "x86_64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "981099a6c6a02d44c70b46c53303849c05958c7fb59c4c645a231d371e3d03db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:51:16.000Z",
      "arch": "emscripten",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "52c4c0edcdc4e71f9e3441d4abfed5393126c0cb30a2f4897469f20ada42cd8d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:50:44.000Z",
      "arch": "x86_64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "75ce8ef0639e5606212059b6758e2e3b9598e921651e80d19018c9a3213b62dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:50:45.000Z",
      "arch": "x86_64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "62aa9be9d35b6dffe40438d1e7ece9414f926b12af374c317051e10edc017e4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0.4",
      "date": "2026-05-29T16:50:37.000Z",
      "arch": "x86_64",
      "commit": "1f3414cace6f17ff0c9a8b354f15a5304deec3d5",
      "fileid": "a7e9d3f4f39ae9f6abdecda416afdc869b876b20dccfe27d006b06da6c179ac5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradduthie/actions/runs/26650065610"
    }
  ]
}