Skip to content

GA

3.2.5

Genetic Algorithms

51packages depend
130.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Luca ScruccaFirst published 2012-06-2216 releasesCRAN page ↗GitHub ↗

Flexible general-purpose toolbox implementing genetic algorithms (GAs) for stochastic optimisation. Binary, real-valued, and permutation representations are available to optimize a fitness function, i.e. a function provided by users depending on their objective function. Several genetic operators are available and can be combined to explore the best settings for the current task. Furthermore, users can define new genetic operators and easily evaluate their performances. Local search using general-purpose optimisation algorithms can be applied stochastically to exploit interesting regions. GAs can be run sequentially or in parallel, using an explicit master-slave parallelisation or a coarse-grain islands approach. For more details see Scrucca (2013) doi:10.18637/jss.v053.i04 and Scrucca (2017) doi:10.32614/RJ-2017-008.

Install

Health

CRAN checks
13OK
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 234 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
89%
Documented parameters
74%
Return-value docs
95%
References docs
75%

Downloads

130.7K
CRAN downloads in the past year
Rank #1,274 · ~358/day · ~10.9K/mo
Daily download trend is not available in this view yet.
6.9K30 days
27.2K90 days
130.7K1 year
Compare downloads with other packages →
Also on925 r2u35 autocran5.4K conda_forge103 c2d4u

Repository

Repository
99Stars
31Forks
13Open issues
3Open PRs
0Releases
51Commits
4Contributors
genetic-algorithmoptimisationr
51 commits · Last activity 2026-01-07 · +2.1% stars, 30d

Stars over time

2025-02-06 · 892026-07-07 · 99

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/luca-scr/ga on 2026-07-19.

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (4)
R >= 3.4methodsforeachiterators
Imports (7)
statsgraphicsgrDevicesutilsclicrayonRcpp
LinkingTo (2)
Suggests (5)
Enhances (0)
none

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

16 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 3.2.5Latest
    2026-01-08 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 3.2.4
    2024-01-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.2.3
    2022-10-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 3.2.2
    2021-10-15 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 3.2.1
    2021-04-21 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 3.2
    2019-01-10 · diff ↗
  • 3.1.1
    2018-05-11 · diff ↗
  • 3.1
    2018-05-09 · diff ↗
Show 15 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 3.0.2
    2016-06-07 · diff ↗
  • 3.0.1
    2016-05-16 · diff ↗
  • 3.0
    2016-05-10 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 2.2
    2014-10-15 · diff ↗
  • 2.1
    2014-05-06 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 2.0
    2013-08-20 · diff ↗
  • 1.1
    2013-04-08 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.0
    2012-06-22
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2012-06-22
Total releases
16 / 14 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.4
Download size
4.8 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →