Skip to content

xegaSelectGene

Selection of Genes and Gene Representation Independent Functions

v1.0.0.4 · Feb 13, 2026 · MIT + file LICENSE

Description

This collection of gene representation-independent mechanisms for evolutionary and genetic algorithms for the R-package xega <https://CRAN.R-project.org/package=xega> contains four groups of functions: First, functions for selecting a gene in a population of genes according to its fitness value and for adaptive scaling of the fitness values as well as for performance optimization and measurement offer several variants for implementing the survival of the fittest. Second, evaluation functions for deterministic functions avoid recomputation. Evaluation of stochastic functions incrementally improve the estimation of the mean and variance of fitness values at almost no additional cost. Evaluation functions for gene repair handle error-correcting decoders. Third, timing and counting functions for profiling the algorithm pipeline are provided to assess bottlenecks in the algorithms. Fourth, a small collection of problem environments for function optimization, combinatorial optimization, and grammar-based genetic programming and grammatical evolution is provided for tutorial examples. For xega's architecture, see Geyer-Schulz, A. (2025) <doi:10.5445/IR/1000187255>. The methods in the package are described by the following references: Baker, James E. (1987, ISBN:978-08058-0158-8), De Jong, Kenneth A. (1975) <https://deepblue.lib.umich.edu/handle/2027.42/4507>, Geyer-Schulz, Andreas (1997, ISBN:978-3-7908-0830-X), Grefenstette, John J. (1987, ISBN:978-08058-0158-8), Grefenstette, John J. and Baker, James E. (1989, ISBN:1-55860-066-3), Holland, John (1975, ISBN:0-472-08460-7), Lau, H. T. (1986) <doi:10.1007/978-3-642-61649-5>, Price, Kenneth V., Storn, Rainer M. and Lampinen, Jouni A. (2005) <doi:10.1007/3-540-31306-0>, Reynolds, J. C. (1993) <doi:10.1007/BF01019459>, Schaffer, J. David (1989, ISBN:1-55860-066-3), Wenstop, Fred (1980) <doi:10.1016/0165-0114(80)90031-7>, Whitley, Darrell (1989, ISBN:1-55860-066-3), Wickham, Hadley (2019, ISBN:978-815384571).

Downloads

CRAN

268

Last 30 days

18133rd

756

Last 90 days

5.7K

Last year

Trend: +27% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

27

Last 90 days

132

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

7

Last 7 days

10

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

whether the namespace can be loaded with stated dependencies

Fatal error: cannot create 'R_TempDir'

A namespace must be able to be loaded with just the base namespace
loaded: otherwise if the namespace gets loaded by a saved object, the
session will be unable to start.

Probably some imports need to be declared in the NAMESPACE file.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

7,392

Files

79

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,181 (43%)Tests 806 (10.9%)Docs 3,405 (46.1%)

API

Exported functions

54

Internal functions

1

Recent export changes

v1.0.0.4+1 SelectTopK
v1.0.0.0+53 ContinuousScaleFitness, Counted, DeJongF4Factory +50 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.25

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

96.3%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

3

Dep constraint coverage

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2024-02-02

Latest release

2026-02-13

Avg cadence

371 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.0.0: 7,170 LOCv1.0.0.3: 7,287 LOCv1.0.0.4: 7,392 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (7)

Dependency Network

Dependencies Reverse dependencies xega xegaDfGene xegaGaGene xegaGeGene xegaGpGene xegaPermGene xegaPopulation xegaSelectGene

Version History

4 tracked
new 1.0.0.4 Mar 10, 2026
updated 1.0.0.4 ← 1.0.0.3 diff Feb 12, 2026
updated 1.0.0.3 ← 1.0.0.0 diff Apr 15, 2025
new 1.0.0.0 Feb 1, 2024