Skip to content

GAReg

0.1.2

Genetic Algorithms in Regression

0packages depend
2.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Mo LiFirst published 2026-02-093 releasesCRAN page ↗GitHub ↗

Provides a genetic algorithm framework for regression problems requiring discrete optimization over model spaces with unknown or varying dimension, where gradient-based methods and exhaustive enumeration are impractical. Uses a compact chromosome representation for tasks including spline knot placement and best-subset variable selection, with constraint-preserving crossover and mutation, exact uniform initialization under spacing constraints, steady-state replacement, and optional island-model parallelization from Lu, Lund, and Lee (2010, doi:10.1214/09-AOAS289). The computation is built on the 'GA' engine of Scrucca (2017, doi:10.32614/RJ-2017-008) and 'changepointGA' engine from Li and Lu (2024, doi:10.48550/arXiv.2410.15571). In challenging high-dimensional settings, 'GAReg' enables efficient search and delivers near-optimal solutions when alternative algorithms are not well-justified.

Install

Health

CRAN checks
13OK
Slowest check: 8.3 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-31
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-29
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 502 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
57%
Documented parameters
90%
Return-value docs
100%
References docs
6%

Downloads

2.6K
CRAN downloads in the past year
Rank #7,436 · ~7/day · ~217/mo
Daily download trend is not available in this view yet.
18430 days
1.1K90 days
2.6K1 year
Compare downloads with other packages →
Also on58 r2u27 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
51Commits
1Contributors
License Apache-2.0 · 51 commits · Last activity 2026-04-27 · 0% stars, 30d

Stars over time

2025-10-20 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/mli171/gareg on 2026-08-23.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.3.0
Imports (6)
statssplinesutilsmethodschangepointGAGA
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

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

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

  • 0.1.2Latest
    2026-04-27 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1
    2026-03-29 · diff ↗
  • 0.1.0
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-09
Total releases
3 / 1 yrs
License
Apache License (== 2.0)
Minimum R
≥ 4.3.0
Bundled data
10 KB / 1 file
Download size
130 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("GAReg")
Li, M., Lu, Q., Lund, R., & Shi, X. (2026). GAReg: Genetic Algorithms in Regression (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.GAReg

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for GAReg version 0.1.2 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, 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