{
  "_id": "6a1c6c2b1d7bb097a0a3122d",
  "Package": "prospectr",
  "Type": "Package",
  "Title": "Miscellaneous Functions for Processing and Sample Selection of\nSpectroscopic Data",
  "Version": "0.2.9",
  "Date": "2026-05-31",
  "Authors@R": "c(\nperson(given = \"Antoine\",\nfamily = \"Stevens\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-1588-7519\")),\nperson(given = \"Leonardo\",\nfamily = \"Ramirez-Lopez\",\nrole = c(\"aut\", \"cre\"),\nemail = \"ramirez.lopez.leo@gmail.com\",\ncomment = c(ORCID = \"0000-0002-5369-5120\"))\n)",
  "Author": "Antoine Stevens [aut]\n(<https://orcid.org/0000-0002-1588-7519>), Leonardo\nRamirez-Lopez [aut, cre]\n(<https://orcid.org/0000-0002-5369-5120>)",
  "Maintainer": "Leonardo Ramirez-Lopez <ramirez.lopez.leo@gmail.com>",
  "BugReports": "https://github.com/l-ramirez-lopez/prospectr/issues",
  "Description": "Functions to preprocess spectroscopic data and conduct\n(representative) sample selection/calibration sampling.",
  "License": "MIT + file LICENSE",
  "URL": "https://l-ramirez-lopez.github.io/prospectr/,\nhttps://github.com/l-ramirez-lopez/prospectr",
  "VignetteBuilder": "quarto",
  "RdMacros": "mathjaxr",
  "NeedsCompilation": "yes",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/VersionName": "proxy",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://l-ramirez-lopez.r-universe.dev",
  "Date/Publication": "2026-05-31 15:42:56 UTC",
  "RemoteUrl": "https://github.com/l-ramirez-lopez/prospectr",
  "RemoteRef": "HEAD",
  "RemoteSha": "ca5e9f729f324c340327defdc10c87f9e5027698",
  "Packaged": {
    "Date": "2026-05-31 17:05:11 UTC",
    "User": "root"
  },
  "MD5sum": "57f8647a43c963a2d0e7347addcf8516",
  "_user": "l-ramirez-lopez",
  "_type": "src",
  "_file": "prospectr_0.2.9.tar.gz",
  "_fileid": "011e862c696ffd5a9077ea5af42aafb83011438b8cd93fcea2cd48855b709392",
  "_filesize": 6796525,
  "_sha256": "011e862c696ffd5a9077ea5af42aafb83011438b8cd93fcea2cd48855b709392",
  "_created": "2026-05-31T17:05:11.000Z",
  "_published": "2026-05-31T17:13:15.134Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78742421944,
      "time": 168,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7318531876"
    },
    {
      "job": 78742421927,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7318534258"
    },
    {
      "job": 78742421955,
      "time": 173,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7318532589"
    },
    {
      "job": 78742421943,
      "time": 188,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7318534027"
    },
    {
      "job": 78742421926,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7318533175"
    },
    {
      "job": 78742421922,
      "time": 434,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7318559453"
    },
    {
      "job": 78742421919,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7318535168"
    },
    {
      "job": 78742421923,
      "time": 384,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7318554545"
    },
    {
      "job": 78742204758,
      "time": 210,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7318514122"
    },
    {
      "job": 78742421896,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7318525304"
    },
    {
      "job": 78742421930,
      "time": 332,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7318549043"
    },
    {
      "job": 78742421918,
      "time": 265,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7318541742"
    },
    {
      "job": 78742421916,
      "time": 252,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7318540444"
    }
  ],
  "_buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/l-ramirez-lopez/prospectr",
  "_commit": {
    "id": "ca5e9f729f324c340327defdc10c87f9e5027698",
    "author": "l-ramirez-lopez <leonardo.ramirez-lopez23@imperial.ac.uk>",
    "committer": "l-ramirez-lopez <leonardo.ramirez-lopez23@imperial.ac.uk>",
    "message": "doc: add missing references title\n",
    "time": 1780242176
  },
  "_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": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "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": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "l-ramirez-lopez",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.2.9",
      "date": "2026-05-31"
    }
  ],
  "_topics": [
    "calibration",
    "cheminformatics",
    "chemometrics",
    "derivatives",
    "infrared",
    "near-infrared",
    "nir",
    "pedometrics",
    "preprocessing",
    "resample",
    "sampling",
    "signal",
    "soil-spectroscopy",
    "spectroscopy",
    "quarto",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 46,
  "_contributors": [
    {
      "user": "l-ramirez-lopez",
      "count": 848,
      "uuid": 5450209
    },
    {
      "user": "antoinestevens",
      "count": 21,
      "uuid": 1931992
    },
    {
      "user": "claude",
      "count": 15,
      "uuid": 81847
    },
    {
      "user": "copilot",
      "count": 8,
      "uuid": 198982749
    },
    {
      "user": "orellano-c",
      "count": 5,
      "uuid": 51088505
    },
    {
      "user": "krlmlr",
      "count": 2,
      "uuid": 1741643
    },
    {
      "user": "skylogic004",
      "count": 2,
      "uuid": 4992373
    },
    {
      "user": "guifh",
      "count": 1,
      "uuid": 21962816
    }
  ],
  "_userbio": {
    "uuid": 5450209,
    "type": "user",
    "name": "Leonardo Ramirez-Lopez",
    "description": "Social coding ☆ Favourite colour: infrared"
  },
  "_downloads": {
    "count": 1334,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/prospectr"
  },
  "_mentions": 28,
  "_devurl": "https://github.com/l-ramirez-lopez/prospectr",
  "_pkgdown": "https://l-ramirez-lopez.github.io/prospectr/",
  "_searchresults": 442,
  "_quarto": true,
  "_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/prospectr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/l-ramirez-lopez/prospectr",
  "_realowner": "l-ramirez-lopez",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2013-08-14"
    },
    {
      "version": "0.1.1",
      "date": "2013-12-09"
    },
    {
      "version": "0.1.3",
      "date": "2014-02-14"
    },
    {
      "version": "0.2.0",
      "date": "2020-03-14"
    },
    {
      "version": "0.2.1",
      "date": "2020-10-23"
    },
    {
      "version": "0.2.2",
      "date": "2021-11-27"
    },
    {
      "version": "0.2.3",
      "date": "2022-02-18"
    },
    {
      "version": "0.2.4",
      "date": "2022-04-03"
    },
    {
      "version": "0.2.5",
      "date": "2022-07-19"
    },
    {
      "version": "0.2.6",
      "date": "2022-08-31"
    },
    {
      "version": "0.2.7",
      "date": "2024-02-16"
    },
    {
      "version": "0.2.8",
      "date": "2025-03-05"
    },
    {
      "version": "0.2.9",
      "date": "2026-05-31"
    }
  ],
  "_exports": [
    "baseline",
    "binning",
    "blockNorm",
    "blockScale",
    "cochranTest",
    "continuumRemoval",
    "detrend",
    "duplex",
    "gapDer",
    "honigs",
    "kenStone",
    "movav",
    "msc",
    "naes",
    "puchwein",
    "read_nircal",
    "readASD",
    "resample",
    "resample2",
    "savitzkyGolay",
    "shenkWest",
    "spliceCorrection",
    "standardNormalVariate"
  ],
  "_datasets": [
    {
      "name": "NIRsoil",
      "title": "NIRSoil",
      "object": "NIRsoil",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Nt",
        "Ciso",
        "CEC",
        "train",
        "spc"
      ],
      "rows": 825,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "prospectr-package",
      "title": "Overview of the functions in the prospectr package",
      "topics": [
        "prospectr-package",
        "prospectr"
      ]
    },
    {
      "page": "baseline",
      "title": "baseline",
      "topics": [
        "baseline"
      ]
    },
    {
      "page": "binning",
      "title": "Signal binning",
      "topics": [
        "binning"
      ]
    },
    {
      "page": "blockNorm",
      "title": "Sum of squares block weighting",
      "topics": [
        "blockNorm"
      ]
    },
    {
      "page": "blockScale",
      "title": "Hard or soft block scaling",
      "topics": [
        "blockScale"
      ]
    },
    {
      "page": "cochranTest",
      "title": "Cochran _C_ Test",
      "topics": [
        "cochranTest"
      ]
    },
    {
      "page": "continuumRemoval",
      "title": "Continuum Removal",
      "topics": [
        "continuumRemoval"
      ]
    },
    {
      "page": "detrend",
      "title": "Detrending spectral data",
      "topics": [
        "detrend"
      ]
    },
    {
      "page": "duplex",
      "title": "DUPLEX algorithm for calibration sampling",
      "topics": [
        "duplex"
      ]
    },
    {
      "page": "gapDer",
      "title": "Gap-Segment derivative",
      "topics": [
        "gapDer"
      ]
    },
    {
      "page": "honigs",
      "title": "Honigs algorithm for calibration sampling",
      "topics": [
        "honigs"
      ]
    },
    {
      "page": "kenStone",
      "title": "Kennard-Stone algorithm for calibration sampling",
      "topics": [
        "kenStone"
      ]
    },
    {
      "page": "movav",
      "title": "Moving average",
      "topics": [
        "movav"
      ]
    },
    {
      "page": "msc",
      "title": "Multiplicative Scatter Correction (msc)",
      "topics": [
        "msc"
      ]
    },
    {
      "page": "naes",
      "title": "k-means sampling",
      "topics": [
        "naes"
      ]
    },
    {
      "page": "NIRsoil",
      "title": "NIRSoil",
      "topics": [
        "NIRsoil"
      ]
    },
    {
      "page": "puchwein",
      "title": "Puchwein algorithm for calibration sampling",
      "topics": [
        "puchwein"
      ]
    },
    {
      "page": "read_nircal",
      "title": "Import BUCHI NIRCal files",
      "topics": [
        "read_nircal"
      ]
    },
    {
      "page": "readASD",
      "title": "Read ASD FieldSpec Pro binary and ASCII files",
      "topics": [
        "readASD"
      ]
    },
    {
      "page": "resample",
      "title": "Resample spectral data",
      "topics": [
        "resample"
      ]
    },
    {
      "page": "resample2",
      "title": "Resample a high resolution signal to a low resolution signal using full width half maximum (FWHM) values",
      "topics": [
        "resample2"
      ]
    },
    {
      "page": "savitzkyGolay",
      "title": "Savitzky-Golay smoothing and differentiation",
      "topics": [
        "savitzkyGolay"
      ]
    },
    {
      "page": "shenkWest",
      "title": "SELECT algorithm for calibration sampling",
      "topics": [
        "shenkWest"
      ]
    },
    {
      "page": "spliceCorrection",
      "title": "Splice correction of a spectral matrix acquired with an ASD spectrometer",
      "topics": [
        "spliceCorrection"
      ]
    },
    {
      "page": "standardNormalVariate",
      "title": "Standard normal variate transformation",
      "topics": [
        "standardNormalVariate"
      ]
    }
  ],
  "_pkglogo": "https://github.com/l-ramirez-lopez/prospectr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/l-ramirez-lopez/prospectr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "foreach",
    "iterators",
    "lifecycle",
    "mathjaxr",
    "Rcpp",
    "RcppArmadillo",
    "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": "aa-intro.qmd",
      "filename": "aa-intro.html",
      "title": "An introduction to the prospectr package",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-05-17 19:41:41",
      "modified": "2026-05-31 15:42:56",
      "commits": 4
    },
    {
      "source": "bb-pre-processing-spectral-data.qmd",
      "filename": "bb-pre-processing-spectral-data.html",
      "title": "Pre-processing spectral data",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-05-17 19:41:41",
      "modified": "2026-05-31 15:41:41",
      "commits": 3
    },
    {
      "source": "cc-selecting-representative-calibration-samples.qmd",
      "filename": "cc-selecting-representative-calibration-samples.html",
      "title": "Selecting representative calibration samples",
      "engine": "quarto::html",
      "headings": [],
      "created": "2026-05-17 19:41:41",
      "modified": "2026-05-31 14:37:44",
      "commits": 3
    }
  ],
  "_score": 11.232676480064779,
  "_indexed": true,
  "_nocasepkg": "prospectr",
  "_universes": [
    "l-ramirez-lopez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "8bd8860534a6c0f7d1e2da3e6767dcb27b41abb4ceae3804c7daf858889f02eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:36.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "94bbc7bbf02a8d0facf8e91593abdf8387daea85fb4f9a387b88993f23d3f2bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:33.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "356f4197d13be07c0e25ab55150222721036ba969b23cbd4f2eb3f5d701ddd9a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "775cad1200084b2ad51b6f0974dedac9312fee2699e02cc24eaf3b820d4323b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:21.000Z",
      "arch": "aarch64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "c6ef4ff1a8a722a8cb01f82d94c3527da9f0e0e3dd7058c5a33db70a39aa53b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.9",
      "date": "2026-05-31T17:08:55.000Z",
      "arch": "x86_64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "f7de74e953a4a2cc33bd9ba47aaca64b8cb3bd0976f942a7265697bffd5ca168",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:36.000Z",
      "arch": "aarch64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "6317d52a5c72e5d5a24bc414a7e737e6f0476eaeba41011f786ba7efd329307d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.9",
      "date": "2026-05-31T17:08:44.000Z",
      "arch": "x86_64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "e4ee66abf2058f21bff4aed7ddc7ef710450563524aabce84786141cf8ec1f29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:22.000Z",
      "arch": "emscripten",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "eb8e07a29ae2a72da56e3d7b7e9c1cb12c9a76eb9d94f2f36f9d5458d86cf9b5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.9",
      "date": "2026-05-31T17:09:04.000Z",
      "arch": "x86_64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "aac62dbf92312b11eb5f2ec2a0d8f85ea6404841caba75f1c32b85b42d4a8ece",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:27.000Z",
      "arch": "x86_64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "7bc6d95d4037deb2b81b421b2f9d2eb8a7847f1fef1011a9b4683fc05c45c025",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.9",
      "date": "2026-05-31T17:07:24.000Z",
      "arch": "x86_64",
      "commit": "ca5e9f729f324c340327defdc10c87f9e5027698",
      "fileid": "dfe7d5036ebd1821dbcb09ad0fa505e2387770bda9b5bda91005bb2435a1669f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/l-ramirez-lopez/actions/runs/26718858111"
    }
  ]
}