{
  "_id": "6a1f09f0b401979e7341c44d",
  "Package": "soilVAE",
  "Type": "Package",
  "Title": "Supervised Variational Autoencoder Regression via 'reticulate'",
  "Version": "0.1.9",
  "Authors@R": "person(\"Hugo\", \"Rodrigues\", email = \"rodrigues.machado.hugo@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Supervised latent-variable regression for high-dimensional\npredictors such as soil reflectance spectra. The model uses an\nencoder-decoder neural network with a stochastic Gaussian\nlatent representation regularized by a Kullback-Leibler term,\nand a supervised prediction head trained jointly with the\nreconstruction objective. The implementation interfaces R with\na 'Python' deep-learning backend and provides utilities for\ntraining, tuning, and prediction.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "Python (>= 3.9); TensorFlow (>= 2.13); Keras (>= 3)",
  "URL": "https://hugomachadorodrigues.github.io/soilVAE/,\nhttps://github.com/HugoMachadoRodrigues/soilVAE/",
  "BugReports": "https://github.com/HugoMachadoRodrigues/soilVAE/issues",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://hugomachadorodrigues.r-universe.dev",
  "Date/Publication": "2026-03-12 21:05:21 UTC",
  "RemoteUrl": "https://github.com/hugomachadorodrigues/soilvae",
  "RemoteRef": "HEAD",
  "RemoteSha": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 05:53:18 UTC",
    "User": "root"
  },
  "Author": "Hugo Rodrigues [aut, cre]",
  "Maintainer": "Hugo Rodrigues <rodrigues.machado.hugo@gmail.com>",
  "MD5sum": "7caf3a65618177fbb8ea813122d950e3",
  "_user": "hugomachadorodrigues",
  "_type": "src",
  "_file": "soilVAE_0.1.9.tar.gz",
  "_fileid": "cae4956607e0b7788fc0b045aaa7f983e0a38260a2498203ac5d6e88bc7a675b",
  "_filesize": 3388610,
  "_sha256": "cae4956607e0b7788fc0b045aaa7f983e0a38260a2498203ac5d6e88bc7a675b",
  "_created": "2026-05-18T05:53:18.000Z",
  "_published": "2026-06-02T16:50:56.031Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79124885646,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7050474001"
    },
    {
      "job": 79124886206,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050473767"
    },
    {
      "job": 79124885842,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7050472185"
    },
    {
      "job": 79124886556,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050471483"
    },
    {
      "job": 79124885321,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050448800"
    },
    {
      "job": 79124885255,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364264677"
    },
    {
      "job": 79124885636,
      "time": 94,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7050467099"
    },
    {
      "job": 79124885908,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7050466781"
    },
    {
      "job": 79124886580,
      "time": 71,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050462646"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hugomachadorodrigues/soilvae",
  "_commit": {
    "id": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
    "author": "Hugo Rodrigues <rodrigues.h@Hugos-MacBook-Pro.local>",
    "committer": "Hugo Rodrigues <rodrigues.h@Hugos-MacBook-Pro.local>",
    "message": "v0.1.9: address CRAN reviewer feedback\n\n- DESCRIPTION: quotes now only around software/package names ('reticulate',\n  'Python'); removed from plain technical terms (Variational, Autoencoder,\n  latent-variable, reflectance, encoder-decoder, etc.)\n- Add \\examples{} to all exported function Rd files; functions requiring\n  Python use \\dontrun{}, select_best_from_grid has a runnable example\n- Fix duplicate \\usage{}/\\description{} sections in Rd files by consolidating\n  each function into a single source file (removed duplicate definitions from\n  exports.R, tune_vae.R, and py_setup.R)\n- Update cran-comments.md to describe changes made\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>\n",
    "time": 1773349521
  },
  "_maintainer": {
    "name": "Hugo Rodrigues",
    "email": "rodrigues.machado.hugo@gmail.com",
    "login": "hugomachadorodrigues",
    "twitter": "@Hugo_MRodrigues",
    "description": "Research Soil Scientist | Soil Health Modeling, Digital Soil Mapping & AI | Spectroscopy",
    "uuid": 37313555
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "prospectr",
      "role": "Suggests"
    },
    {
      "package": "pls",
      "role": "Suggests"
    }
  ],
  "_owner": "hugomachadorodrigues",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-08",
      "n": 38
    },
    {
      "week": "2026-09",
      "n": 15
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-02-20"
    },
    {
      "name": "v0.1.1",
      "date": "2026-02-20"
    },
    {
      "name": "v0.1.2",
      "date": "2026-02-20"
    },
    {
      "name": "v0.1.3",
      "date": "2026-02-22"
    },
    {
      "name": "v0.1.3.1",
      "date": "2026-02-22"
    },
    {
      "name": "v0.1.4",
      "date": "2026-02-23"
    },
    {
      "name": "v.0.1.9",
      "date": "2026-03-12"
    }
  ],
  "_topics": [
    "deep-learning",
    "soil-properties",
    "soil-science",
    "soil-spectroscopy",
    "tensorflow",
    "variational-autoencoder"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "hugomachadorodrigues",
      "count": 53,
      "uuid": 37313555
    }
  ],
  "_userbio": {
    "uuid": 37313555,
    "type": "user",
    "name": "Hugo Rodrigues",
    "description": "Research Soil Scientist | Soil Health Modeling, Digital Soil Mapping & AI | Spectroscopy"
  },
  "_downloads": {
    "count": 480,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/soilVAE"
  },
  "_devurl": "https://github.com/hugomachadorodrigues/soilvae",
  "_pkgdown": "https://hugomachadorodrigues.github.io/soilVAE/",
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/soilVAE.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hugomachadorodrigues/soilvae",
  "_realowner": "hugomachadorodrigues",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.9",
      "date": "2026-03-17"
    }
  ],
  "_exports": [
    "select_best_from_grid",
    "tune_vae_train_val",
    "vae_build",
    "vae_configure",
    "vae_encode",
    "vae_fit",
    "vae_predict"
  ],
  "_datasets": [
    {
      "name": "datsoilspc",
      "title": "Soil spectroscopy example dataset used in the soilVAE vignettes",
      "object": "datsoilspc",
      "file": "datsoilspc.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "clay",
        "silt",
        "sand",
        "TotalCarbon",
        "spc"
      ],
      "rows": 391,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "datsoilspc",
      "title": "Soil spectroscopy example dataset used in the soilVAE vignettes",
      "topics": [
        "datsoilspc"
      ]
    },
    {
      "page": "select_best_from_grid",
      "title": "Select the best configuration from a tuning table",
      "topics": [
        "select_best_from_grid"
      ]
    },
    {
      "page": "tune_vae_train_val",
      "title": "Tune VAEReg on a train/validation split",
      "topics": [
        "tune_vae_train_val"
      ]
    },
    {
      "page": "vae_build",
      "title": "Build a supervised VAE regression model (VAEReg)",
      "topics": [
        "vae_build"
      ]
    },
    {
      "page": "vae_configure",
      "title": "Configure Python / reticulate for soilVAE",
      "topics": [
        "vae_configure"
      ]
    },
    {
      "page": "vae_encode",
      "title": "Extract latent embeddings (z) from VAEReg",
      "topics": [
        "vae_encode"
      ]
    },
    {
      "page": "vae_fit",
      "title": "Fit VAEReg",
      "topics": [
        "vae_fit"
      ]
    },
    {
      "page": "vae_predict",
      "title": "Predict y using VAEReg (via latent z -> y_head)",
      "topics": [
        "vae_predict"
      ]
    }
  ],
  "_pkglogo": "https://github.com/hugomachadorodrigues/soilvae/raw/HEAD/man/figures/soilVAE-og.png",
  "_readme": "https://github.com/hugomachadorodrigues/soilvae/raw/HEAD/README.md",
  "_rundeps": [
    "here",
    "jsonlite",
    "lattice",
    "Matrix",
    "png",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "index.Rmd",
      "filename": "index.html",
      "title": "soilVAE vignettes",
      "engine": "knitr::rmarkdown",
      "headings": {},
      "created": "2026-02-22 00:28:46",
      "modified": "2026-02-24 00:45:22",
      "commits": 6
    },
    {
      "source": "soilVAE-workflow.Rmd",
      "filename": "soilVAE-workflow.html",
      "title": "soilVAE Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Packages",
        "Data",
        "Utility: evaluation metrics (base R)",
        "Spectra preprocessing (reflectance → absorbance → resample → SNV → movav)",
        "Split: calibration (datC) vs test (datV)",
        "Baseline: PLS (train on datC, evaluate on datV)",
        "soilVAE: supervised VAE regression (skips automatically if TF/Keras unavailable)",
        "Prepare matrices (scale X using train stats; keep y in original units)",
        "Fit and evaluate (only runs when TF/Keras is available)",
        "Final comparison table (PLS vs soilVAE)"
      ],
      "created": "2026-02-16 23:53:49",
      "modified": "2026-02-24 00:58:38",
      "commits": 10
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "soilvae",
  "_universes": [
    "hugomachadorodrigues"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-05-18T05:55:26.000Z",
      "distro": "noble",
      "commit": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
      "fileid": "920e5e3581238e0970b3e16d4ba2cdc890e3edf1206cd969b75eb3463423d360",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-05-18T05:55:26.000Z",
      "distro": "noble",
      "commit": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
      "fileid": "eb83d92833214b742aa57fcbfea1ba2f46dcb1600ef00475c13d55959f0d0174",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-05-18T05:55:22.000Z",
      "commit": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
      "fileid": "4bd1e32b0664f9834b147c124a3c20784f78c9e599c5f0652be177b99faaa2a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-05-18T05:55:15.000Z",
      "commit": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
      "fileid": "cee6a922620232e4c0971f54ade689333ca2d6172b68d06cef79d8ffe0559335",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-05-18T05:54:45.000Z",
      "commit": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
      "fileid": "8a34cf426a3e6387adedf7de99c8aad030df492b5dbd3548f87182f796ae27f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-05-18T05:54:47.000Z",
      "commit": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
      "fileid": "ac923e3838eb8c0619d628b35fb302928e6676072a0ffe87c339601799bf5421",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-05-18T05:54:27.000Z",
      "commit": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
      "fileid": "65cf4bcd26141fde92bf5e93a231acc279a6e643a18160a216d9b276833b24ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.9",
      "date": "2026-06-02T16:50:32.000Z",
      "commit": "a9b8f4dc224e59e931b3f092d5487d8b7fae6e44",
      "fileid": "701e1b5951f703062bad56833be5f5ed38b6fe1c99a3831aac6bebe273568904",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hugomachadorodrigues/actions/runs/26016010319"
    }
  ]
}