Package: soilKey
Type: Package
Title: Automated Soil Profile Classification per WRB 2022, 'SiBCS' 5
        and USDA Soil Taxonomy 13
Version: 0.9.157
Date: 2026-06-30
Authors@R: 
    person("Hugo", "Rodrigues",
           email = "rodrigues.machado.hugo@gmail.com",
           role  = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-8070-8126"))
Description: Implements deterministic classification keys for the World
    Reference Base for Soil Resources 2022 (4th edition) and the Brazilian
    System of Soil Classification ('SiBCS', 5th edition). Provides a unified
    profile representation with explicit per-attribute provenance, multimodal
    extraction from field reports and photos via vision-language models,
    spatial priors from 'SoilGrids' and national soil maps, and gap-filling of
    soil attributes from Vis-NIR or MIR spectra via the Open Soil Spectral
    Library ('OSSL'). The taxonomic key itself is never delegated to a language
    model; LLMs are restricted to schema-validated extraction. Each
    classification result reports a key trace, a provenance-aware evidence
    grade, and ambiguities that further measurement would resolve.
License: MIT + file LICENSE
URL: https://github.com/HugoMachadoRodrigues/soilKey,
        https://hugomachadorodrigues.github.io/soilKey/
BugReports: https://github.com/HugoMachadoRodrigues/soilKey/issues
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
RoxygenNote: 7.3.3
Depends: R (>= 4.1)
Imports: R6, data.table, yaml, cli, rlang
Suggests: aqp, SoilTaxonomy, mpspline2, terra, foreign, sf, chromote,
        munsellinterpol, pls, prospectr, resemble, ellmer, httr,
        jsonlite, jsonvalidate, pdftools, magick, shiny (>= 1.7.0), DT,
        bslib, shinyWidgets, plotly, leaflet, htmltools, withr, DBI,
        RSQLite, testthat (>= 3.0.0), knitr, rmarkdown
Config/testthat/edition: 3
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-06-30 05:11:47 UTC; rodrigues.h
Author: Hugo Rodrigues [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-8070-8126>)
Maintainer: Hugo Rodrigues <rodrigues.machado.hugo@gmail.com>
Repository: CRAN
Date/Publication: 2026-06-30 13:20:02 UTC
Built: R 4.5.3; ; 2026-07-04 01:12:48 UTC; windows
