Release for CRAN, aqp version 2.3, published 2026-01-17.
Major Changes
- aqp now requires R >= 4.1
- stringr package removed from imports (#331) (@dylanbeaudette, @brownag)
- updated CIELAB and sRGB color coordinates for Munsell neutral chips, based on direct measurement (#332) (@dylanbeaudette)
- added estimated spectra for Munsell neutral chips (#332) (@dylanbeaudette)
New Functions
- new function
mu_confusion_matrix()(@smroecker) - new function
colorVariation()for describing color variation in terms of average human color perception (@dylanbeaudette) - new function
shuffle()for re-ordering horizon data or horizons within aSoilProfileCollectionobject (#328) (@dylanbeaudette) .detectColorSpec()is a new internal function for detecting a color specification (@dylanbeaudette)
Enhancements
colorContrast()will now compute contrast data for pair-wise combinations ofm1whenm2is not specified (#330) (@dylanbeaudette)plotProfileDendrogram()gets better default arguments for scaling, offset, etc. (@dylanbeaudette)warpHorizons()gainsscaleToargument for scaling profiles to specific soil depth (@dylanbeaudette, thanks to @swsalley for ideas)electroStatics_1D()now accepts vector of charge densityqor single value (original implementation) (@dylanbeaudette)estimateSoilColor()transformation parameters updated (@dylanbeaudette)spc2mpspline()gains ability to process multiple variables in one call. Requires mpspline2 (>=0.1.9) (@brownag)
Enhancement + Possibly Breaking Changes
soilColorSignature()(#335) (@dylanbeaudette):- gains generalized color specification via new arguments
colorandspace - new argument to control development of a perceptual distance matrix:
perceptualDistMat = TRUE - deprecated arguments
r,g,b,RescaleLightnessBy, warning issued until the next major release
- gains generalized color specification via new arguments