{
  "_id": "6a105638acfb0bcc41ca29ee",
  "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-05-09 07:48:18 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>",
  "MD5sum": "7bc4fe3b3f66c6308fee3cf4dbf8db62",
  "_user": "revolutionanalytics",
  "_type": "src",
  "_file": "foreach_1.5.2.tar.gz",
  "_fileid": "8c0ec2432f8616ca2d848c138aabe72f0774259b55036b519f459d68445617b7",
  "_filesize": 196582,
  "_sha256": "8c0ec2432f8616ca2d848c138aabe72f0774259b55036b519f459d68445617b7",
  "_created": "2026-05-09T07:48:18.000Z",
  "_published": "2026-05-22T13:12:24.229Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77386442427,
      "time": 244,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894116637"
    },
    {
      "job": 77386442213,
      "time": 244,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894117213"
    },
    {
      "job": 77386442163,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894105811"
    },
    {
      "job": 77386442331,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894105783"
    },
    {
      "job": 77386441821,
      "time": 239,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894092914"
    },
    {
      "job": 77386441422,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161334059"
    },
    {
      "job": 77386442006,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894103715"
    },
    {
      "job": 77386442299,
      "time": 102,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894102742"
    },
    {
      "job": 77386442441,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894103509"
    }
  ],
  "_buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 3024,
  "_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": 322763,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/foreach"
  },
  "_mentions": 50,
  "_devurl": "https://github.com/revolutionanalytics/foreach",
  "_searchresults": 52736,
  "_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",
    "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.414003252425726,
  "_indexed": true,
  "_nocasepkg": "foreach",
  "_universes": [
    "revolutionanalytics",
    "beccadaniel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-05-09T07:50:16.000Z",
      "distro": "noble",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "4be54a4e34c08f6b1aa75a9e75da72997043f6773faea5a797d019b8c493541c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-05-09T07:50:21.000Z",
      "distro": "noble",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "ac0720d334b3b8c5132d1dd27d45f7fccd6798be725f34234e32880585872ead",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-05-09T07:50:10.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "94d59d36ff31e581dc455eb389cbe495bd9f19caa77f37c58a377c93c115dcd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-05-09T07:50:10.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "30c2f55b9ba3fb3953682f0e8403d5c94321b4ffd25262c1a87bf2d9e2880104",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-05-09T07:49:43.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "871ead58e99cd8a1f112b786ea6e361dd19db3f2394d818e9ee4dcf4ea5e0274",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-05-09T07:49:33.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "4edaca207a8bb0ee9134560ac9f971443b7e5bff1b466a2ace011faab5562b8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-05-09T07:49:41.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "81b92f6a6983351cd6897d8cf5bf550a0cd93315a8d9e12ee21d29b1b04e97f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-05-22T13:12:01.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "41e5a6a83ce70eddf41fe337ced20500a1f4ca8074aa1b8db7e648b9cefbe68a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/25595658519"
    }
  ]
}