{
  "_id": "6a4a2e363fcf58d53bc18dc9",
  "Package": "foreach",
  "Type": "Package",
  "Title": "Provides Foreach Looping Construct",
  "Version": "1.5.2",
  "Authors@R": "c(person(\"Folashade\", \"Daniel\", role=\"cre\", email=\"fdaniel@microsoft.com\"),\nperson(\"Hong\", \"Ooi\", role=\"ctb\"),\nperson(\"Rich\", \"Calaway\", role=\"ctb\"),\nperson(\"Microsoft\", role=c(\"aut\", \"cph\")),\nperson(\"Steve\", \"Weston\", role=\"aut\"))",
  "Description": "Support for the foreach looping construct.  Foreach is an\nidiom that allows for iterating over elements in a collection,\nwithout the use of an explicit loop counter.  This package in\nparticular is intended to be used for its return value, rather\nthan for its side effects.  In that sense, it is similar to the\nstandard lapply function, but doesn't require the evaluation of\na function.  Using foreach without side effects also\nfacilitates executing the loop in parallel.",
  "License": "Apache License (== 2.0)",
  "URL": "https://github.com/RevolutionAnalytics/foreach",
  "BugReports": "https://github.com/RevolutionAnalytics/foreach/issues",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown=TRUE)",
  "RoxygenNote": "7.1.1",
  "Collate": "'callCombine.R' 'foreach.R' 'do.R' 'foreach-ext.R'\n'foreach-pkg.R' 'getDoPar.R' 'getDoSeq.R' 'getsyms.R' 'iter.R'\n'nextElem.R' 'onLoad.R' 'setDoPar.R' 'setDoSeq.R' 'times.R'\n'utils.R'",
  "Repository": "https://revolutionanalytics.r-universe.dev",
  "Date/Publication": "2022-02-15 17:52:13 UTC",
  "RemoteUrl": "https://github.com/revolutionanalytics/foreach",
  "RemoteRef": "HEAD",
  "RemoteSha": "59176c0c37901a0be9414067cf2d1daa695a4327",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 08:10:51 UTC",
    "User": "root"
  },
  "Author": "Folashade Daniel [cre],\nHong Ooi [ctb],\nRich Calaway [ctb],\nMicrosoft [aut, cph],\nSteve Weston [aut]",
  "Maintainer": "Folashade Daniel <fdaniel@microsoft.com>",
  "_user": "revolutionanalytics",
  "_type": "src",
  "_file": "foreach_1.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/5efab5c01c6c36250e2eb0cb92bee1b4d70813beb7f0419136057d1c041d93b4",
  "_filesize": 195560,
  "_sha256": "5efab5c01c6c36250e2eb0cb92bee1b4d70813beb7f0419136057d1c041d93b4",
  "_expires": "2026-10-13T10:13:08.000Z",
  "_created": "2026-06-08T08:10:51.000Z",
  "_published": "2026-07-05T10:13:10.133Z",
  "_jobs": [
    {
      "job": 85213782211,
      "time": 283,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474793983"
    },
    {
      "job": 85213782273,
      "time": 241,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474780106"
    },
    {
      "job": 85213782137,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7499867669"
    },
    {
      "job": 85213782217,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474736693"
    },
    {
      "job": 85213782042,
      "time": 288,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474702478"
    },
    {
      "job": 85213782209,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474734016"
    },
    {
      "job": 85213782148,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474740360"
    },
    {
      "job": 85213782132,
      "time": 117,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7474740044"
    },
    {
      "job": 85213782170,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474738005"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337",
  "_status": "success",
  "_upstream": "https://github.com/revolutionanalytics/foreach",
  "_commit": {
    "id": "59176c0c37901a0be9414067cf2d1daa695a4327",
    "author": "Folashade Daniel <fdaniel@microsoft.com>",
    "committer": "Folashade Daniel <fdaniel@microsoft.com>",
    "message": "Update package maintainer\n",
    "time": 1644947533
  },
  "_maintainer": {
    "name": "Folashade Daniel",
    "email": "fdaniel@microsoft.com",
    "login": "beccadaniel",
    "uuid": 19220215
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.5.0",
      "role": "Depends"
    },
    {
      "package": "codetools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "doMC",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "revolutionanalytics",
  "_selfowned": true,
  "_usedby": 3056,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "foreach",
    "parallel-computing"
  ],
  "_stars": 56,
  "_contributors": [
    {
      "user": "hongooi73",
      "count": 40,
      "uuid": 11328890
    },
    {
      "user": "richcalaway",
      "count": 32,
      "uuid": 943114
    },
    {
      "user": "steveweston",
      "count": 5,
      "uuid": 128276
    },
    {
      "user": "beccadaniel",
      "count": 1,
      "uuid": 19220215
    }
  ],
  "_userbio": {
    "uuid": 386695,
    "type": "organization",
    "name": "Revolution Analytics"
  },
  "_downloads": {
    "count": 315744,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/foreach"
  },
  "_mentions": 50,
  "_devurl": "https://github.com/revolutionanalytics/foreach",
  "_searchresults": 46720,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/foreach.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/revolutionanalytics/foreach",
  "_realowner": "revolutionanalytics",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.2.0-1",
      "date": "2009-06-27"
    },
    {
      "version": "1.2.1",
      "date": "2009-06-30"
    },
    {
      "version": "1.3.0",
      "date": "2009-10-06"
    },
    {
      "version": "1.3.2",
      "date": "2011-05-20"
    },
    {
      "version": "1.3.4",
      "date": "2012-03-13"
    },
    {
      "version": "1.3.5",
      "date": "2012-03-14"
    },
    {
      "version": "1.4.0",
      "date": "2012-04-16"
    },
    {
      "version": "1.4.1",
      "date": "2013-06-06"
    },
    {
      "version": "1.4.2",
      "date": "2014-04-11"
    },
    {
      "version": "1.4.3",
      "date": "2015-10-13"
    },
    {
      "version": "1.4.4",
      "date": "2017-12-12"
    },
    {
      "version": "1.4.7",
      "date": "2019-07-28"
    },
    {
      "version": "1.4.8",
      "date": "2020-02-09"
    },
    {
      "version": "1.5.0",
      "date": "2020-03-30"
    },
    {
      "version": "1.5.1",
      "date": "2020-10-15"
    },
    {
      "version": "1.5.2",
      "date": "2022-02-02"
    }
  ],
  "_exports": [
    "%:%",
    "%do%",
    "%dopar%",
    "accumulate",
    "foreach",
    "getDoParName",
    "getDoParRegistered",
    "getDoParVersion",
    "getDoParWorkers",
    "getDoSeqName",
    "getDoSeqRegistered",
    "getDoSeqVersion",
    "getDoSeqWorkers",
    "getErrorIndex",
    "getErrorValue",
    "getexports",
    "getResult",
    "makeAccum",
    "registerDoSEQ",
    "setDoPar",
    "setDoSeq",
    "times",
    "when"
  ],
  "_help": [
    {
      "page": "foreach",
      "title": "foreach",
      "topics": [
        "%:%",
        "%do%",
        "%dopar%",
        "foreach",
        "times",
        "when"
      ]
    },
    {
      "page": "foreach-ext",
      "title": "foreach extension functions",
      "topics": [
        "accumulate",
        "accumulate.ifilteredforeach",
        "accumulate.iforeach",
        "accumulate.ixforeach",
        "foreach-ext",
        "getErrorIndex",
        "getErrorIndex.ifilteredforeach",
        "getErrorIndex.iforeach",
        "getErrorIndex.ixforeach",
        "getErrorValue",
        "getErrorValue.ifilteredforeach",
        "getErrorValue.iforeach",
        "getErrorValue.ixforeach",
        "getexports",
        "getResult",
        "getResult.ifilteredforeach",
        "getResult.iforeach",
        "getResult.ixforeach",
        "makeAccum"
      ]
    },
    {
      "page": "getDoParWorkers",
      "title": "Functions Providing Information on the doPar Backend",
      "topics": [
        "getDoParName",
        "getDoParRegistered",
        "getDoParVersion",
        "getDoParWorkers"
      ]
    },
    {
      "page": "getDoSeqWorkers",
      "title": "Functions Providing Information on the doSeq Backend",
      "topics": [
        "getDoSeqName",
        "getDoSeqRegistered",
        "getDoSeqVersion",
        "getDoSeqWorkers"
      ]
    },
    {
      "page": "registerDoSEQ",
      "title": "registerDoSEQ",
      "topics": [
        "registerDoSEQ"
      ]
    },
    {
      "page": "setDoPar",
      "title": "setDoPar",
      "topics": [
        "setDoPar"
      ]
    },
    {
      "page": "setDoSeq",
      "title": "setDoSeq",
      "topics": [
        "setDoSeq"
      ]
    }
  ],
  "_rundeps": [
    "codetools",
    "iterators"
  ],
  "_vignettes": [
    {
      "source": "foreach.Rmd",
      "filename": "foreach.html",
      "title": "Using the foreach package",
      "author": "Steve Weston",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Getting Started",
        "Iterators",
        "Parallel Execution",
        "Parallel Random Forest",
        "Parallel Apply",
        "List Comprehensions",
        "Conclusion"
      ],
      "created": "2020-02-19 00:23:05",
      "modified": "2020-02-19 00:23:05",
      "commits": 1
    },
    {
      "source": "nested.Rmd",
      "filename": "nested.html",
      "title": "Nesting foreach loops",
      "author": "Steve Weston",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The nesting operator: %:%",
        "Using %:% with %dopar%",
        "Chunking tasks",
        "Another example",
        "Conclusion"
      ],
      "created": "2020-02-19 00:23:05",
      "modified": "2020-02-19 00:23:05",
      "commits": 1
    }
  ],
  "_score": 16.657451822639725,
  "_indexed": true,
  "_nocasepkg": "foreach",
  "_universes": [
    "revolutionanalytics",
    "beccadaniel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-08T08:14:14.000Z",
      "distro": "noble",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/11c1feb53294fc88620bfe776173c3a2e84c93cf1cd57821b78dc87cd494185f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-08T08:13:33.000Z",
      "distro": "noble",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/5ab48e20ae186431be699c4c82d8db13c31d6cbb48a55df835c65da07dad2701",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-06-09T06:13:54.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/266fcf76d991f63a984efad8278fa60f810013b9cffc55225b5de592b59c8cfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-06-08T08:13:07.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/93e27e05d557a665a98f10d0e9080ba5a219354baca313640f2b4a5dc5447fea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-06-08T08:13:30.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/0567af9108c845c83e451aae8a5df631bded372d2ece892179cce78130356181",
      "status": "success",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-08T08:13:07.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/22e396cf318d6045a736ae9cc27434eccbaf20062fdfee49e5fd782f0c3e5327",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-08T08:13:10.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/00f9f9bb92f08d1dd436dec9d0490f71fa566d10972452265d1de3aa25f39702",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-08T08:13:03.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/93b57561baf4df11639e59d71a11ba68cbe8a5c1b59f57fc6bc23a3a6487610b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/27124274337"
    }
  ]
}