Skip to content

Alternating Optimization

0packages depend
6Kdownloads / year
90.0%test coverage
13/13flavors OK

Overview

About

Implementation of an iterative process that optimizes a function by alternately performing restricted optimization over parameter subsets. Instead of solving one joint optimization problem, alternating optimization breaks it into smaller sub-problems. This approach can make optimization feasible when joint optimization is too difficult.

Changes in 1.2.3
  • Added value estimate_split to the output, which is estimate split by target (only when applicable).
  • Set the default value for the number of iterations within each block to 10.
  • Removed renv.
  • Improved documentation.
  • Added tests for invalid inputs and random partition determinism.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.3
READMEYes · 205 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.2.3Citation fileNoWebsiteYes · pkgdown
Help pages
6 (1 internal)includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
68%
Return-value docs
100%
Help pages citing references
0%

Downloads

6K
CRAN downloads in the past year
Rank #4,925 · ~17/day · ~503/mo
Daily download trend is not available in this view yet.
62230 days
1.7K90 days
6K1 year
Compare downloads with other packages →
Also on144 r2u19 autocran24 c2d4u

Repository

3Stars
2Forks
0Open issues
0Open PRs
0Releases
214Commits
2Commit identities
optimizationrstats
License file reads as GPL-3.0 · 214 commits · Last activity 2026-05-11 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
13
Median days to close, 50 most recently updated closed PRs
11

Stars over time

2022-08-25 · 22026-07-07 · 3
PracticesBeta

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

Checks run against github.com/loelschlaeger/ao on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Issue templates
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-05-11 · The repository has a site deploy workflow

pkgdown site last built 2026-05-11

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing ao adds 105 packages (50 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2021)
Contributor · added in 1.0.0
Releases (22)

Pick two releases to compare their code metrics.

Show 14 earlier eventsHide 14 earlier events

Package metadata

First published
2021-06-21
Total releases
22 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
193 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ao")
Oelschläger, L., & Chib, S. (2026). ao: Alternating Optimization (Version 1.2.3) [Computer software]. https://doi.org/10.32614/CRAN.package.ao

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 ao version 1.2.3 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-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