{
  "_id": "6a1ed7eab401979e7340eefd",
  "Package": "PlotFTIR",
  "Type": "Package",
  "Title": "Plot FTIR Spectra",
  "Version": "1.2.1.9000",
  "Authors@R": "c(\nperson(given = \"Philip\", family = \"Bulsink\", email = \"philip.bulsink@nrcan-rncan.gc.ca\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-9668-2429\")),\nperson(given = \"Ulrich\", family = \"Makanda\", email = \"ulrich.makanda@nrcan-rncan.gc.ca\",\nrole = \"trl\", comment = c(\"Translated documentation to French/Traduire la documentation en français\")),\nperson(\"His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources\",\nrole = 'cph')\n)",
  "Description": "The goal of 'PlotFTIR' is to easily and quickly kick-start\nthe production of journal-quality Fourier Transform Infra-Red\n(FTIR) spectral plots in R using 'ggplot2'. The produced plots\ncan be published directly or further modified by 'ggplot2'\nfunctions. L'objectif de 'PlotFTIR' est de démarrer facilement\net rapidement la production des tracés spectraux de\nspectroscopie infrarouge à transformée de Fourier (IRTF) de\nqualité journal dans R à l'aide de 'ggplot2'. Les tracés\nproduits peuvent être publiés directement ou modifiés davantage\npar les fonctions 'ggplot2'.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "BugReports": "https://github.com/NRCan/PlotFTIR/issues",
  "URL": "https://github.com/NRCan/PlotFTIR",
  "Repository": "https://nrcan.r-universe.dev",
  "Date/Publication": "2026-04-20 14:04:37 UTC",
  "RemoteUrl": "https://github.com/nrcan/plotftir",
  "RemoteRef": "HEAD",
  "RemoteSha": "3937827190594de565b08ee09db44e6a89dfc61c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 09:52:47 UTC",
    "User": "root"
  },
  "Author": "Philip Bulsink [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9668-2429>),\nUlrich Makanda [trl] (Translated documentation to French/Traduire la\ndocumentation en français),\nHis Majesty the King in Right of Canada, as represented by the Minister\nof Natural Resources [cph]",
  "Maintainer": "Philip Bulsink <philip.bulsink@nrcan-rncan.gc.ca>",
  "MD5sum": "d5d8cc13e1cb5d15445614a66a2e78f3",
  "_user": "nrcan",
  "_type": "src",
  "_file": "PlotFTIR_1.2.1.9000.tar.gz",
  "_fileid": "5b1f7dff2c4ad1f7e6f867998d0954848bdd265b02f82412a064c1b54e319dfc",
  "_filesize": 10909042,
  "_sha256": "5b1f7dff2c4ad1f7e6f867998d0954848bdd265b02f82412a064c1b54e319dfc",
  "_created": "2026-05-20T09:52:47.000Z",
  "_published": "2026-06-02T13:17:30.978Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79079391648,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7106855181"
    },
    {
      "job": 79079391900,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106851009"
    },
    {
      "job": 79079391902,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7106869024"
    },
    {
      "job": 79079391634,
      "time": 201,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106879380"
    },
    {
      "job": 79079390563,
      "time": 237,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106789792"
    },
    {
      "job": 79079390645,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358750207"
    },
    {
      "job": 79079391467,
      "time": 128,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7106837136"
    },
    {
      "job": 79079391832,
      "time": 149,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7106843254"
    },
    {
      "job": 79079392164,
      "time": 140,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106841195"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nrcan/plotftir",
  "_commit": {
    "id": "3937827190594de565b08ee09db44e6a89dfc61c",
    "author": "Philip Bulsink <pbulsink@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Ggplot2 function update 25 (#29)\n\n* Updating for new ggplot2 function api (`geom_trans()` --> `geom_transform()`)\n\n* Updated NEWS\n\n* Fixed Docs\n\n---------\n\nCo-authored-by: Philip Bulsink <philip.bulsink@nrcan-rncan.gc.ca>",
    "time": 1776693877
  },
  "_maintainer": {
    "name": "Philip Bulsink",
    "email": "philip.bulsink@nrcan-rncan.gc.ca",
    "orcid": "0000-0001-9668-2429"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Suggests"
    },
    {
      "package": "gghighlight",
      "role": "Suggests"
    },
    {
      "package": "ggthemes",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ir",
      "role": "Suggests"
    },
    {
      "package": "ChemoSpec",
      "role": "Suggests"
    },
    {
      "package": "R.utils",
      "role": "Suggests"
    },
    {
      "package": "readJDX",
      "role": "Suggests"
    }
  ],
  "_owner": "nrcan",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v1.2.1",
      "date": "2025-08-25"
    }
  ],
  "_topics": [
    "chemometrics",
    "datavis",
    "ftir"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "pbulsink",
      "count": 190,
      "uuid": 5419974
    }
  ],
  "_userbio": {
    "uuid": 1929244,
    "type": "organization",
    "name": "Natural Resources Canada"
  },
  "_downloads": {
    "count": 256,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PlotFTIR"
  },
  "_devurl": "https://github.com/nrcan/plotftir",
  "_searchresults": 6,
  "_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/PlotFTIR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nrcan/plotftir",
  "_realowner": "nrcan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-11-14"
    },
    {
      "version": "1.1.0",
      "date": "2025-02-05"
    },
    {
      "version": "1.2.0",
      "date": "2025-03-31"
    },
    {
      "version": "1.2.1",
      "date": "2025-08-25"
    }
  ],
  "_exports": [
    "absorbance_to_transmittance",
    "add_band",
    "add_scalar_value",
    "add_wavenumber_marker",
    "average_spectra",
    "check_ftir_data",
    "chemospec_to_plotftir",
    "compress_low_energy",
    "get_plot_sample_ids",
    "highlight_sample",
    "ir_to_plotftir",
    "move_plot_legend",
    "normalize_spectra",
    "plot_ftir",
    "plot_ftir_stacked",
    "plotftir_to_chemospec",
    "plotftir_to_ir",
    "read_ftir",
    "read_ftir_directory",
    "recalculate_baseline",
    "rename_plot_sample_ids",
    "save_plot",
    "subtract_scalar_value",
    "transmittance_to_absorbance",
    "zoom_in_on_range"
  ],
  "_datasets": [
    {
      "name": "biodiesel",
      "title": "FTIR Bio-diesel data",
      "object": "biodiesel",
      "class": [
        "data.frame"
      ],
      "fields": [
        "wavenumber",
        "absorbance",
        "sample_id"
      ],
      "rows": 19481,
      "table": true,
      "tojson": true
    },
    {
      "name": "sample_spectra",
      "title": "FTIR example data",
      "object": "sample_spectra",
      "class": [
        "data.frame"
      ],
      "fields": [
        "wavenumber",
        "absorbance",
        "sample_id"
      ],
      "rows": 8990,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_band",
      "title": "Add Band",
      "topics": [
        "add_band"
      ]
    },
    {
      "page": "add_subtract_scalar",
      "title": "Add or Subtract Scalar Value",
      "topics": [
        "add_scalar_value",
        "add_subtract_scalar",
        "subtract_scalar_value"
      ]
    },
    {
      "page": "add_wavenumber_marker",
      "title": "Add a Marker at a Wavenumber",
      "topics": [
        "add_wavenumber_marker"
      ]
    },
    {
      "page": "average_spectra",
      "title": "Average FTIR Spectra",
      "topics": [
        "average_spectra"
      ]
    },
    {
      "page": "biodiesel",
      "title": "FTIR Bio-diesel data",
      "topics": [
        "biodiesel"
      ]
    },
    {
      "page": "check_ftir_data",
      "title": "Check FTIR Data",
      "topics": [
        "check_ftir_data"
      ]
    },
    {
      "page": "chemospec_to_plotftir",
      "title": "`ChemoSec` to `PlotFTIR` conversions",
      "topics": [
        "chemospec_to_plotftir"
      ]
    },
    {
      "page": "compress_low_energy",
      "title": "Compress Low-Energy Region",
      "topics": [
        "compress_low_energy"
      ]
    },
    {
      "page": "conversion",
      "title": "Convert Between Absorbance and Transmittance",
      "topics": [
        "absorbance_to_transmittance",
        "conversion",
        "transmittance_to_absorbance"
      ]
    },
    {
      "page": "get_plot_sample_ids",
      "title": "Get Plot Sample IDs",
      "topics": [
        "get_plot_sample_ids"
      ]
    },
    {
      "page": "highlight_sample",
      "title": "Highlight Sample Spectra",
      "topics": [
        "highlight_sample"
      ]
    },
    {
      "page": "ir_to_plotftir",
      "title": "Convert `ir` to `PlotFTIR` data format",
      "topics": [
        "ir_to_plotftir"
      ]
    },
    {
      "page": "move_plot_legend",
      "title": "Move Plot Legend",
      "topics": [
        "move_plot_legend"
      ]
    },
    {
      "page": "normalize_spectra",
      "title": "Normalize FTIR spectra",
      "topics": [
        "normalize_spectra"
      ]
    },
    {
      "page": "plot_ftir",
      "title": "Plot FTIR Spectra Overlaid",
      "topics": [
        "plot_ftir"
      ]
    },
    {
      "page": "plot_ftir_stacked",
      "title": "Plot FTIR in stacked format",
      "topics": [
        "plot_ftir_stacked"
      ]
    },
    {
      "page": "plotftir_to_chemospec",
      "title": "Convert `PlotFTIR` data to `ChemoSpec` format",
      "topics": [
        "plotftir_to_chemospec"
      ]
    },
    {
      "page": "plotftir_to_ir",
      "title": "Convert `PlotFTIR` data to `ir`",
      "topics": [
        "plotftir_to_ir"
      ]
    },
    {
      "page": "print.PlotFTIR_data",
      "title": "Print PlotFTIR Data",
      "topics": [
        "print.PlotFTIR_data"
      ]
    },
    {
      "page": "read_ftir",
      "title": "Read FTIR file",
      "topics": [
        "read_ftir"
      ]
    },
    {
      "page": "read_ftir_directory",
      "title": "Read FTIR file",
      "topics": [
        "read_ftir_directory"
      ]
    },
    {
      "page": "recalculate_baseline",
      "title": "Recalculate Baseline",
      "topics": [
        "recalculate_baseline"
      ]
    },
    {
      "page": "rename_plot_sample_ids",
      "title": "Rename Sample IDs in Plot",
      "topics": [
        "rename_plot_sample_ids"
      ]
    },
    {
      "page": "sample_spectra",
      "title": "FTIR example data",
      "topics": [
        "sample_spectra"
      ]
    },
    {
      "page": "save_plot",
      "title": "Save FTIR Plot",
      "topics": [
        "save_plot"
      ]
    },
    {
      "page": "zoom_in_on_range",
      "title": "Zoom in on a spectral range",
      "topics": [
        "zoom_in_on_range"
      ]
    }
  ],
  "_readme": "https://github.com/nrcan/plotftir/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "farver",
    "glue",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "scales",
    "viridisLite"
  ],
  "_vignettes": [
    {
      "source": "plotting_ftir_spectra.Rmd",
      "filename": "plotting_ftir_spectra.html",
      "title": "Plotting FTIR Spectra",
      "author": "Philip Bulsink",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to PlotFTIR",
        "Installing PlotFTIR",
        "Reading Data",
        "Plotting",
        "Title & Subtitle",
        "Rename the Plotted Samples",
        "Compress Low Energy Region",
        "Limit Wavenumber Range",
        "Add Markers",
        "Putting It All Together",
        "Mathematical modifications",
        "Conversion Between Transmittance and Absorbance",
        "Adding or Subtracting Numerical Values",
        "Averaging Multiple Spectra",
        "Shift Baselines",
        "Saving Spectral Plots",
        "Tracé de spectres IRTF",
        "Introduction à PlotFTIR",
        "Installation de PlotFTIR",
        "Lecture des données",
        "Titre & Sous-titre",
        "Renommer les échantillons tracés",
        "Compression de la région à faible énergie",
        "Limiter les nombres d'ondes indiqués",
        "Ajouter des indicateurs",
        "Mise en place de l'ensemble",
        "Modifications mathématiques",
        "Conversion entre la transmittance et l'absorbance",
        "Ajout ou soustraction de valeurs numériques",
        "Calcul de la moyenne de plusieurs spectres",
        "Décaler les lignes de base",
        "Sauvegarde des tracés spectraux"
      ],
      "created": "2024-09-17 12:07:50",
      "modified": "2026-04-20 11:56:11",
      "commits": 5
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "plotftir",
  "_universes": [
    "nrcan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-05-20T09:55:32.000Z",
      "distro": "noble",
      "commit": "3937827190594de565b08ee09db44e6a89dfc61c",
      "fileid": "8a4b746e66f2e9073edc708e55363dc0bcb5a21d43916dfdbe0cc950410a4a1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.1.9000",
      "date": "2026-05-20T09:55:19.000Z",
      "distro": "noble",
      "commit": "3937827190594de565b08ee09db44e6a89dfc61c",
      "fileid": "8b969e68324c232f408cb06c9e4424bbd62852a13df12672188061d48ff38172",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-05-20T09:56:27.000Z",
      "commit": "3937827190594de565b08ee09db44e6a89dfc61c",
      "fileid": "a3850e3e95ae8844df31a35a65c7bd81d1700ab6dc81285e0b2afd5acb992323",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.1.9000",
      "date": "2026-05-20T09:56:50.000Z",
      "commit": "3937827190594de565b08ee09db44e6a89dfc61c",
      "fileid": "764424e0512f5f81382ceff41140019e17e58b70375654b48b191de94fc1c412",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-20T09:54:27.000Z",
      "commit": "3937827190594de565b08ee09db44e6a89dfc61c",
      "fileid": "300a9648bcc68456d0e75382ff11bff85c1f760744a961e46c4ceccccef16142",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-20T09:54:31.000Z",
      "commit": "3937827190594de565b08ee09db44e6a89dfc61c",
      "fileid": "244b68dcd3a27176f493786c3508c04a7fb626bf58bc28bed32a876cdfb3ee96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.1.9000",
      "date": "2026-05-20T09:54:38.000Z",
      "commit": "3937827190594de565b08ee09db44e6a89dfc61c",
      "fileid": "6e1ef50294ab2b20642c28ee0cbc4f7c6a6b26c9f20ca1dd0e018f297fbf07bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1.9000",
      "date": "2026-06-02T13:17:03.000Z",
      "commit": "3937827190594de565b08ee09db44e6a89dfc61c",
      "fileid": "a6fc129c1b70abf586e0ea33e5019fad6550d2e53277123c950a534727bd667a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nrcan/actions/runs/26154830422"
    }
  ]
}