foreach
1.5.2Provides Foreach Looping Construct
Overview
Support for the foreach looping construct. Foreach is an idiom that allows for iterating over elements in a collection, without the use of an explicit loop counter. This package in particular is intended to be used for its return value, rather than for its side effects. In that sense, it is similar to the standard lapply function, but doesn't require the evaluation of a function. Using foreach without side effects also facilitates executing the loop in parallel.
Install
Health
- ERROR r-oldrel-macos-x86_64
- ERROR2026-03-1012 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 88%
- Return-value docs
- 0%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/revolutionanalytics/foreach on 2026-08-09.
Dependencies
and 993 more packages.
Code & Tests
People & History
16 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.5.2Latest
- RR 4.1.0 released · 2021-05-18
- 1.5.12020-10-15 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.5.02020-03-30 · diff ↗
- 1.4.82020-02-09 · diff ↗
- 1.4.72019-07-28 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.4.42017-12-12 · diff ↗
- RR 3.4.0 released · 2017-04-21
Show 21 earlier events
- RR 3.3.0 released · 2016-05-03
- 1.4.32015-10-13 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.4.22014-04-11 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.4.12013-06-06 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.4.02012-04-16 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 1.3.52012-03-14 · diff ↗
- 1.3.42012-03-13 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.3.22011-05-20 · diff ↗
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 1.3.02009-10-06 · diff ↗
- 1.2.12009-06-30 · diff ↗
- 1.2.0-12009-06-27
- RR 2.9.0 released · 2009-04-17
Package metadata
- First published
- 2009-06-27
- Total releases
- 16 / 17 yrs
- License
- Apache License (== 2.0)
- Minimum R
- ≥ 2.5.0
- Download size
- 88 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("foreach")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.