{
  "_id": "6ad0ba5db0a1b4b4099d76ca",
  "Package": "leafwax",
  "Title": "Bayesian Inversion of Leaf Wax Hydrogen Isotopes to\nPrecipitation",
  "Version": "0.4.0",
  "Authors@R": "person(\"Alexander S.\", \"Bradley\", , \"abradley@wustl.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4044-2802\"))",
  "Author": "Alexander S. Bradley [aut, cre]\n(<https://orcid.org/0000-0002-4044-2802>)",
  "Maintainer": "Alexander S. Bradley <abradley@wustl.edu>",
  "Description": "Full Bayesian inversion of leaf wax hydrogen isotopes to\nreconstruct precipitation isotopes from hierarchical\ncalibration posteriors. The likelihood is integrated over\npaired calibration draws and an explicit proper reconstruction\nprior, without dividing by sampled slopes. Multi-sample records\njointly reweight shared calibration draws. A 100-draw fixture\nis included only for code-path verification; complete posterior\ndeposits are required for inference and are distributed in the\ncompanion public data repository.",
  "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-08-11 01:59:50 UTC",
  "RemoteUrl": "https://github.com/bradleylab/leafwax",
  "RemoteRef": "HEAD",
  "RemoteSha": "3147c052e94c70f0d98dc7c739a60698e220abf7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-15 11:29:11 UTC",
    "User": "root"
  },
  "_user": "bradleylab",
  "_type": "src",
  "_file": "leafwax_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7ef4ebd5d92dcc190dcb68c4653ca38a38f0f4fbb45ece0eba1ebcfab57aabe1",
  "_filesize": 2091253,
  "_sha256": "7ef4ebd5d92dcc190dcb68c4653ca38a38f0f4fbb45ece0eba1ebcfab57aabe1",
  "_expires": "2027-01-23T11:34:51.000Z",
  "_created": "2026-10-15T11:29:11.000Z",
  "_published": "2026-10-15T11:34:53.641Z",
  "_buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116397572837,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11969120741"
    },
    {
      "job": 116397572883,
      "time": 108,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11968960859"
    },
    {
      "job": 116397572970,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11969525938"
    },
    {
      "job": 116397572841,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11968991135"
    },
    {
      "job": 116396261657,
      "time": 200,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11968755720"
    },
    {
      "job": 116397572809,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11969840076"
    },
    {
      "job": 116397573030,
      "time": 84,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11969090720"
    },
    {
      "job": 116397572758,
      "time": 80,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11969020779"
    },
    {
      "job": 116397572948,
      "time": 83,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11969760057"
    }
  ],
  "_upstream": "https://github.com/bradleylab/leafwax",
  "_commit": {
    "id": "3147c052e94c70f0d98dc7c739a60698e220abf7",
    "author": "Alex Bradley <bradleylab@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #9 from bradleylab/release/cee-submission\n\nRelease leafwax 0.4.0 with verified Bayesian inversion",
    "time": 1786413590
  },
  "_maintainer": {
    "name": "Alexander S. Bradley",
    "email": "abradley@wustl.edu",
    "login": "bradleylab",
    "description": "",
    "uuid": 5043509,
    "orcid": "0000-0002-4044-2802"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "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": "2026-19",
      "n": 12
    },
    {
      "week": "2026-20",
      "n": 18
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 3
    },
    {
      "week": "2026-33",
      "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"
    },
    {
      "name": "v0.3.0",
      "date": "2026-07-10"
    },
    {
      "name": "v0.4.0",
      "date": "2026-08-11"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bradleylab",
      "count": 90,
      "uuid": 5043509
    }
  ],
  "_userbio": {
    "uuid": 5043509,
    "type": "user",
    "name": "Alex Bradley",
    "followers": 9
  },
  "_downloads": {
    "count": 158,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/leafwax"
  },
  "_devurl": "https://github.com/bradleylab/leafwax",
  "_pkgdown": "https://bradleylab.github.io/leafwax/",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/leafwax.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "bayesian_linear_inverse",
    "bayesian_record_inverse",
    "check_data_cache",
    "clear_download_cache",
    "compare_models",
    "compute_vegetation_envelope",
    "d2h_prior_normal",
    "d2h_prior_truncated_normal",
    "d2h_prior_uniform",
    "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": "Jointly invert multiple observations from one record",
      "topics": [
        "batch_predict"
      ]
    },
    {
      "page": "bayesian_linear_inverse",
      "title": "Bayesian inversion of a linear calibration posterior",
      "topics": [
        "bayesian_linear_inverse"
      ]
    },
    {
      "page": "bayesian_record_inverse",
      "title": "Joint Bayesian inversion of a multi-sample record",
      "topics": [
        "bayesian_record_inverse"
      ]
    },
    {
      "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": "d2h_prior_normal",
      "title": "Normal prior for precipitation-isotope inversion",
      "topics": [
        "d2h_prior_normal"
      ]
    },
    {
      "page": "d2h_prior_truncated_normal",
      "title": "Truncated-normal prior for precipitation-isotope inversion",
      "topics": [
        "d2h_prior_truncated_normal"
      ]
    },
    {
      "page": "d2h_prior_uniform",
      "title": "Uniform prior for precipitation-isotope inversion",
      "topics": [
        "d2h_prior_uniform"
      ]
    },
    {
      "page": "detect_change",
      "title": "Within-record d2H_precip change detection",
      "topics": [
        "detect_change"
      ]
    },
    {
      "page": "detect_model_capabilities",
      "title": "Detect model capabilities from static metadata",
      "topics": [
        "detect_model_capabilities"
      ]
    },
    {
      "page": "download_model_data",
      "title": "Download model data from the configured public release",
      "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": "Bayesian inversion of 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": [
    "digest",
    "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-08-11 01:59:50",
      "commits": 19
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "leafwax",
  "_universes": [
    "bradleylab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-15T11:31:05.000Z",
      "distro": "resolute",
      "commit": "3147c052e94c70f0d98dc7c739a60698e220abf7",
      "fileid": "https://r2.ropensci.org/e2c549f6fe52fa457ff0b8eede4010c8e2e9728488fad29fad426630af1a21ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-15T11:31:00.000Z",
      "distro": "resolute",
      "commit": "3147c052e94c70f0d98dc7c739a60698e220abf7",
      "fileid": "https://r2.ropensci.org/0a1b98e8a9ee49e052097d23389da4fa5d8716f2795b1506a9648271ded6dbdf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-15T11:34:11.000Z",
      "commit": "3147c052e94c70f0d98dc7c739a60698e220abf7",
      "fileid": "https://r2.ropensci.org/36e3eb90bbe6c0327d83479419ef31347b103f1011c1bb9c6a9e7c3621336d07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-15T11:32:32.000Z",
      "commit": "3147c052e94c70f0d98dc7c739a60698e220abf7",
      "fileid": "https://r2.ropensci.org/ac108fc73175350c6c002a5626fcf12c9948c66a142bb75e316ceb35bddbd425",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-10-15T11:31:14.000Z",
      "commit": "3147c052e94c70f0d98dc7c739a60698e220abf7",
      "fileid": "https://r2.ropensci.org/14319b8d1f009825495c4d05973eabf4b8be901b3d32c6f48631054b9f90eafc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-15T11:30:24.000Z",
      "commit": "3147c052e94c70f0d98dc7c739a60698e220abf7",
      "fileid": "https://r2.ropensci.org/dae0be3552a5857733e936b3a5b01dc6e568eb0b45a6d3bc7effcefdcfe0339c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-15T11:30:24.000Z",
      "commit": "3147c052e94c70f0d98dc7c739a60698e220abf7",
      "fileid": "https://r2.ropensci.org/8ecc751b27434b37bb39cae27d55bcb5b609acf52a4f8c324526ed273c3ffa4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-15T11:30:31.000Z",
      "commit": "3147c052e94c70f0d98dc7c739a60698e220abf7",
      "fileid": "https://r2.ropensci.org/07cfc3b1a1ca559dbb665c3c0fb028f6f36dcf0e9033b6bd409ee9e14c79e274",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bradleylab/actions/runs/38727274370"
    }
  ]
}