{
  "_id": "6a34f4e63efcd9bda43d22ff",
  "Package": "resemble",
  "Type": "Package",
  "Title": "Similarity Retrieval and Local Learning for Spectral\nChemometrics",
  "Version": "3.0.0",
  "Date": "2026-04-15",
  "Authors@R": "c(\nperson(given = \"Leonardo\",\nfamily = \"Ramirez-Lopez\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ramirez.lopez.leo@gmail.com\",\ncomment = c(ORCID = \"0000-0002-5369-5120\")),\nperson(given = \"Antoine\",\nfamily = \"Stevens\",\nrole = c(\"aut\", \"ctb\"),\ncomment = c(ORCID = \"0000-0002-1588-7519\")),\nperson(given = \"Claudio\",\nfamily = \"Orellano\",\nrole = c(\"ctb\"))\n)",
  "BugReports": "https://github.com/l-ramirez-lopez/resemble/issues",
  "Description": "Functions for dissimilarity analysis and machine learning\nin complex spectral data sets, including memory-based learning\n(MBL), optimal subset search and selection, and retrieval-based\nmodelling with model libraries. Supports local learning,\noptimisation of spectral libraries, and ensemble prediction\nfrom precomputed models. Most of these functions are based on\nthe methods presented in Ramirez-Lopez et al. (2013)\n<doi:10.1016/j.geoderma.2012.12.014>.",
  "License": "MIT + file LICENSE",
  "URL": "https://l-ramirez-lopez.github.io/resemble/,\nhttps://github.com/l-ramirez-lopez/resemble",
  "RdMacros": "mathjaxr",
  "VignetteBuilder": "quarto",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.3",
  "Encoding": "UTF-8",
  "Config/VersionName": "vortex",
  "Packaged": {
    "Date": "2026-06-19 07:46:46 UTC",
    "User": "root"
  },
  "Author": "Leonardo Ramirez-Lopez [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5369-5120>), Antoine Stevens [aut,\nctb] (ORCID: <https://orcid.org/0000-0002-1588-7519>), Claudio\nOrellano [ctb]",
  "Maintainer": "Leonardo Ramirez-Lopez <ramirez.lopez.leo@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-20 22:06:25 UTC",
  "RemoteUrl": "https://github.com/cran/resemble",
  "RemoteRef": "HEAD",
  "RemoteSha": "980fca59ed620c305e5cc3de482361d9420b60a2",
  "MD5sum": "d1998bae9171935b1005b72231129bf1",
  "_user": "cran",
  "_type": "src",
  "_file": "resemble_3.0.0.tar.gz",
  "_fileid": "92c4c863be4566f7d12595959cafb025e2b92c4866a5dfcad0e6c5d0fa1ee6d3",
  "_filesize": 4797666,
  "_sha256": "92c4c863be4566f7d12595959cafb025e2b92c4866a5dfcad0e6c5d0fa1ee6d3",
  "_created": "2026-06-19T07:46:46.000Z",
  "_published": "2026-06-19T07:51:02.461Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82306766784,
      "time": 179,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7744428668"
    },
    {
      "job": 82306766828,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7744422646"
    },
    {
      "job": 82306766830,
      "time": 169,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7744425889"
    },
    {
      "job": 82306766792,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7744427321"
    },
    {
      "job": 82305818619,
      "time": 405,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7744374981"
    },
    {
      "job": 82306766795,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7744414044"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27812466351",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/resemble",
  "_commit": {
    "id": "980fca59ed620c305e5cc3de482361d9420b60a2",
    "author": "Leonardo Ramirez-Lopez <ramirez.lopez.leo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 3.0.0\n",
    "time": 1776722785
  },
  "_maintainer": {
    "name": "Leonardo Ramirez-Lopez",
    "email": "ramirez.lopez.leo@gmail.com",
    "login": "l-ramirez-lopez",
    "orcid": "0000-0002-5369-5120",
    "twitter": "@rlleonardo",
    "description": "Social coding ☆ Favourite colour: infrared",
    "uuid": 5450209
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "RhpcBLASctl",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.3",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "prospectr",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.2.5",
      "date": "2025-10-17"
    },
    {
      "name": "3.0.0",
      "date": "2026-04-20"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "l-ramirez-lopez",
      "count": 10,
      "uuid": 5450209
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 866,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/resemble"
  },
  "_devurl": "https://github.com/l-ramirez-lopez/resemble",
  "_pkgdown": "https://l-ramirez-lopez.github.io/resemble/",
  "_searchresults": 64,
  "_quarto": true,
  "_topics": [
    "quarto",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_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/resemble.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/l-ramirez-lopez/resemble",
  "_realowner": "l-ramirez-lopez",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2014-03-11"
    },
    {
      "version": "1.1.1",
      "date": "2014-03-19"
    },
    {
      "version": "1.2.1",
      "date": "2016-02-03"
    },
    {
      "version": "1.2.2",
      "date": "2016-03-03"
    },
    {
      "version": "2.0.0",
      "date": "2020-11-09"
    },
    {
      "version": "2.1.2",
      "date": "2022-01-17"
    },
    {
      "version": "2.2.1",
      "date": "2022-08-31"
    },
    {
      "version": "2.2.2",
      "date": "2023-04-21"
    },
    {
      "version": "2.2.3",
      "date": "2024-02-16"
    },
    {
      "version": "2.2.4",
      "date": "2025-05-19"
    },
    {
      "version": "2.2.5",
      "date": "2025-10-17"
    },
    {
      "version": "3.0.0",
      "date": "2026-04-20"
    }
  ],
  "_exports": [
    "diss_correlation",
    "diss_cosine",
    "diss_euclidean",
    "diss_evaluate",
    "diss_mahalanobis",
    "diss_pca",
    "diss_pls",
    "dissimilarity",
    "fit_gpr",
    "fit_pls",
    "fit_wapls",
    "gesearch",
    "gesearch_control",
    "get_predictions",
    "liblex",
    "liblex_control",
    "mbl",
    "mbl_control",
    "model",
    "model_control",
    "ncomp_by_cumvar",
    "ncomp_by_opc",
    "ncomp_by_var",
    "ncomp_fixed",
    "neighbors_diss",
    "neighbors_k",
    "ortho_projection",
    "search_neighbors",
    "sid",
    "sim_eval"
  ],
  "_help": [
    {
      "page": "resemble-package",
      "title": "Overview of the functions in the resemble package",
      "topics": [
        "resemble-package",
        "resemble"
      ]
    },
    {
      "page": "diss_correlation",
      "title": "Correlation dissimilarity method constructor",
      "topics": [
        "diss_correlation"
      ]
    },
    {
      "page": "diss_cosine",
      "title": "Cosine dissimilarity method constructor",
      "topics": [
        "diss_cosine"
      ]
    },
    {
      "page": "diss_euclidean",
      "title": "Euclidean dissimilarity method constructor",
      "topics": [
        "diss_euclidean"
      ]
    },
    {
      "page": "diss_evaluate",
      "title": "Evaluate dissimilarity matrices",
      "topics": [
        "diss_evaluate",
        "sim_eval"
      ]
    },
    {
      "page": "diss_mahalanobis",
      "title": "Mahalanobis dissimilarity method constructor",
      "topics": [
        "diss_mahalanobis"
      ]
    },
    {
      "page": "diss_pca",
      "title": "PCA dissimilarity method constructor",
      "topics": [
        "diss_pca"
      ]
    },
    {
      "page": "diss_pls",
      "title": "PLS dissimilarity method constructor",
      "topics": [
        "diss_pls"
      ]
    },
    {
      "page": "dissimilarity",
      "title": "Compute dissimilarity matrices",
      "topics": [
        "dissimilarity"
      ]
    },
    {
      "page": "fit_methods",
      "title": "Local fitting method constructors",
      "topics": [
        "fit_gpr",
        "fit_methods",
        "fit_pls",
        "fit_wapls"
      ]
    },
    {
      "page": "gesearch",
      "title": "Evolutionary sample search for context-specific calibrations",
      "topics": [
        "gesearch",
        "gesearch.default",
        "gesearch.formula",
        "plot.gesearch",
        "predict.gesearch"
      ]
    },
    {
      "page": "gesearch_control",
      "title": "Control parameters for gesearch",
      "topics": [
        "gesearch_control"
      ]
    },
    {
      "page": "liblex",
      "title": "Build a precomputed library of localised experts using memory-based learning",
      "topics": [
        "liblex",
        "plot.liblex",
        "predict.liblex"
      ]
    },
    {
      "page": "liblex_control",
      "title": "Control parameters for liblex",
      "topics": [
        "liblex_control"
      ]
    },
    {
      "page": "mbl",
      "title": "Memory-based learning (mbl)",
      "topics": [
        "get_predictions",
        "mbl",
        "plot.mbl"
      ]
    },
    {
      "page": "mbl_control",
      "title": "Control parameters for memory-based learning",
      "topics": [
        "mbl_control"
      ]
    },
    {
      "page": "model",
      "title": "Global spectral calibration model",
      "topics": [
        "model",
        "predict.resemble_model"
      ]
    },
    {
      "page": "model_control",
      "title": "Control parameters for global model fitting",
      "topics": [
        "model_control"
      ]
    },
    {
      "page": "ncomp_selection",
      "title": "Component selection methods",
      "topics": [
        "ncomp_by_cumvar",
        "ncomp_by_opc",
        "ncomp_by_var",
        "ncomp_fixed",
        "ncomp_selection"
      ]
    },
    {
      "page": "neighbors",
      "title": "Neighbor selection methods",
      "topics": [
        "neighbors",
        "neighbors_diss",
        "neighbors_k"
      ]
    },
    {
      "page": "ortho_projection",
      "title": "Orthogonal projections",
      "topics": [
        "ortho_projection",
        "plot.ortho_projection",
        "predict.ortho_projection"
      ]
    },
    {
      "page": "search_neighbors",
      "title": "Search neighbors in a reference set",
      "topics": [
        "search_neighbors"
      ]
    },
    {
      "page": "sid",
      "title": "A function for computing the spectral information divergence between spectra (sid)",
      "topics": [
        "sid"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/resemble/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/resemble/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "foreach",
    "iterators",
    "lifecycle",
    "mathjaxr",
    "Rcpp",
    "RcppArmadillo",
    "RhpcBLASctl",
    "rlang"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "intro.qmd",
      "filename": "intro.html",
      "title": "1 Essential concepts and setup",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "Citing the package",
        "Dataset used across the vignettes",
        "Spectral preprocessing",
        "References"
      ],
      "created": "2026-04-20 22:06:25",
      "modified": "2026-04-20 22:06:25",
      "commits": 1
    },
    {
      "source": "dimensionality-reduction.qmd",
      "filename": "dimensionality-reduction.html",
      "title": "2 Dimensionality reduction of spectral data",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "Methods available in the resemble package",
        "Selecting the number of components",
        "Variance-based selection",
        "Individual variance threshold (ncomp_by_var())",
        "Cumulative variance threshold (ncomp_by_cumvar())",
        "Optimal component selection (ncomp_by_opc())",
        "Fixed number of components",
        "Dimentionality reduction methods in  ortho_projection()",
        "Available methods",
        "Example: PCA projection",
        "Example: PLS projection",
        "Example: Optimal component selection",
        "Projecting new data",
        "Multivariate side information",
        "References"
      ],
      "created": "2026-04-20 22:06:25",
      "modified": "2026-04-20 22:06:25",
      "commits": 1
    },
    {
      "source": "estimating-dissimilarity-between-spectra.qmd",
      "filename": "estimating-dissimilarity-between-spectra.html",
      "title": "3 Estimating dissimilarity between spectra",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "Main notation",
        "Available dissimilarity construtors",
        "Dissimilarity in orthogonal projection spaces",
        "PCA-based dissimilarity",
        "PLS-based dissimilarity",
        "Correlation dissimilarity",
        "Conventional correlation dissimilarity",
        "Moving window correlation dissimilarity",
        "Parallel execution for correlation-based dissimilarity (advanced users)",
        "Euclidean dissimilarity",
        "Cosine dissimilarity",
        "Evaluating dissimilarity methods",
        "References"
      ],
      "created": "2026-04-20 22:06:25",
      "modified": "2026-04-20 22:06:25",
      "commits": 1
    },
    {
      "source": "nearest-neighbor-search.qmd",
      "filename": "nearest-neighbor-search.html",
      "title": "4 Nearest-neighbor search",
      "engine": "quarto::html",
      "headings": [
        "Searching for neighbors",
        "Neighbor selection methods",
        "Fixed-$k$ selection",
        "Dissimilarity-threshold selection",
        "Using a specific number of neighbors",
        "Using a dissimilarity threshold",
        "Spiking the neighborhoods"
      ],
      "created": "2026-04-20 22:06:25",
      "modified": "2026-04-20 22:06:25",
      "commits": 1
    },
    {
      "source": "simple-global-models.qmd",
      "filename": "simple-global-models.html",
      "title": "5 Simple global models",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "Fitting methods",
        "Example",
        "Data preparation",
        "Fitting a PLS model",
        "Fitting a GPR model",
        "Prediction",
        "Validation statistics",
        "References"
      ],
      "created": "2026-04-20 22:06:25",
      "modified": "2026-04-20 22:06:25",
      "commits": 1
    },
    {
      "source": "classical-mbl.qmd",
      "filename": "classical-mbl.html",
      "title": "6 Classical memory-based learning (local modelling)",
      "engine": "quarto::html",
      "headings": [
        "Memory-based learning",
        "Fitting methods and constructors",
        "The mbl_control() function and validation types",
        "Model fitting and prediction",
        "Additional examples",
        "Using Yu argument",
        "Supported parallel processing",
        "References"
      ],
      "created": "2026-04-20 22:06:25",
      "modified": "2026-04-20 22:06:25",
      "commits": 1
    },
    {
      "source": "evolutionary-subset-search.qmd",
      "filename": "evolutionary-subset-search.html",
      "title": "7 Evolutionary subset search using gesearch",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "Glossary and conventions",
        "The gesearch algorithm: How it works",
        "Evolutionary search overview",
        "Weakness score computation",
        "Step 1: Evaluate each individual",
        "Step 2: Aggregate to gene-level weakness",
        "Interpretation",
        "Weakness functions",
        "Gene silencing",
        "Final model",
        "Key parameters",
        "Practical considerations",
        "Example workflow",
        "The dataset, the target set, and its practical constraints",
        "A simple linear model for predicting in the target set (baseline)",
        "The model built with the samples found by gesearch",
        "Further examples of gesearch",
        "No response values available for the target set",
        "No response values in the target set but with information about the response range",
        "Supported parallel processing",
        "References"
      ],
      "created": "2026-04-20 22:06:25",
      "modified": "2026-04-20 22:06:25",
      "commits": 1
    },
    {
      "source": "building-a-library-of-models-with-liblex.qmd",
      "filename": "building-a-library-of-models-with-liblex.html",
      "title": "8 Building a library of models with liblex",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "How liblex works",
        "Build phase",
        "Prediction phase",
        "Data preparation",
        "Core components",
        "Neighbor selection",
        "Dissimilarity methods",
        "Fitting method",
        "Control parameters",
        "Building a library of models",
        "Using fixed neighborhood size(s)",
        "Using dissimilarity thresholds",
        "Visualizing neighborhood centroids",
        "Visualizing the regression models",
        "Choosing anchor samples",
        "Using k-means sampling",
        "Building the library with selected anchors",
        "Prediction",
        "Prediction output",
        "Weighting options",
        "Enforcing specific experts",
        "Validation and performance",
        "Evaluation metrics",
        "Uncertainty as a quality filter",
        "Visualization",
        "Comparison with classical MBL",
        "Parallel processing",
        "Summary",
        "References"
      ],
      "created": "2026-04-20 22:06:25",
      "modified": "2026-04-20 22:06:25",
      "commits": 1
    }
  ],
  "_score": 4.70926996097583,
  "_indexed": false,
  "_nocasepkg": "resemble",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://l-ramirez-lopez.r-universe.dev/resemble",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-19T07:49:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "980fca59ed620c305e5cc3de482361d9420b60a2",
      "fileid": "155bbed3da171def518f66d61d1c910a0689613d373130f9201b1ee80b80f915",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27812466351"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-19T07:49:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "980fca59ed620c305e5cc3de482361d9420b60a2",
      "fileid": "5c412235d6378c8d925572acbab1c7bbae23dcd4e70dbec3b6a935242bf56803",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27812466351"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-19T07:49:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "980fca59ed620c305e5cc3de482361d9420b60a2",
      "fileid": "f4d17022a8993a2b625896961f20d30a8559ba49fbb76c81b7d5d03a7cb39894",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27812466351"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-19T07:49:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "980fca59ed620c305e5cc3de482361d9420b60a2",
      "fileid": "968f1e7fa0e8e1ac220c2d8eaf95bb8a4c15acfb10f4e4d991e9bd8bb04c4b70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27812466351"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.0",
      "date": "2026-06-19T07:49:33.000Z",
      "arch": "emscripten",
      "commit": "980fca59ed620c305e5cc3de482361d9420b60a2",
      "fileid": "8e13e81e5efe54820b94633f0636d0593ca5000706549c951251e366a7b2700a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27812466351"
    }
  ]
}