Skip to content

aqp

Algorithms for Quantitative Pedology

v2.3.2 · Apr 29, 2026 · GPL (>= 3)

Description

The Algorithms for Quantitative Pedology (AQP) project was started in 2009 to organize a loosely-related set of concepts and source code on the topic of soil profile visualization, aggregation, and classification into this package (aqp). Over the past 8 years, the project has grown into a suite of related R packages that enhance and simplify the quantitative analysis of soil profile data. Central to the AQP project is a new vocabulary of specialized functions and data structures that can accommodate the inherent complexity of soil profile information; freeing the scientist to focus on ideas rather than boilerplate data processing tasks <doi:10.1016/j.cageo.2012.10.020>. These functions and data structures have been extensively tested and documented, applied to projects involving hundreds of thousands of soil profiles, and deeply integrated into widely used tools such as SoilWeb <https://casoilresource.lawr.ucdavis.edu/soilweb-apps>. Components of the AQP project (aqp, soilDB, sharpshootR, soilReports packages) serve an important role in routine data analysis within the USDA-NRCS Soil Science Division. The AQP suite of R packages offer a convenient platform for bridging the gap between pedometric theory and practice.

Downloads

CRAN

2.2K

Last 30 days

2614th

5.7K

Last 90 days

36.3K

Last year

Trend: +32% (30d vs prior 30d)

r2u CRAN

29

Last 30 days

132

Last 90 days

407

Last year

Trend: -39.6% (30d vs prior 30d)

autoCRAN

7

Last 7 days

64

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

540

Last 30 days

1.4K

Last 90 days

6.6K

Last year

Trend: -6.4% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 29, 2026
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 24, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘Introduction-to-SoilProfileCollection-Objects.Rmd’ using rmarkdown
--- finished re-building ‘Introduction-to-SoilProfileCollection-Objects.Rmd’

--- re-building ‘Munsell-color-conversion.Rmd’ 
...[truncated]...
ilding ‘label-placement.Rmd’

--- re-building ‘new-in-aqp-2.Rmd’ using rmarkdown
--- finished re-building ‘new-in-aqp-2.Rmd’

SUMMARY: processing the following file failed:
  ‘label-placement.Rmd’

Error: Vignette re-building failed.
Execution halted
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.0Mb
  sub-directories of 1Mb or more:
    R      2.1Mb
    data   2.0Mb
    doc    2.0Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.0Mb
  sub-directories of 1Mb or more:
    R      2.1Mb
    data   2.0Mb
    doc    2.0Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.2Mb
  sub-directories of 1Mb or more:
    R      1.2Mb
    data   2.0Mb
    doc    2.0Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.9Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    data   2.0Mb
    doc    1.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.9Mb
  sub-directories of 1Mb or more:
    R      2.0Mb
    data   2.0Mb
    doc    1.9Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  6.1Mb
  sub-directories of 1Mb or more:
    R      1.2Mb
    data   2.0Mb
    doc    1.9Mb

Code

Structure

Lines of code

61,652

Files

508

Compiled share

0%

Has compiled src

No

Language breakdown

R 35,167 (57%)Tests 8,245 (13.4%)Docs 15,695 (25.5%)Vignettes 2,545 (4.1%)

API

Exported functions

171

Internal functions

105

Recent export changes

v2.3.2+1 formatMunsell
v2.3.1+2 launderMunsell, validateMunsell

Testing & CI

Has tests

Yes

Test-to-code ratio

0.23

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

88.4%

\dontrun example ratio

4.4%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

7.7%

Unsafe pattern score

18

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

73

First release

2010-05-07

Latest release

2026-04-30

Avg cadence

62 days

Cold removal rate

100%

Dep drift

34

LOC over versions

v2.11.1: 2,513 LOCv0.80: 2,513 LOCv0.85: 2,847 LOCv0.88: 2,881 LOCv0.90: 3,084 LOCv0.94: 3,221 LOCv0.94-1: 3,224 LOCv2.12.0: 3,405 LOCv0.97: 3,405 LOCv2.12.1: 3,400 LOCv0.98-3: 3,400 LOCv2.12.2: 5,340 LOCv0.99-1: 3,446 LOCv0.99-5: 3,741 LOCv0.99-8: 4,034 LOCv0.99-8.1: 4,034 LOCv0.99-8.47: 5,284 LOCv0.99-8.56: 5,439 LOCv0.99-9: 5,464 LOCv0.99-9.1: 5,036 LOCv0.99-9.51: 5,340 LOCv2.15.0: 5,201 LOCv1.0: 5,201 LOCv2.15.1: 5,252 LOCv1.2-5: 5,252 LOCv1.2-7: 5,255 LOCv2.15.2: 5,619 LOCv1.3: 5,619 LOCv1.4: 5,941 LOCv2.15.3: 6,419 LOCv1.5: 6,419 LOCv3.0.1: 6,555 LOCv1.5-2: 6,555 LOCv3.0.2: 6,572 LOCv1.5-3: 6,572 LOCv3.0.3: 6,868 LOCv1.6: 6,868 LOCv1.7: 7,264 LOCv1.7-7: 6,691 LOCv1.8: 7,513 LOCv1.8-6: 7,816 LOCv1.9.2: 8,215 LOCv1.9.3: 8,211 LOCv1.9.10: 8,995 LOCv1.9.14: 9,077 LOCv1.10: 9,125 LOCv1.15: 9,538 LOCv1.16: 9,775 LOCv1.16-3: 10,326 LOCv1.17: 12,211 LOCv1.18: 14,225 LOCv1.18.1: 14,265 LOCv1.19: 16,018 LOCv1.25: 28,488 LOCv1.27: 38,844 LOCv1.29: 41,400 LOCv1.30: 43,043 LOCv1.31: 43,837 LOCv1.32: 44,873 LOCv1.40: 46,044 LOCv1.41: 46,372 LOCv1.42: 47,104 LOCv2.0: 53,692 LOCv2.0.1: 53,953 LOCv2.0.2: 55,163 LOCv2.0.3: 56,019 LOCv2.0.4: 57,221 LOCv2.1.0: 58,268 LOCv2.2: 57,782 LOCv2.2-1: 58,025 LOCv2.3: 59,698 LOCv2.3.1: 61,307 LOCv2.3.2: 61,652 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (5)

imports

Dependency Network

Dependencies Reverse dependencies lattice cluster data.table farver digest colorspace ape sharpshootR gridpattern soilDB soilKey soilassessment aqp

Version History

63 tracked
updated 2.3.2 ← 2.3.1 diff Apr 30, 2026
updated 2.3.1 ← 2.3 diff Mar 20, 2026
new 2.3 Mar 10, 2026
updated 2.3 ← 2.2-1 diff Jan 16, 2026
updated 2.2-1 ← 2.2 diff Sep 16, 2025
updated 2.2 ← 2.1.0 diff Feb 14, 2025
updated 2.1.0 ← 2.0.4 diff Oct 18, 2024
updated 2.0.4 ← 2.0.3 diff Jul 29, 2024
updated 2.0.3 ← 2.0.2 diff Apr 17, 2024
updated 2.0.2 ← 2.0.1 diff Nov 27, 2023
updated 2.0.1 ← 2.0 diff Sep 5, 2023
updated 2.0 ← 1.42 diff Aug 27, 2023
updated 1.42 ← 1.41 diff Apr 11, 2022
updated 1.41 ← 1.40 diff Feb 10, 2022
updated 1.40 ← 1.32 diff Jan 4, 2022