Replace iris examples and test fixtures - #226
Merged
Merged
Conversation
t-kalinowski
marked this pull request as ready for review
August 20, 2026 13:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Public-facing changes
All user-facing examples now avoid iris and use complete datasets without missing-value cleanup. The release post keeps installation focused on cuda.ml and assumes optional example packages are available. Other documentation uses ordinary numeric literals and
set.seed()where reproducibility matters.Internal changes
GPU tests use a shared, scaled Palmer penguins fixture. Dataset-dependent assertions now account for component-sign ambiguity and compare clustering quality using inertia and adjusted Rand index. There are no public API changes.
Testing
Rscript -e 'devtools::test(reporter = "progress")'(424 passed, 9 skipped)R CMD build /home/tomasz/github/mlverse/cuda.ml_R_CHECK_CRAN_INCOMING_=false _R_CHECK_SYSTEM_CLOCK_=false R CMD check --no-manual --as-cran cuda.ml_0.4.0.tar.gz(Status: OK)Rscript -e 'rmarkdown::render("README.Rmd")'Rscript -e 'pkgdown::build_site()'