{
  "_id": "6a4ba9bfa6574ff277f9ca0c",
  "Package": "coro",
  "Title": "'Coroutines' for R",
  "Version": "1.1.0.9000",
  "Authors@R": "c(\nperson(\"Lionel\", \"Henry\", , \"lionel@posit.co\", role = c(\"aut\", \"cre\")),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Provides 'coroutines' for R, a family of functions that\ncan be suspended and resumed later on. This includes 'async'\nfunctions (which await) and generators (which yield). 'Async'\nfunctions are based on the concurrency framework of the\n'promises' package. Generators are based on a dependency free\niteration protocol defined in 'coro' and are compatible with\niterators from the 'reticulate' package.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/r-lib/coro, https://coro.r-lib.org/",
  "BugReports": "https://github.com/r-lib/coro/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2026-06-15 11:38:03 UTC",
  "RemoteUrl": "https://github.com/r-lib/coro",
  "RemoteRef": "HEAD",
  "RemoteSha": "a8efdec66ec547e4697c78286135255429c326ae",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-06 12:58:54 UTC",
    "User": "root"
  },
  "Author": "Lionel Henry [aut, cre],\nPosit Software, PBC [cph, fnd]",
  "Maintainer": "Lionel Henry <lionel@posit.co>",
  "_user": "r-lib",
  "_type": "src",
  "_file": "coro_1.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/6fa47e94c4252649d4433ca87f8cc5510ea089a7bf9223ec7d44b080fdf15676",
  "_filesize": 178580,
  "_sha256": "6fa47e94c4252649d4433ca87f8cc5510ea089a7bf9223ec7d44b080fdf15676",
  "_expires": "2026-10-14T13:12:29.000Z",
  "_created": "2026-07-06T12:58:54.000Z",
  "_published": "2026-07-06T13:12:31.401Z",
  "_jobs": [
    {
      "job": 85377209643,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8109687135"
    },
    {
      "job": 85377209686,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109686144"
    },
    {
      "job": 85377209677,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8109949158"
    },
    {
      "job": 85377209713,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109944652"
    },
    {
      "job": 85376468258,
      "time": 221,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109632068"
    },
    {
      "job": 85377209638,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8109692532"
    },
    {
      "job": 85377209680,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8109663658"
    },
    {
      "job": 85377209659,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8109663019"
    },
    {
      "job": 85377209712,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8109671961"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686",
  "_status": "success",
  "_upstream": "https://github.com/r-lib/coro",
  "_commit": {
    "id": "a8efdec66ec547e4697c78286135255429c326ae",
    "author": "Lionel Henry <lionel.hry@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #72 from r-lib/issue/jit\n\nFix JIT caching of generator/async instances",
    "time": 1781523483
  },
  "_maintainer": {
    "name": "Lionel Henry",
    "email": "lionel@posit.co",
    "login": "lionel-",
    "description": "",
    "uuid": 4465050
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.12",
      "role": "Imports"
    },
    {
      "package": "codetools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "later",
      "version": ">= 1.1.0",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "version": ">= 2.0.0",
      "role": "Suggests"
    },
    {
      "package": "promises",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    },
    {
      "package": "reticulate",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 98,
  "_updates": [
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "async",
    "coroutines",
    "generator",
    "iterator",
    "promises",
    "reticulate"
  ],
  "_stars": 183,
  "_contributors": [
    {
      "user": "lionel-",
      "count": 531,
      "uuid": 4465050
    },
    {
      "user": "hadley",
      "count": 5,
      "uuid": 4196
    },
    {
      "user": "dfalbel",
      "count": 2,
      "uuid": 4706822
    },
    {
      "user": "shikokuchuo",
      "count": 1,
      "uuid": 53399081
    },
    {
      "user": "jeroenjanssens",
      "count": 1,
      "uuid": 1368256
    },
    {
      "user": "t-kalinowski",
      "count": 1,
      "uuid": 8462255
    },
    {
      "user": "brookslogan",
      "count": 1,
      "uuid": 24498353
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure",
    "followers": 743
  },
  "_downloads": {
    "count": 33228,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/coro"
  },
  "_devurl": "https://github.com/r-lib/coro",
  "_pkgdown": "https://coro.r-lib.org/",
  "_searchresults": 1276,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/coro.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/r-lib/coro",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-12-09"
    },
    {
      "version": "1.0.1",
      "date": "2020-12-17"
    },
    {
      "version": "1.0.2",
      "date": "2021-12-03"
    },
    {
      "version": "1.0.3",
      "date": "2022-07-19"
    },
    {
      "version": "1.0.4",
      "date": "2024-03-11"
    },
    {
      "version": "1.0.5",
      "date": "2024-10-15"
    },
    {
      "version": "1.1.0",
      "date": "2024-11-05"
    }
  ],
  "_exports": [
    "as_iterator",
    "async",
    "async_collect",
    "async_generator",
    "async_ops",
    "async_sleep",
    "await",
    "await_each",
    "collect",
    "coro_debug",
    "exhausted",
    "gen",
    "generator",
    "is_exhausted",
    "loop",
    "yield"
  ],
  "_help": [
    {
      "page": "as_iterator",
      "title": "Transform an object to an iterator",
      "topics": [
        "as_iterator",
        "as_iterator.default"
      ]
    },
    {
      "page": "async",
      "title": "Make an async function",
      "topics": [
        "async",
        "await"
      ]
    },
    {
      "page": "async_collect",
      "title": "Collect elements of an asynchronous iterator",
      "topics": [
        "async_collect"
      ]
    },
    {
      "page": "async_generator",
      "title": "Construct an async generator",
      "topics": [
        "async_generator",
        "await_each"
      ]
    },
    {
      "page": "async_sleep",
      "title": "Sleep asynchronously",
      "topics": [
        "async_sleep"
      ]
    },
    {
      "page": "collect",
      "title": "Iterate over iterator functions",
      "topics": [
        "collect",
        "loop"
      ]
    },
    {
      "page": "coro_debug",
      "title": "Debug a generator or async function",
      "topics": [
        "coro_debug"
      ]
    },
    {
      "page": "generator",
      "title": "Create a generator function",
      "topics": [
        "gen",
        "generator"
      ]
    },
    {
      "page": "iterator",
      "title": "Iterator protocol",
      "topics": [
        "exhausted",
        "is_exhausted",
        "iterator"
      ]
    },
    {
      "page": "yield",
      "title": "Yield a value from a generator",
      "topics": [
        "yield"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/coro/raw/HEAD/README.md",
  "_rundeps": [
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "generator.Rmd",
      "filename": "generator.html",
      "title": "Generators",
      "author": "Lionel Henry",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Iterators",
        "Generators",
        "Iterating",
        "Adapting generators"
      ],
      "created": "2020-10-26 14:24:39",
      "modified": "2025-01-06 14:18:49",
      "commits": 4
    }
  ],
  "_score": 13.379342595390867,
  "_indexed": true,
  "_nocasepkg": "coro",
  "_universes": [
    "r-lib",
    "lionel-"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-07-06T13:00:58.000Z",
      "distro": "resolute",
      "commit": "a8efdec66ec547e4697c78286135255429c326ae",
      "fileid": "https://r2.ropensci.org/d6aa94d67a3ec07fd7bd5f2b76d47435a80ae1682e17cd339872e16e9b20027c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0.9000",
      "date": "2026-07-06T13:00:57.000Z",
      "distro": "resolute",
      "commit": "a8efdec66ec547e4697c78286135255429c326ae",
      "fileid": "https://r2.ropensci.org/46988262b2155325a11ff87b849d3dc1bffa4d6dbebeee475271a0f123dc5766",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-07-06T13:11:46.000Z",
      "commit": "a8efdec66ec547e4697c78286135255429c326ae",
      "fileid": "https://r2.ropensci.org/f22019ce2824558a3fedeaddfde0ca7ea0488ea3c3e8e7d0a502ab0480446c29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0.9000",
      "date": "2026-07-06T13:11:37.000Z",
      "commit": "a8efdec66ec547e4697c78286135255429c326ae",
      "fileid": "https://r2.ropensci.org/f75504739cedd445bcd189292775baf349ad2a62c8bbbe1c4bb64e7d3c7b8474",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0.9000",
      "date": "2026-07-06T13:01:32.000Z",
      "commit": "a8efdec66ec547e4697c78286135255429c326ae",
      "fileid": "https://r2.ropensci.org/ad07666b18123c0968636e2638a12f8d7f83b0c7d7907dccbfecacc408549f0b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-07-06T13:00:01.000Z",
      "commit": "a8efdec66ec547e4697c78286135255429c326ae",
      "fileid": "https://r2.ropensci.org/d3ff1d859345cda3ba03b0a862bfa1b99d93a38415c45f34cda361551fcd5268",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-07-06T12:59:56.000Z",
      "commit": "a8efdec66ec547e4697c78286135255429c326ae",
      "fileid": "https://r2.ropensci.org/f047912ee32eee09b0e4c92f4eeb7b047fdedabd0ee4f4580a098407dd35b53c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0.9000",
      "date": "2026-07-06T13:00:18.000Z",
      "commit": "a8efdec66ec547e4697c78286135255429c326ae",
      "fileid": "https://r2.ropensci.org/d4af46db6b8d9380e58411e430ef32349fe6aee5331deff4f28701ee7506f214",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/28793050686"
    }
  ]
}