Functions to Assist Design and Analysis of Agronomic Experiments
Overview
Provides functions to aid in the design and analysis of agronomic and agricultural experiments through easy access to documentation and helper functions, especially for users who are learning these concepts. While not required for most functionality, this package enhances the `asreml` package which provides a computationally efficient algorithm for fitting mixed models using Residual Maximum Likelihood. It is a commercial package that can be purchased as 'ASReml-R' from 'VSNi' https://vsni.co.uk/, who will supply a zip file for local installation/updating (see https://asreml.kb.vsni.co.uk/).
Minor Changes
- Added citation information:
citation("biometryassist")now gives the package citation, including its CRAN DOI, and the repository includes aCITATION.cffgenerated from the package metadata. (#194, #196) reference_comparisons()now uses the exact Dunnett test whenever all comparisons share a common degrees of freedom (e.g. single-stratumaovlistand balancedlmer()models), instead of falling back to Holm for any model that reports degrees of freedom per comparison.- The package startup message, licence and documentation now refer to Adelaide University.
multiple_comparisons(),pairwise_comparisons()andreference_comparisons()now work withasremlmodels whose terms use ASReml-R special functions, such asat()in the fixed model ordiag(),fa(),us()andvm()in the random model. (#198)- The
predictionsreturned bymultiple_comparisons()no longer include adfcolumn foraovandlmmodels, so the output is the same for every model type.
Bug Fixes
use_template()now copies the requested package template as expected. Previously it always copiedmixed_model_template.R. (#188)- Fixed the argument order in the
export_design_to_excel()examples, which are now runnable. (#189, #197) multiple_comparisons(),pairwise_comparisons()andreference_comparisons()now use the correct pairwise contrast degrees of freedom fornlme::lme()models rather than those of the individual means. Inmultiple_comparisons()this gave too-large HSD values; results now match equivalentaov()andlmer()fits. (#190)- Fixed the standard errors of difference (and degrees of freedom) being assigned to the wrong pairs for models with four or more treatment levels that use
emmeans(aovlist,lmer(),nlme::lme(),afexandglmmTMB). This affected the p-values, HSD and letter groups frommultiple_comparisons()for unbalanced data; balanced designs were not affected. (#193) multiple_comparisons()no longer errors when a treatment level is aliased in models that useemmeans(aovlist,lmer(),nlme::lme(),afexandglmmTMB). (#195)
Show all changes in 1.5.1Hide the rest of the changes in 1.5.1
- The warning given when the comparison functions fall back to the residual degrees of freedom for an
asremlmodel now always names theclassifyterm; previously the term name could be missing. multiple_comparisons()no longer errors with "subscript out of bounds" when ASReml-R'slevelsargument is used to predict a subset of levels for anasremlmodel.multiple_comparisons()confidence intervals (int.type = "ci") now use the degrees of freedom of each predicted mean, rather than the largest pairwise-comparison degrees of freedom, andint.type = "tukey"now uses the smallest comparison degrees of freedom for each mean. Intervals were too narrow for multi-stratum models (aovlist,afex,lmer(),nlme::lme()andasremlat()terms); single-stratum models are not affected. (#199)
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-08
- ERROR12 OK, 1 ERROR2026-10-05
- OK13 OK2026-08-21
- ERROR12 OK, 1 ERROR2026-08-17
- OK13 OK2026-08-05
Show 5 earlier changesHide 5 earlier changes
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 67 (49 internal)includes a package overview page
- Examples that run
- 76%13 run in a plain check (1 of them under a condition) · 4 never run
- Exported functions with examples
- 76%
- Documented parameters
- 93%
- Return-value docs
- 100%
- Help pages citing references
- 3%
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 72
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
16 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/biometryhub/biometryassist on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-07 · The repository has a site deploy workflow
pkgdown site last built 2026-10-07
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2025-08-18Seen in the repository: .github/copilot-instructions.mdPull request: opened by its own accountCommits: 33 by its own account
- Claude Codefirst seen 2026-05-01Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdCommits: at least 2 crediting it in the message
- Claude Opus 4.82 commits · Jun 2026
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.5.1Latest2026-10-07 · current release · diff ↗ ·
listed once in CRAN's queue
Seen in one reading of CRAN's incoming queue, at 2026-10-07 14:07 UTC, so it stayed less than the time between readings. - 1.5.0
- RR 4.6.0 released · 2026-04-24
- 1.4.02026-02-03 · diff ↗
- 1.3.32025-09-15 · diff ↗
- 1.3.22025-09-11 · diff ↗
- 1.3.12025-07-04 · diff ↗
- 1.3.02025-06-11 · diff ↗ ·
removed 1 export
get_predictionsadded 4 exports
add_buffers, export_design_to_excel, list_templates, use_template - unarchivedReturned to CRAN2025-04-23
- 1.2.2
- archivedRemoved from CRAN2025-04-19issues were not corrected in time
- RR 4.5.0 released · 2025-04-11
- 1.2.1
- 1.2.0
- RR 4.4.0 released · 2024-04-24
- 1.1.32023-07-19 · diff ↗
Package metadata
- First published
- 2022-01-28
- Total releases
- 15 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 1.9 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("biometryassist")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.