{
  "_id": "6a1e881d1d7bb097a0a67e17",
  "Package": "rescomp",
  "Title": "Efficient Modelling of Resource Competition",
  "Version": "1.0.0",
  "Authors@R": "c(person(given = c(\"Christopher\", \"R\", \"P\"),\nfamily = \"Brown\",\nrole = c(\"aut\", \"cre\"),\nemail = \"c.r.brown@uq.edu.au\",\ncomment = c(ORCID = \"0000-0002-0393-3477\")),\nperson(given = \"Jan\",\nfamily = \"Engelstaedter\",\nrole = c(\"aut\"),\nemail = \"j.engelstaedter@uq.edu.au\",\ncomment = c(ORCID = \"0000-0003-3340-918X\")),\nperson(given = \"Andrew\",\nfamily = \"Letten\",\nrole = c(\"aut\"),\nemail = \"a.letten@uq.edu.au\",\ncomment = c(ORCID = \"0000-0001-6436-7942\")))",
  "URL": "https://github.com/pyrrhicpachyderm/rescomp",
  "Description": "Generate, simulate and visualise ODE models of\nconsumer-resource interactions. At its core, 'rescomp' provides\na resource competition modelling focused interface to\n'deSolve', alongside flexible functions for visualising model\nproperties and dynamics. More information, documentation and\nexamples can be found on the package website.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://pyrrhicpachyderm.r-universe.dev",
  "Date/Publication": "2026-03-24 05:41:55 UTC",
  "RemoteUrl": "https://github.com/pyrrhicpachyderm/rescomp",
  "RemoteRef": "HEAD",
  "RemoteSha": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 07:32:12 UTC",
    "User": "root"
  },
  "Author": "Christopher R P Brown [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0393-3477>),\nJan Engelstaedter [aut] (ORCID:\n<https://orcid.org/0000-0003-3340-918X>),\nAndrew Letten [aut] (ORCID: <https://orcid.org/0000-0001-6436-7942>)",
  "Maintainer": "Christopher R P Brown <c.r.brown@uq.edu.au>",
  "MD5sum": "f49a9bd2b7095c7e97b250ba7c52c199",
  "_user": "pyrrhicpachyderm",
  "_type": "src",
  "_file": "rescomp_1.0.0.tar.gz",
  "_fileid": "07db6d9c3dadc679250a8f24a93b0ade2e1036db6b9b11e1cf796c7635b08178",
  "_filesize": 6388362,
  "_sha256": "07db6d9c3dadc679250a8f24a93b0ade2e1036db6b9b11e1cf796c7635b08178",
  "_created": "2026-06-02T07:32:12.000Z",
  "_published": "2026-06-02T07:37:01.889Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79021333199,
      "time": 169,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351628478"
    },
    {
      "job": 79021333216,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351631530"
    },
    {
      "job": 79021333247,
      "time": 254,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7351643183"
    },
    {
      "job": 79021333233,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351614500"
    },
    {
      "job": 79020665009,
      "time": 261,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351576538"
    },
    {
      "job": 79021333403,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351611710"
    },
    {
      "job": 79021333284,
      "time": 125,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351616452"
    },
    {
      "job": 79021333270,
      "time": 130,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7351616658"
    },
    {
      "job": 79021333258,
      "time": 135,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351618600"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pyrrhicpachyderm/rescomp",
  "_commit": {
    "id": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
    "author": "Christopher Brown <pyrrhicpachyderm@gmail.com>",
    "committer": "Christopher Brown <pyrrhicpachyderm@gmail.com>",
    "message": "Quote package names in the package description.\n\nAs required by CRAN.\n",
    "time": 1774330915
  },
  "_maintainer": {
    "name": "Christopher R P Brown",
    "email": "c.r.brown@uq.edu.au",
    "orcid": "0000-0002-0393-3477"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "deSolve",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "pyrrhicpachyderm",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 7
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 33
    },
    {
      "week": "2026-11",
      "n": 3
    },
    {
      "week": "2026-13",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pyrrhicpachyderm",
      "count": 227,
      "uuid": 19480435
    },
    {
      "user": "andrewletten",
      "count": 94,
      "uuid": 3123792
    }
  ],
  "_userbio": {
    "uuid": 19480435,
    "type": "user",
    "name": "Christopher Brown"
  },
  "_downloads": {
    "count": 532,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rescomp"
  },
  "_devurl": "https://github.com/pyrrhicpachyderm/rescomp",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rescomp.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pyrrhicpachyderm/rescomp",
  "_realowner": "pyrrhicpachyderm",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-04-02"
    }
  ],
  "_exports": [
    "apply_event",
    "crmatrix",
    "def_cr_ode",
    "event_batch_transfer",
    "event_res_add",
    "event_res_custom",
    "event_res_mult",
    "event_schedule_fixed",
    "event_schedule_periodic",
    "event_set_introseq",
    "event_sp_add",
    "event_sp_custom",
    "event_sp_mult",
    "frame_and_name",
    "funcresp_custom",
    "funcresp_hill",
    "funcresp_monod",
    "funcresp_type1",
    "funcresp_type2",
    "funcresp_type3",
    "get_coefs",
    "get_coefs_matrix",
    "get_coefs_vector",
    "get_event_times",
    "get_funcresp",
    "get_params",
    "get_ressupply",
    "plot_funcresp",
    "plot_rescomp",
    "rescomp_coefs_lerp",
    "rescomp_coefs_matrix_custom",
    "rescomp_coefs_vector_custom",
    "rescomp_param_custom",
    "rescomp_param_sine",
    "rescomp_param_square",
    "rescomp_param_triangle",
    "ressupply_chemostat",
    "ressupply_constant",
    "ressupply_custom",
    "ressupply_logistic",
    "sim_rescomp",
    "spec_rescomp"
  ],
  "_help": [
    {
      "page": "apply_event",
      "title": "Applies a 'rescomp_event' object to modify state variables",
      "topics": [
        "apply_event"
      ]
    },
    {
      "page": "crmatrix",
      "title": "Shorthand to create a matrix with 'spnum' rows and 'resnum' columns",
      "topics": [
        "crmatrix"
      ]
    },
    {
      "page": "def_cr_ode",
      "title": "Define consumer resource ODE function",
      "topics": [
        "def_cr_ode"
      ]
    },
    {
      "page": "event_batch_transfer",
      "title": "Define an event in which the species and resources are diluted by addition of new medium",
      "topics": [
        "event_batch_transfer"
      ]
    },
    {
      "page": "event_res_add",
      "title": "Define an event in which a constant amount of some resources is added to (or removed from) the system",
      "topics": [
        "event_res_add"
      ]
    },
    {
      "page": "event_res_custom",
      "title": "Define an event which instantaneously changes resource concentrations using an arbitrary function",
      "topics": [
        "event_res_custom"
      ]
    },
    {
      "page": "event_res_mult",
      "title": "Define an event in which the resource populations are multiplied by some factor",
      "topics": [
        "event_res_mult"
      ]
    },
    {
      "page": "event_schedule_fixed",
      "title": "Define a schedule of an event occurring at a fixed set of times",
      "topics": [
        "event_schedule_fixed"
      ]
    },
    {
      "page": "event_schedule_periodic",
      "title": "Define a schedule of an event occurring repeatedly at a fixed period",
      "topics": [
        "event_schedule_periodic"
      ]
    },
    {
      "page": "event_set_introseq",
      "title": "Define a schedule of one-off species introductions: one for each species.",
      "topics": [
        "event_set_introseq"
      ]
    },
    {
      "page": "event_sp_add",
      "title": "Define an event in which a constant amount of some consumers is added to (or removed from) the system",
      "topics": [
        "event_sp_add"
      ]
    },
    {
      "page": "event_sp_custom",
      "title": "Define an event which instantaneously changes species concentrations using an arbitrary function",
      "topics": [
        "event_sp_custom"
      ]
    },
    {
      "page": "event_sp_mult",
      "title": "Define an event in which the consumer populations are multiplied by some factor",
      "topics": [
        "event_sp_mult"
      ]
    },
    {
      "page": "frame_and_name",
      "title": "Convert object of class deSolve to a data frame and name columns",
      "topics": [
        "frame_and_name"
      ]
    },
    {
      "page": "funcresp_custom",
      "title": "Define a functional response using an arbitrary function",
      "topics": [
        "funcresp_custom"
      ]
    },
    {
      "page": "funcresp_hill",
      "title": "Define a Hill functional response",
      "topics": [
        "funcresp_hill"
      ]
    },
    {
      "page": "funcresp_monod",
      "title": "Define a Monod functional response",
      "topics": [
        "funcresp_monod"
      ]
    },
    {
      "page": "funcresp_type1",
      "title": "Define a linear functional response",
      "topics": [
        "funcresp_type1"
      ]
    },
    {
      "page": "funcresp_type2",
      "title": "Define a Holling type 2 functional response",
      "topics": [
        "funcresp_type2"
      ]
    },
    {
      "page": "funcresp_type3",
      "title": "Define a Holling type 3 functional response",
      "topics": [
        "funcresp_type3"
      ]
    },
    {
      "page": "get_coefs",
      "title": "Get coefficients from a vector/matrix or 'rescomp_coefs_vector'/'rescomp_coefs_matrix' object",
      "topics": [
        "get_coefs",
        "get_coefs_matrix",
        "get_coefs_vector"
      ]
    },
    {
      "page": "get_event_times",
      "title": "Gets the list of times from a 'rescomp_event_schedule' object",
      "topics": [
        "get_event_times"
      ]
    },
    {
      "page": "get_funcresp",
      "title": "Get growth rates from a 'rescomp_funcresp' object",
      "topics": [
        "get_funcresp"
      ]
    },
    {
      "page": "get_params",
      "title": "Get params at an instant in time from a 'rescomp_param' object",
      "topics": [
        "get_params"
      ]
    },
    {
      "page": "get_ressupply",
      "title": "Get resource supply rates from a 'rescomp_ressupply' object",
      "topics": [
        "get_ressupply"
      ]
    },
    {
      "page": "plot_funcresp",
      "title": "Plot functional responses",
      "topics": [
        "plot_funcresp"
      ]
    },
    {
      "page": "plot_rescomp",
      "title": "Plot consumer and resource dynamics from deSolve output",
      "topics": [
        "plot_rescomp"
      ]
    },
    {
      "page": "rescomp_coefs_lerp",
      "title": "Create a set of coefficients by linear interpolation",
      "topics": [
        "rescomp_coefs_lerp"
      ]
    },
    {
      "page": "rescomp_coefs_matrix_custom",
      "title": "Create a matrix of coefficients using an arbitrary function",
      "topics": [
        "rescomp_coefs_matrix_custom"
      ]
    },
    {
      "page": "rescomp_coefs_vector_custom",
      "title": "Create a vector of coefficients using an arbitrary function",
      "topics": [
        "rescomp_coefs_vector_custom"
      ]
    },
    {
      "page": "rescomp_param_custom",
      "title": "Create a rescomp parameter using an arbitrary function",
      "topics": [
        "rescomp_param_custom"
      ]
    },
    {
      "page": "rescomp_param_sine",
      "title": "Create a rescomp parameter using a sine/square/triangle wave",
      "topics": [
        "rescomp_param_sine",
        "rescomp_param_square",
        "rescomp_param_triangle"
      ]
    },
    {
      "page": "ressupply_chemostat",
      "title": "Create a resource supply rate using chemostat dynamics",
      "topics": [
        "ressupply_chemostat"
      ]
    },
    {
      "page": "ressupply_constant",
      "title": "Create a resource supply rate using a constant rate resource supply",
      "topics": [
        "ressupply_constant"
      ]
    },
    {
      "page": "ressupply_custom",
      "title": "Create a resource supply rate using an arbitrary function",
      "topics": [
        "ressupply_custom"
      ]
    },
    {
      "page": "ressupply_logistic",
      "title": "Create a resource supply rate using logistic resource growth",
      "topics": [
        "ressupply_logistic"
      ]
    },
    {
      "page": "sim_rescomp",
      "title": "Simulate resource competition (a convenience wrapper for 'deSolve::ode()')",
      "topics": [
        "sim_rescomp"
      ]
    },
    {
      "page": "spec_rescomp",
      "title": "Generate list of parameters for a consumer-resource model to be passed to 'sim_rescomp()'",
      "topics": [
        "spec_rescomp"
      ]
    }
  ],
  "_readme": "https://github.com/pyrrhicpachyderm/rescomp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "deSolve",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "classic-results.Rmd",
      "filename": "classic-results.html",
      "title": "Reproducing studies in resource competition with rescomp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Huisman and Weissing (1999)",
        "Grover (1990)",
        "Armstrong and McGehee (1980)"
      ],
      "created": "2021-08-26 04:52:20",
      "modified": "2026-03-04 02:35:31",
      "commits": 26
    },
    {
      "source": "rescomp.Rmd",
      "filename": "rescomp.html",
      "title": "rescomp: An R package for efficient ODE modelling of resource competition",
      "author": "Christopher R. P. Brown, Jan Engelstaedter, and Andrew D. Letten",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Model formulation",
        "Consumer equations",
        "Resource equations",
        "Using rescomp",
        "Type 2 consumer on a logistically growing resource",
        "Type 2 consumer on a continuously supplied resource",
        "Two type 2 consumers on a logistically growing resource",
        "Two type 1 consumers and two substitutable resources in a chemostat",
        "Two type 1 consumers and two essential resources in a chemostat",
        "Two type 2 consumers and one externally pulsed resource (continuous mortality)",
        "Two type 2 consumers and one externally pulsed resource (serial transfer with pulsed mortality)",
        "Two type 2 consumers with time dependent consumption parameters and one continuously supplied resource",
        "Three type 1 consumers on three essential resources generating an intransitive loop (i.e. rock paper scissors dynamics)."
      ],
      "created": "2021-08-26 05:40:15",
      "modified": "2026-03-03 05:12:08",
      "commits": 30
    }
  ],
  "_score": 5,
  "_indexed": true,
  "_nocasepkg": "rescomp",
  "_universes": [
    "pyrrhicpachyderm"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-02T07:34:34.000Z",
      "distro": "noble",
      "commit": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
      "fileid": "2266a639fa3d816b0e01f24f3cbf558cb25d3fcfa12959fd74c0ac8108e72130",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-02T07:34:31.000Z",
      "distro": "noble",
      "commit": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
      "fileid": "0fac110cddfe342c60f71ddc9c73e0658ceaaa9f439d83194a70ab8ed3a0f404",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-02T07:35:08.000Z",
      "commit": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
      "fileid": "48ec6cb445c18a8916b644bf72c3f33f1454f0c6ea688b0ee0b3ef8b7025fe77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-02T07:33:59.000Z",
      "commit": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
      "fileid": "90eaaed9ca96434c6f6f700c24adb011ffae35e1ce47763492f805196e413ebb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T07:34:24.000Z",
      "commit": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
      "fileid": "b41f111c1c5e0aa9d2fb938378000eb0fbd06fabe72c038b5b063c2293dde99a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-02T07:33:33.000Z",
      "commit": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
      "fileid": "6bb7192cd650c6be7d2a9e266a35f9ba2ddaf45c62b30a7bf2f12d0f94233430",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-02T07:33:31.000Z",
      "commit": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
      "fileid": "9c58844cc0c214bbe4728509ab2d31c368f1230a2cabb02f3ec8f6c03ba01c12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-02T07:33:33.000Z",
      "commit": "988c50e27872bff4b6e24b67ab83ea97de8a2e0c",
      "fileid": "cf272af73db3dd90b93b0d6e6aad65fa574b4020d73d3194d825d3585856ab0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pyrrhicpachyderm/actions/runs/26805123633"
    }
  ]
}