{
  "_id": "6a311cdd3efcd9bda435be59",
  "Package": "leafwax",
  "Title": "Bayesian Inversion of Leaf Wax Hydrogen Isotopes to\nPrecipitation",
  "Version": "0.2.7",
  "Authors@R": "person(\"Alex\", \"Bradley\", , \"abradley@wustl.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4044-2802\"))",
  "Description": "Bayesian inversion of leaf wax hydrogen isotopes to\nreconstruct precipitation isotopes using hierarchical spatial\nmodels. Provides fourteen Bayesian models that vary in their\nuse of spatial Gaussian processes and ancillary covariates\n(precipitation amount, plant functional type, C4 fraction).\nModels are pre-computed using 'Stan' and stored as posterior\ndistributions, so prediction does not require 'Stan' to be\ninstalled. A 100-draw fixture ships with the package; full\n1000-draw posteriors are downloaded from a versioned 'Zenodo'\ndeposit on first use; see Bradley (2026)\n<doi:10.5281/zenodo.20085465>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/bradleylab/leafwax,\nhttps://bradleylab.github.io/leafwax/",
  "BugReports": "https://github.com/bradleylab/leafwax/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "Config/testthat/edition": "3",
  "Repository": "https://bradleylab.r-universe.dev",
  "Date/Publication": "2026-06-08 02:34:58 UTC",
  "RemoteUrl": "https://github.com/bradleylab/leafwax",
  "RemoteRef": "HEAD",
  "RemoteSha": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-16 09:48:17 UTC",
    "User": "root"
  },
  "Author": "Alex Bradley [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4044-2802>)",
  "Maintainer": "Alex Bradley <abradley@wustl.edu>",
  "MD5sum": "894d4a2a35ff23fc353a7ff5f0cd78c1",
  "_user": "bradleylab",
  "_type": "src",
  "_file": "leafwax_0.2.7.tar.gz",
  "_fileid": "34debcfe947daf4c9e25223ecb6b9eb4d842f55f289ab1b5071a00f66ea8cd48",
  "_filesize": 2135013,
  "_sha256": "34debcfe947daf4c9e25223ecb6b9eb4d842f55f289ab1b5071a00f66ea8cd48",
  "_created": "2026-06-16T09:48:17.000Z",
  "_published": "2026-06-16T09:52:29.282Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81628432415,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7663196985"
    },
    {
      "job": 81628432408,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663196964"
    },
    {
      "job": 81628432446,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7663216750"
    },
    {
      "job": 81628432409,
      "time": 180,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663201439"
    },
    {
      "job": 81627805999,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663143528"
    },
    {
      "job": 81628432406,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663185417"
    },
    {
      "job": 81628432424,
      "time": 127,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7663194020"
    },
    {
      "job": 81628432414,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7663182814"
    },
    {
      "job": 81628432386,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7663185789"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bradleylab/leafwax",
  "_commit": {
    "id": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
    "author": "Alex Bradley <bradleylab@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #8 from bradleylab/chore/citation-cff-0.2.7\n\nchore(citation): bump CITATION.cff to 0.2.7",
    "time": 1780886098
  },
  "_maintainer": {
    "name": "Alex Bradley",
    "email": "abradley@wustl.edu",
    "login": "bradleylab",
    "description": "",
    "uuid": 5043509,
    "orcid": "0000-0002-4044-2802"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rappdirs",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bradleylab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-40",
      "n": 6
    },
    {
      "week": "2026-19",
      "n": 12
    },
    {
      "week": "2026-20",
      "n": 18
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-05-08"
    },
    {
      "name": "v0.2.2",
      "date": "2026-05-09"
    },
    {
      "name": "v0.2.3",
      "date": "2026-05-13"
    },
    {
      "name": "v0.2.4",
      "date": "2026-05-13"
    },
    {
      "name": "v0.2.5",
      "date": "2026-05-14"
    },
    {
      "name": "v0.2.6",
      "date": "2026-05-16"
    },
    {
      "name": "v0.2.7",
      "date": "2026-06-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bradleylab",
      "count": 80,
      "uuid": 5043509
    }
  ],
  "_userbio": {
    "uuid": 5043509,
    "type": "user",
    "name": "Alex Bradley",
    "followers": 7
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/leafwax"
  },
  "_devurl": "https://github.com/bradleylab/leafwax",
  "_pkgdown": "https://bradleylab.github.io/leafwax/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/leafwax.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bradleylab/leafwax",
  "_realowner": "bradleylab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.7",
      "date": "2026-06-15"
    }
  ],
  "_exports": [
    "assess_claim",
    "available_models",
    "batch_predict",
    "check_data_cache",
    "clear_download_cache",
    "compare_models",
    "compute_vegetation_envelope",
    "detect_change",
    "detect_model_capabilities",
    "download_model_data",
    "estimate_temporal_autocorrelation",
    "generate_fibonacci_sphere",
    "get_all_model_metadata",
    "get_cache_dir",
    "get_cache_info",
    "get_data_path",
    "get_data_url",
    "get_model_info",
    "get_model_parameters",
    "invert_d2h",
    "invert_d2H",
    "invert_d2H_ensemble",
    "leafwax_config",
    "leafwax_set_config",
    "list_cached_models",
    "list_model_names",
    "list_models",
    "load_posteriors",
    "local_effective_slope",
    "predict_d2h_precip",
    "predict_spatial_dual_gp",
    "select_best_model_from_flags",
    "validate_inputs",
    "validate_model_inputs"
  ],
  "_datasets": [
    {
      "name": "example_data",
      "title": "Example leaf wax hydrogen isotope data",
      "object": "example_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "site_id",
        "longitude",
        "latitude",
        "elevation",
        "d2h_wax",
        "d2h_wax_sd",
        "c4_fraction",
        "pft_tree",
        "pft_shrub",
        "pft_grass"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "assess_claim",
      "title": "Assess a paleoclimate claim against the leaf-wax taxonomy",
      "topics": [
        "assess_claim"
      ]
    },
    {
      "page": "available_models",
      "title": "Get available models",
      "topics": [
        "available_models"
      ]
    },
    {
      "page": "batch_predict",
      "title": "Batch predict precipitation d2H for multiple sites",
      "topics": [
        "batch_predict"
      ]
    },
    {
      "page": "check_data_cache",
      "title": "Check if model data exists in cache",
      "topics": [
        "check_data_cache"
      ]
    },
    {
      "page": "clear_download_cache",
      "title": "Clear download cache",
      "topics": [
        "clear_download_cache"
      ]
    },
    {
      "page": "compare_models",
      "title": "Compare predictions across multiple models",
      "topics": [
        "compare_models"
      ]
    },
    {
      "page": "compute_vegetation_envelope",
      "title": "Vegetation-only envelope for a paleo wax-isotope record",
      "topics": [
        "compute_vegetation_envelope"
      ]
    },
    {
      "page": "detect_change",
      "title": "Within-record d2H_precip change detection",
      "topics": [
        "detect_change"
      ]
    },
    {
      "page": "detect_model_capabilities",
      "title": "Detect model capabilities from static v10 metadata",
      "topics": [
        "detect_model_capabilities"
      ]
    },
    {
      "page": "download_model_data",
      "title": "Download model data from GitHub releases",
      "topics": [
        "download_model_data"
      ]
    },
    {
      "page": "estimate_temporal_autocorrelation",
      "title": "Estimate lag-1 temporal autocorrelation",
      "topics": [
        "estimate_temporal_autocorrelation"
      ]
    },
    {
      "page": "example_data",
      "title": "Example leaf wax hydrogen isotope data",
      "topics": [
        "example_data"
      ]
    },
    {
      "page": "get_all_model_metadata",
      "title": "Get all model metadata",
      "topics": [
        "get_all_model_metadata"
      ]
    },
    {
      "page": "get_cache_dir",
      "title": "Get leafwax data cache directory",
      "topics": [
        "get_cache_dir"
      ]
    },
    {
      "page": "get_cache_info",
      "title": "Get cache size information",
      "topics": [
        "get_cache_info"
      ]
    },
    {
      "page": "get_data_path",
      "title": "Get path to data file",
      "topics": [
        "get_data_path"
      ]
    },
    {
      "page": "get_data_url",
      "title": "Get data download URLs",
      "topics": [
        "get_data_url"
      ]
    },
    {
      "page": "get_model_info",
      "title": "Get model info",
      "topics": [
        "get_model_info"
      ]
    },
    {
      "page": "get_model_parameters",
      "title": "Get model parameters",
      "topics": [
        "get_model_parameters"
      ]
    },
    {
      "page": "invert_d2h",
      "title": "Invert leaf wax d2H to precipitation d2H",
      "topics": [
        "invert_d2H",
        "invert_d2h"
      ]
    },
    {
      "page": "invert_d2H_ensemble",
      "title": "Ensemble predictions across multiple models",
      "topics": [
        "invert_d2H_ensemble"
      ]
    },
    {
      "page": "leafwax_config",
      "title": "Get leafwax configuration",
      "topics": [
        "leafwax_config"
      ]
    },
    {
      "page": "leafwax_set_config",
      "title": "Set leafwax configuration",
      "topics": [
        "leafwax_set_config"
      ]
    },
    {
      "page": "list_cached_models",
      "title": "List available models in cache",
      "topics": [
        "list_cached_models"
      ]
    },
    {
      "page": "list_model_names",
      "title": "List model names",
      "topics": [
        "list_model_names"
      ]
    },
    {
      "page": "list_models",
      "title": "List available models with details",
      "topics": [
        "list_models"
      ]
    },
    {
      "page": "load_posteriors",
      "title": "Load posterior draws for a model",
      "topics": [
        "load_posteriors"
      ]
    },
    {
      "page": "local_effective_slope",
      "title": "Local effective slope at a paleo-reconstruction site",
      "topics": [
        "local_effective_slope"
      ]
    },
    {
      "page": "predict_d2h_precip",
      "title": "Predict precipitation d2H from leaf wax d2H",
      "topics": [
        "predict_d2h_precip"
      ]
    },
    {
      "page": "print.leafwax_posterior",
      "title": "Print method for leafwax_posterior",
      "topics": [
        "print.leafwax_posterior"
      ]
    },
    {
      "page": "select_best_model_from_flags",
      "title": "Select best model based on available data",
      "topics": [
        "select_best_model_from_flags"
      ]
    },
    {
      "page": "validate_inputs",
      "title": "Validate input data for inversion",
      "topics": [
        "validate_inputs"
      ]
    },
    {
      "page": "validate_model_inputs",
      "title": "Validate inputs for a specific model",
      "topics": [
        "validate_model_inputs"
      ]
    }
  ],
  "_readme": "https://github.com/bradleylab/leafwax/raw/HEAD/README.md",
  "_rundeps": [
    "jsonlite"
  ],
  "_vignettes": [
    {
      "source": "paleo-record-workflow.Rmd",
      "filename": "paleo-record-workflow.html",
      "title": "When can a leaf-wax record support a precipitation-isotope claim?",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Load both records",
        "2. Plot the wax records",
        "3. Claim levels used by assess_claim()",
        "4. Local effective slope",
        "5. Invert wax values to precipitation values",
        "6. Detection threshold and posterior probability of change",
        "7. Assess a claim",
        "7b. Magnitude path: rejecting vegetation as the sole explanation",
        "8. Plot the reconstructions",
        "Takeaway",
        "Notes"
      ],
      "created": "2026-05-08 02:53:26",
      "modified": "2026-06-01 17:49:07",
      "commits": 15
    }
  ],
  "_score": 4.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "leafwax",
  "_universes": [
    "bradleylab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-06-16T09:50:21.000Z",
      "distro": "noble",
      "commit": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
      "fileid": "1b12d8f50cb7854746d653fd0f6f3d9a6c53f85c6a41a2e01a5fabf5ca7f624d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-06-16T09:50:21.000Z",
      "distro": "noble",
      "commit": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
      "fileid": "3b7cbfb6e290b8c9d71bbcdd057a125c19c0d062c53516eb8a841374fb7abe05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-06-16T09:51:06.000Z",
      "commit": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
      "fileid": "dc30756fe7e37376979ce2a76ca56dce755ba92280f232229fff4ba9d4745f88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-06-16T09:50:32.000Z",
      "commit": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
      "fileid": "af2559cea60f66cd5d015473bc055b68c2d8657cae9190d3903b52ae1862a4ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.7",
      "date": "2026-06-16T09:50:18.000Z",
      "commit": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
      "fileid": "137fc9bbe4dd722e72937bfd20dc6f02b1e10038834c26736eb29ae8c053dce4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-16T09:50:00.000Z",
      "commit": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
      "fileid": "bb4d84027d80f4bdb38edbf677018c57b2c070caf01182eb206773a3c78e2857",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-16T09:49:28.000Z",
      "commit": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
      "fileid": "4608090eb67f81903bbea871e6c1ed5d771d2790d119eb5a47b0513ec00b0069",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-16T09:49:32.000Z",
      "commit": "085737c97e94a9d0af593d0b4acb8f7a9b63e24c",
      "fileid": "d7548ab66412ac42d2947c027d4d95f028ab46492142d7c9b79282abaa647759",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/27608842660"
    }
  ]
}