{
  "_id": "6ad5e69743d630dc48a40963",
  "Package": "prospectr",
  "Type": "Package",
  "Title": "Miscellaneous Functions for Processing and Sample Selection of\nSpectroscopic Data",
  "Version": "0.2.11",
  "Date": "2026-08-24",
  "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] (ORCID:\n<https://orcid.org/0000-0002-1588-7519>), Leonardo\nRamirez-Lopez [aut, cre] (ORCID:\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",
  "Config/VersionName": "postdetrendy",
  "Config/roxygen2/version": "8.0.0",
  "Packaged": {
    "Date": "2026-10-19 09:38:23 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-08-25 05:20:14 UTC",
  "RemoteUrl": "https://github.com/cran/prospectr",
  "RemoteRef": "HEAD",
  "RemoteSha": "1ec6dc5f239a103e5700e236a47b141b732452e2",
  "_user": "cran",
  "_type": "src",
  "_file": "prospectr_0.2.11.tar.gz",
  "_fileid": "https://r2.ropensci.org/22eaa7f4e2e568ed2f1ae90c65a6485c695f4c9250c2d0d69d47374c941f6062",
  "_filesize": 6801230,
  "_sha256": "22eaa7f4e2e568ed2f1ae90c65a6485c695f4c9250c2d0d69d47374c941f6062",
  "_expires": "2027-01-27T09:44:53.000Z",
  "_created": "2026-10-19T09:38:23.000Z",
  "_published": "2026-10-19T09:44:55.800Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117990727262,
      "time": 137,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12178085652"
    },
    {
      "job": 117990727211,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12178150657"
    },
    {
      "job": 117990727323,
      "time": 139,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12177206146"
    },
    {
      "job": 117990727289,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12178275635"
    },
    {
      "job": 117989322528,
      "time": 206,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12177095798"
    },
    {
      "job": 117990727135,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12177230832"
    },
    {
      "job": 117990727337,
      "time": 313,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12177226373"
    },
    {
      "job": 117990727331,
      "time": 277,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12177021595"
    },
    {
      "job": 117990727456,
      "time": 339,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12178061238"
    },
    {
      "job": 117990727340,
      "time": 231,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12178280678"
    }
  ],
  "_upstream": "https://github.com/cran/prospectr",
  "_commit": {
    "id": "1ec6dc5f239a103e5700e236a47b141b732452e2",
    "author": "Leonardo Ramirez-Lopez <ramirez.lopez.leo@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.11\n",
    "time": 1787635214
  },
  "_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
  },
  "_distro": "resolute",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 7,
  "_updates": [
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.9",
      "date": "2026-05-31"
    },
    {
      "name": "0.2.10",
      "date": "2026-06-23"
    },
    {
      "name": "0.2.11",
      "date": "2026-08-25"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "l-ramirez-lopez",
      "count": 12,
      "uuid": 5450209
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1581,
    "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": 506,
  "_quarto": true,
  "_topics": [
    "quarto",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/prospectr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/l-ramirez-lopez/prospectr",
  "_realowner": "l-ramirez-lopez",
  "_cranurl": false,
  "_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"
    },
    {
      "version": "0.2.10",
      "date": "2026-06-23"
    },
    {
      "version": "0.2.11",
      "date": "2026-08-25"
    }
  ],
  "_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/cran/prospectr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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": [
        "Preamble",
        "Introduction",
        "Citing the package",
        "Further reading",
        "References"
      ],
      "created": "2026-05-31 07:50:02",
      "modified": "2026-06-23 05:10:31",
      "commits": 2
    },
    {
      "source": "bb-pre-processing-spectral-data.qmd",
      "filename": "bb-pre-processing-spectral-data.html",
      "title": "Pre-processing spectral data",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "Noise removal",
        "Moving average",
        "Savitzky-Golay filtering",
        "Derivatives",
        "Scatter and baseline corrections",
        "Standard Normal Variate (SNV)",
        "Multiplicative Scatter Correction (MSC)",
        "SNV-Detrend",
        "Baseline removal",
        "Centering and scaling",
        "Resampling",
        "Other transformations",
        "Continuum removal",
        "References"
      ],
      "created": "2026-05-31 07:50:02",
      "modified": "2026-06-23 05:10:31",
      "commits": 2
    },
    {
      "source": "cc-selecting-representative-calibration-samples.qmd",
      "filename": "cc-selecting-representative-calibration-samples.html",
      "title": "Selecting representative calibration samples",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "$k$-means sampling (naes)",
        "Kennard-Stone sampling (kenStone)",
        "DUPLEX (duplex)",
        "SELECT algorithm (shenkWest)",
        "Puchwein algorithm (puchwein)",
        "Honigs sampling (honigs)",
        "References"
      ],
      "created": "2026-05-31 07:50:02",
      "modified": "2026-05-31 07:50:02",
      "commits": 1
    }
  ],
  "_score": 7.878514195281272,
  "_indexed": false,
  "_nocasepkg": "prospectr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://l-ramirez-lopez.r-universe.dev/prospectr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-10-19T09:40:07.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/2eb0d2c9abdd6fbf1f0aff69fa940724e7bb71571b2a09f9fed03bf7c173c84f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-10-19T09:40:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/d5456b5515017fc63e59e9ea922111e7463870cbe453205ab328046f7f39cab5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-10-19T09:40:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/74e7831c88f493f45b76a75c46df50dfbaaa7793f7696e11dafa9bd5ceb8f174",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.11",
      "date": "2026-10-19T09:40:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/bd4e92764777675611b7525755494cebe0b865677f8da6d89ba92bc9ec2f8e82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.11",
      "date": "2026-10-19T09:40:45.000Z",
      "arch": "emscripten",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/5169881379ca4d30c6e9276ff2ba1cf9088aaa12b177c167a7802f5c188c0bcd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-10-19T09:42:17.000Z",
      "arch": "aarch64",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/7e9de5a7a6324585825004920ed3165c9ac0ce6242246dccc4aa0e424ddae529",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-10-19T09:40:19.000Z",
      "arch": "x86_64",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/5640ebc5ef15d39195b1b87f510391ebf0d8f680f787037f96d57d117dbeeda9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-10-19T09:42:48.000Z",
      "arch": "aarch64",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/26c81239a615f878a70a165fc98475fb09bad65ecc5016a1e52409a52e9fce8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.11",
      "date": "2026-10-19T09:40:17.000Z",
      "arch": "x86_64",
      "commit": "1ec6dc5f239a103e5700e236a47b141b732452e2",
      "fileid": "https://r2.ropensci.org/53e634b978a18c7d77a28f17b63b3571bd3d299bbb13e2abd48d7e079bc0ccb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39231147625"
    }
  ]
}