{
  "_id": "6aec5e629ceaa78f200a04e5",
  "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-11-05 10:41: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/6efbe8c4c07e6346f2f189a0718b7c9f2acef2ebf198c2e4d62b6aeb94cafb1b",
  "_filesize": 194625,
  "_sha256": "6efbe8c4c07e6346f2f189a0718b7c9f2acef2ebf198c2e4d62b6aeb94cafb1b",
  "_expires": "2027-02-13T10:45:53.000Z",
  "_created": "2026-11-05T10:41:37.000Z",
  "_published": "2026-11-05T10:45:54.712Z",
  "_upstream": "https://github.com/revolutionanalytics/foreach",
  "_status": "success",
  "_maintainer": {
    "name": "Folashade Daniel",
    "email": "fdaniel@microsoft.com",
    "login": "beccadaniel",
    "description": "",
    "uuid": 19220215
  },
  "_jobs": [
    {
      "job": 127195984454,
      "time": 222,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13408441089"
    },
    {
      "job": 127195984319,
      "time": 224,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13407428937"
    },
    {
      "job": 127195984197,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13407229191"
    },
    {
      "job": 127195984243,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13407897363"
    },
    {
      "job": 127194194979,
      "time": 229,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13407991814"
    },
    {
      "job": 127195984209,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13407872092"
    },
    {
      "job": 127195984297,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13407922288"
    },
    {
      "job": 127195984295,
      "time": 96,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13407907404"
    },
    {
      "job": 127195984288,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13407587528"
    }
  ],
  "_buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295",
  "_commit": {
    "id": "59176c0c37901a0be9414067cf2d1daa695a4327",
    "author": "Folashade Daniel <fdaniel@microsoft.com>",
    "committer": "Folashade Daniel <fdaniel@microsoft.com>",
    "message": "Update package maintainer\n",
    "time": 1644947533
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 3126,
  "_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": 29
  },
  "_downloads": {
    "count": 311327,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/foreach"
  },
  "_mentions": 50,
  "_devurl": "https://github.com/revolutionanalytics/foreach",
  "_searchresults": 51968,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/foreach.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.406372300090005,
  "_indexed": true,
  "_nocasepkg": "foreach",
  "_universes": [
    "revolutionanalytics",
    "beccadaniel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-11-05T10:43:14.000Z",
      "distro": "resolute",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/8d1824e7385d4c18aaa3796d99719ff15e55aec9298cc54aa31f68b6fa22234e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-11-05T10:43:14.000Z",
      "distro": "resolute",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/60d89ed2f552ee6bc4a4259eeff4dded2f2c5c3a4bb8bad7ad1b4fa1645f3cc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-11-05T10:43:16.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/1eb5976be19663746a4ebfe1b740f831981b022f6288e36c63c1a03f73625094",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-11-05T10:43:00.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/42f5e1b21f70a5feb9d579ddb8927f85c7f71340bf3f2b2315f292ef4169ddeb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-11-05T10:43:34.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/26aaefb1c673b9219a998ce7aa4af5af2b62a52d6c54debcba6203f295f06272",
      "status": "success",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-11-05T10:42:43.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/9e00acb2c568c92f86e1716ac43bef345f541d159131e0498858f17192cdd4eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-11-05T10:42:46.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/10d74dcd45ba4c99b0bab89634f83685b4b8037e52c794d774e514af286b365a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-11-05T10:42:38.000Z",
      "commit": "59176c0c37901a0be9414067cf2d1daa695a4327",
      "fileid": "https://r2.ropensci.org/6a2039aed8d57abc7d58efeca2e354939939923ef3a1124b41a5a93e1de86dfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/revolutionanalytics/actions/runs/42012289295"
    }
  ]
}