{
  "_id": "6a4e1aff379904bcba9ed1d4",
  "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-07-08 09:34:37 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/89e79ddcc034e28d554799a95ae982ef8c43d655a721fc0b27ae52f113aad197",
  "_filesize": 196762,
  "_sha256": "89e79ddcc034e28d554799a95ae982ef8c43d655a721fc0b27ae52f113aad197",
  "_expires": "2026-10-16T09:40:13.000Z",
  "_created": "2026-07-08T09:34:37.000Z",
  "_published": "2026-07-08T09:40:14.939Z",
  "_jobs": [
    {
      "job": 85835364815,
      "time": 269,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8164195241"
    },
    {
      "job": 85835364713,
      "time": 302,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8164207952"
    },
    {
      "job": 85835364797,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8164138592"
    },
    {
      "job": 85835364681,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8164133081"
    },
    {
      "job": 85834666251,
      "time": 218,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8164086031"
    },
    {
      "job": 85835364781,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8164131680"
    },
    {
      "job": 85835364764,
      "time": 123,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8164135778"
    },
    {
      "job": 85835364782,
      "time": 114,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8164132258"
    },
    {
      "job": 85835364778,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8164126667"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906",
  "_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",
    "description": "",
    "uuid": 19220215
  },
  "_distro": "resolute",
  "_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": 3051,
  "_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",
    "followers": 28
  },
  "_downloads": {
    "count": 292729,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/foreach"
  },
  "_mentions": 50,
  "_devurl": "https://github.com/revolutionanalytics/foreach",
  "_searchresults": 46720,
  "_rbuild": "4.6.1",
  "_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",
    "extra/readme.html",
    "extra/readme.md",
    "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"
      ]
    }
  ],
  "_readme": "https://github.com/revolutionanalytics/foreach/raw/HEAD/README.md",
  "_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": 17.322841327329513,
  "_indexed": true,
  "_nocasepkg": "foreach",
  "_universes": [
    "revolutionanalytics",
    "beccadaniel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-08T09:37:00.000Z",
      "distro": "resolute",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/1794b660f7a6e64bc5bee76245f30a0acee37a96dd1499572017fd75680bfaae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-08T09:37:30.000Z",
      "distro": "resolute",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/c084c3123d8c6dc1a165e6d0c0cd8e1ab39238985af6b5961c083b25596ddbe0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-08T09:36:29.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/320288d7717bfe46a39eff0114df7e926a5fa79d487f55a56f3e27388cb76fb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-08T09:36:16.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/0390276bdb414d6fd60b6572d0289a61075d70be048381492b672b5b680d627c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-07-08T09:36:43.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/25e565dfb81b980f29e9dc3d47f4a6e4574b0b0713b457491c25f15e3741391c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-08T09:36:11.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/f5f70f0541a07c20420210148dd398f665e7199b1a51cc8ff4c577ba2209d84d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-08T09:36:02.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/c834de45e97b4f035fe78332805b3d61ee389ad6726627eeee6c4bcbc169c9ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-08T09:35:50.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/e4870049ef965fc4fa881a7d6ff9ed2d2eabdc1583891eaa2bcb4bff8c2a25f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/28932440906"
    }
  ]
}