Skip to content

gramEvol

2.1-4Package record

Grammatical Evolution for R

0packages depend
4.1Kdownloads / year
74.9%test coverage
11/13flavors OK

Overview

About

A native R implementation of grammatical evolution (GE). GE facilitates the discovery of programs that can achieve a desired goal. This is done by performing an evolutionary optimisation over a population of R expressions generated via a user-defined context-free grammar (CFG) and cost function.

Changes in 2.1-4
  • Add ReplaceInExpression helper function
  • Update GeneticAlg.int to accept suggestions as a list (Thanks to Rafael Klaic)
  • Update vignette with new grammar rules
  • Fix bug in Evolutionary strategy when popsize = 1 (Thanks to Daniel Klotz <https://github.com/danklotz>)
  • Change ga.mutation parameter to fix its typo (Thanks to Daniel Klotz <https://github.com/danklotz>)

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Farzad Noorian <farzad.noorian@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Farzad",
                      family = "Noorian",
                      role = c("aut", "cre"),
                      email = "farzad.noorian@gmail.com"),
               person(given = c("Anthony", "Mihirana"),
                      family = "de Silva",
                      role = "aut"))
as necessary.

CRAN check page ↗

Slowest check: 1.8 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.1-4
READMEYes · 227 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 2.1-4Citation fileYes · cites a publication
Cites a JSS article
Help pages
14
Examples that run
100%14 run in a plain check
Exported functions with examples
100%
Documented parameters
93%
Return-value docs
100%
Help pages citing references
86%

Downloads

4.1K
CRAN downloads in the past year
Rank #12,400 · ~11/day · ~344/mo
Daily download trend is not available in this view yet.
32230 days
91090 days
4.1K1 year
Compare downloads with other packages →
Also on75 r2u4 autocran

Repository

29Stars
13Forks
3Open issues
0Open PRs
1Releases
133Commits
5Commit identities
133 commits · Last activity 2023-06-27 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
5

Stars over time

2025-08-21 · 282026-07-07 · 29
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/fnoorian/gramevol on 2026-10-25.

Docs source (1)

GitHub Pages site last deployed 2016-09-26

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing gramEvol adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (from the free-text Author field) (2)

Maintainer since 1.0-1 (2014)

Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.1-4Latest
    record
    2020-07-18 · current release · diff ↗ ·
    added 1 export
    ReplaceInExpression
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 2.1-3
    record
    2016-07-04 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 2.1-2
    record
    2015-11-16 · diff ↗ ·
    added 1 export
    gvrule
  • R
    R 3.2.0 released · 2015-04-16
  • 2.0-2
    record
    2015-02-11 · diff ↗ ·
    added 30 exports
    grule, gsrule, GrammarMap, GrammarRandomExpression, EvolutionStrategy.int, GrammarStartSymbol, GrammarIsRecursive, GrammarIsTerminal, GrammarGetDepth, GrammarMaxRuleSize, GrammarMaxSequenceLen, GrammarMaxSequenceRange, GrammarNumOfExpressions, c.GERule, as.character.GEPhenotype, as.expression.GEPhenotype, print.GEPhenotype, print.GERule, print.GrammarOverflow, print.GESearch, print.GeneticAlg.int, print.EvolutionStrategy.int, print.GrammaticalEvolution, summary.grammar, print.summary.grammar, is.GrammarOverflow, GrammarGetFirstSequence, GrammarGetNextSequence, GrammaticalExhaustiveSearch, GrammaticalRandomSearch
Show 4 earlier eventsHide 4 earlier events

Package metadata

First published
2014-05-20
Total releases
7 / 12 yrs
License
GPL (>= 2) OSI
Download size
295 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("gramEvol")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v071.i01.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for gramEvol version 2.1-4 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy