{
  "_id": "6a1eefc6b401979e73412cad",
  "Type": "Package",
  "Package": "simplerspec",
  "Version": "0.2.1",
  "Date": "2023-09-27",
  "Title": "Soil and plant spectroscopic model building and prediction",
  "Description": "Functions that cover reading of spectral data, outlier\nremoval, spectral preprocessing, calibration sampling, PLS\nregression using caret, and model diagnostic statistics and\nplots.",
  "Authors@R": "person(\"Philipp\", \"Baumann\",\nemail = \"baumann-philipp@protonmail.com\", role = c(\"aut\", \"cre\"))",
  "URL": "https://github.com/philipp-baumann/simplerspec",
  "BugReports": "https://github.com/philipp-baumann/simplerspec",
  "License": "GPL-2",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE)",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://philipp-baumann.r-universe.dev",
  "Date/Publication": "2023-09-27 13:35:35 UTC",
  "RemoteUrl": "https://github.com/philipp-baumann/simplerspec",
  "RemoteRef": "HEAD",
  "RemoteSha": "60e120130ce83cfab34115bbfa369ea200b366b4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 08:32:21 UTC",
    "User": "root"
  },
  "Author": "Philipp Baumann [aut, cre]",
  "Maintainer": "Philipp Baumann <baumann-philipp@protonmail.com>",
  "MD5sum": "35f37dd0d99eaefc26ad4ae5d79f5b30",
  "_user": "philipp-baumann",
  "_type": "src",
  "_file": "simplerspec_0.2.1.tar.gz",
  "_fileid": "bcf4b39f48d74619057767f1606c9fcf2b44a9b71c5ffe83fdd1d708bbdab415",
  "_filesize": 2562648,
  "_sha256": "bcf4b39f48d74619057767f1606c9fcf2b44a9b71c5ffe83fdd1d708bbdab415",
  "_created": "2026-05-19T08:32:21.000Z",
  "_published": "2026-06-02T14:59:18.922Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79101449163,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7078661935"
    },
    {
      "job": 79101449656,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7078650488"
    },
    {
      "job": 79101449526,
      "time": 206,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7078654434"
    },
    {
      "job": 79101449376,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7078636176"
    },
    {
      "job": 79101448797,
      "time": 253,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078598219"
    },
    {
      "job": 79101448299,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361432835"
    },
    {
      "job": 79101449584,
      "time": 110,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7078636646"
    },
    {
      "job": 79101449677,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7078629459"
    },
    {
      "job": 79101449758,
      "time": 102,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7078633337"
    }
  ],
  "_buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/philipp-baumann/simplerspec",
  "_commit": {
    "id": "60e120130ce83cfab34115bbfa369ea200b366b4",
    "author": "Philipp Baumann <baumann-philipp@proton.me>",
    "committer": "Philipp Baumann <baumann-philipp@proton.me>",
    "message": "Bump version to 0.2.1\n",
    "time": 1695821735
  },
  "_maintainer": {
    "name": "Philipp Baumann",
    "email": "baumann-philipp@protonmail.com",
    "login": "philipp-baumann",
    "mastodon": "@specphil@fosstodon.org",
    "description": "Working in public transport. In my spare time: developing tools for computational reproducibility. Chemical diagnostics with spectroscopy and data analytics.",
    "uuid": 21625034
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "foreach",
      "role": "Depends"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.7.0",
      "role": "Imports"
    },
    {
      "package": "e1071",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "hexView",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "mvoutlier",
      "role": "Imports"
    },
    {
      "package": "modelr",
      "role": "Imports"
    },
    {
      "package": "pls",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "prospectr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    }
  ],
  "_owner": "philipp-baumann",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 34,
  "_contributors": [
    {
      "user": "philipp-baumann",
      "count": 12,
      "uuid": 21625034
    },
    {
      "user": "mmyrte",
      "count": 1,
      "uuid": 24587121
    },
    {
      "user": "m-kuhn",
      "count": 1,
      "uuid": 588407
    }
  ],
  "_userbio": {
    "uuid": 21625034,
    "type": "user",
    "name": "Philipp Baumann",
    "description": "Working in public transport. In my spare time: developing tools for computational reproducibility. Chemical diagnostics with spectroscopy and data analytics."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simplerspec"
  },
  "_devurl": "https://github.com/philipp-baumann/simplerspec",
  "_searchresults": 10,
  "_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/simplerspec.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "assess_multimodels",
    "average_spc",
    "bind_lcols_dts",
    "create_vip_rects",
    "evaluate_model",
    "extract_lcols2dts",
    "extract_pls_vip",
    "fit_pls",
    "fit_rf",
    "gather_spc",
    "join_chem_spec",
    "join_spc_chem",
    "merge_dts",
    "merge_dts_l",
    "plot_pls_vip",
    "plot_spc",
    "plot_spc_ext",
    "pls_ken_stone",
    "predict_from_spc",
    "preprocess_spc",
    "read_asd",
    "read_asd_bin",
    "read_opus_bin_univ",
    "read_opus_univ",
    "remove_outliers",
    "resample_spc",
    "select_ref_spc",
    "select_spc_vars",
    "slice_xvalues",
    "split_df2l",
    "summary_df"
  ],
  "_datasets": [
    {
      "name": "soilspec_yamsys",
      "title": "Soil spectra and laboratory reference data from Baumann et al. (2021)",
      "object": "soilspec_yamsys",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "unique_id",
        "file_id",
        "sample_id",
        "metadata",
        "spc",
        "wavenumbers",
        "country",
        "site",
        "material",
        "S",
        "C",
        "N",
        "ex_Ca",
        "ex_Mg",
        "ex_K",
        "ex_Al",
        "ex_Na",
        "ex_Fe",
        "ex_Mn",
        "pH_BaCl2",
        "CEC_eff",
        "BS_eff",
        "pH",
        "Fe_tot",
        "Si_tot",
        "Al_tot",
        "P_tot",
        "K_tot",
        "Ca_tot",
        "Mn_tot",
        "Zn_tot",
        "Cu_tot",
        "Zn_DTPA",
        "Cu_DTPA",
        "Fe_DTPA",
        "Mn_DTPA",
        "sand",
        "clay",
        "silt",
        "site_comb"
      ],
      "rows": 284,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "assess_multimodels",
      "title": "Assess multiple pairs of measured and predicted values",
      "topics": [
        "assess_multimodels"
      ]
    },
    {
      "page": "average_spc",
      "title": "Average spectra in list-column by entries in grouping column",
      "topics": [
        "average_spc"
      ]
    },
    {
      "page": "bind_lcols_dts",
      "title": "Bind list-columns within a tibble into a list of data.tables",
      "topics": [
        "bind_lcols_dts"
      ]
    },
    {
      "page": "create_vip_rects",
      "title": "Create a data frame containing start and end positions (wavenumbers) where variable importance in projection (VIP) is > 1",
      "topics": [
        "create_vip_rects"
      ]
    },
    {
      "page": "evaluate_model",
      "title": "Calculate model evaluation metrics",
      "topics": [
        "evaluate_model",
        "summary_df"
      ]
    },
    {
      "page": "extract_lcols2dts",
      "title": "Extract multiple tibble list-columns and return data as list of data.tables",
      "topics": [
        "extract_lcols2dts"
      ]
    },
    {
      "page": "extract_pls_vip",
      "title": "Extract VIPs (variable importance in the projection) for a PLS regression model output returned from model fitting with 'simplerspec::fit_pls()'",
      "topics": [
        "extract_pls_vip"
      ]
    },
    {
      "page": "fit_pls",
      "title": "Calibration sampling, model tuning, and PLS regression",
      "topics": [
        "fit_pls",
        "pls_ken_stone"
      ]
    },
    {
      "page": "fit_rf",
      "title": "Calibration sampling, and random forest model tuning and evaluation",
      "topics": [
        "fit_rf"
      ]
    },
    {
      "page": "gather_spc",
      "title": "Gather measurements of different spectra types, corresponding x-axis values and metadata from nested list.",
      "topics": [
        "gather_spc"
      ]
    },
    {
      "page": "join_chem_spec",
      "title": "Join chemical and spectral data frames",
      "topics": [
        "join_chem_spec"
      ]
    },
    {
      "page": "join_spc_chem",
      "title": "Join spectra data and chemical data tibbles",
      "topics": [
        "join_spc_chem"
      ]
    },
    {
      "page": "merge_dts",
      "title": "Merge list-columns of spectra, x-axis values, metadata and additional measured variables into a single long form data.table",
      "topics": [
        "merge_dts"
      ]
    },
    {
      "page": "merge_dts_l",
      "title": "Wrapper function around 'merge_dts()' for list of tibbles to aggregate data for plotting.",
      "topics": [
        "merge_dts_l"
      ]
    },
    {
      "page": "plot_pls_vip",
      "title": "Plot stacked ggplot2 graphs with the Variable Importance for the Projection (VIP) scores, mean replicate spectra (absorbance) per sample_id, and the preprocessed spectra.",
      "topics": [
        "plot_pls_vip"
      ]
    },
    {
      "page": "plot_spc",
      "title": "Plot tibble spectra",
      "topics": [
        "plot_spc"
      ]
    },
    {
      "page": "plot_spc_ext",
      "title": "ggplot2 wrapper for extended spectra plotting",
      "topics": [
        "plot_spc_ext"
      ]
    },
    {
      "page": "predict_from_spc",
      "title": "Predict soil properties of new spectra based on a list of calibration models",
      "topics": [
        "predict_from_spc"
      ]
    },
    {
      "page": "preprocess_spc",
      "title": "Preprocess spectra",
      "topics": [
        "preprocess_spc"
      ]
    },
    {
      "page": "read_asd",
      "title": "Read ASD fieldspec spectrometer data export into into simplerspec spectra tibble.",
      "topics": [
        "read_asd"
      ]
    },
    {
      "page": "read_asd_bin",
      "title": "Read ASD binary files and gather spectra and metadata in tibble data frame.",
      "topics": [
        "read_asd_bin"
      ]
    },
    {
      "page": "read_opus_bin_univ",
      "title": "Read a Bruker OPUS spectrum binary file",
      "topics": [
        "read_opus_bin_univ"
      ]
    },
    {
      "page": "read_opus_univ",
      "title": "Read a list of Bruker OPUS spectrum binary files.",
      "topics": [
        "read_opus_univ"
      ]
    },
    {
      "page": "remove_outliers",
      "title": "Remove outlier spectra",
      "topics": [
        "remove_outliers"
      ]
    },
    {
      "page": "resample_spc",
      "title": "Resample spectra in list-column to new x-axis interval",
      "topics": [
        "resample_spc"
      ]
    },
    {
      "page": "select_ref_spc",
      "title": "Select a set of reference spectra to be measured by reference analysis methods",
      "topics": [
        "select_ref_spc"
      ]
    },
    {
      "page": "select_spc_vars",
      "title": "Select every n-th spectral variable for all spectra and x-values in spectral tibble ('spc_tbl')",
      "topics": [
        "select_spc_vars"
      ]
    },
    {
      "page": "slice_xvalues",
      "title": "Slice spectra into defined x-axis ranges",
      "topics": [
        "slice_xvalues"
      ]
    },
    {
      "page": "soilspec_yamsys",
      "title": "Soil spectra and laboratory reference data from Baumann et al. (2021)",
      "topics": [
        "soilspec_yamsys"
      ]
    },
    {
      "page": "split_df2l",
      "title": "Split a tibble data frame into a list of tibbles by a group column",
      "topics": [
        "split_df2l"
      ]
    }
  ],
  "_readme": "https://github.com/philipp-baumann/simplerspec/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cowplot",
    "cpp11",
    "data.table",
    "DEoptimR",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "hexView",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "mathjaxr",
    "Matrix",
    "ModelMetrics",
    "modelr",
    "mvoutlier",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "pls",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "prospectr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "recipes",
    "reshape2",
    "rlang",
    "robustbase",
    "rpart",
    "S7",
    "scales",
    "sgeostat",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3.5314789170422554,
  "_indexed": true,
  "_nocasepkg": "simplerspec",
  "_universes": [
    "philipp-baumann"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-19T08:36:02.000Z",
      "distro": "noble",
      "commit": "60e120130ce83cfab34115bbfa369ea200b366b4",
      "fileid": "74c247a0bb2f550f3483e8ed2fab5516779f40dbf20d0ee6ccf55d742c5cf2f7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-19T08:35:28.000Z",
      "distro": "noble",
      "commit": "60e120130ce83cfab34115bbfa369ea200b366b4",
      "fileid": "41f8832f8cb7f763378b02ed13beb2aabe4fdacbec4518008d0cf60959273355",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-19T08:35:40.000Z",
      "commit": "60e120130ce83cfab34115bbfa369ea200b366b4",
      "fileid": "460ab365e890aa99c8946fcedb6c852eb20898df8cff2873626c44e2ab73ea1e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-19T08:34:57.000Z",
      "commit": "60e120130ce83cfab34115bbfa369ea200b366b4",
      "fileid": "179d76dea09d04b83f29e3da9e68f538b60f7cab213ae1fc2536cea5b43c8df7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-19T08:34:48.000Z",
      "commit": "60e120130ce83cfab34115bbfa369ea200b366b4",
      "fileid": "075d4daf50d85a64b953b2751f65e35259fe4d962766a27c41f24999906a3325",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-19T08:34:24.000Z",
      "commit": "60e120130ce83cfab34115bbfa369ea200b366b4",
      "fileid": "fc53601cc70aa0908526da282ac10f8cf812e73a9f4d81bc3ac52ca795cf6c9c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-19T08:34:27.000Z",
      "commit": "60e120130ce83cfab34115bbfa369ea200b366b4",
      "fileid": "bced6a9221fbc623c1d82c08191a58e8f368f01e667a1b16317b449912d2f497",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-06-02T14:58:20.000Z",
      "commit": "60e120130ce83cfab34115bbfa369ea200b366b4",
      "fileid": "64f2c821625385df759bbe577c02e2c853acec56866b9c29486a661ca0904cc7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/philipp-baumann/actions/runs/26085619213"
    }
  ]
}