Skip to content

Commit 3937827

Browse files
pbulsinkPhilip Bulsink
andauthored
Ggplot2 function update 25 (#29)
* Updating for new ggplot2 function api (`geom_trans()` --> `geom_transform()`) * Updated NEWS * Fixed Docs --------- Co-authored-by: Philip Bulsink <philip.bulsink@nrcan-rncan.gc.ca>
1 parent 2f47241 commit 3937827

7 files changed

Lines changed: 33 additions & 44 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Depends:
2525
Suggests:
2626
testthat (>= 3.0.0),
2727
withr,
28-
ggplot2 (>= 3.0.0),
28+
ggplot2 (>= 3.5.0),
2929
gghighlight,
3030
ggthemes,
3131
knitr,

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# PlotFTIR (development version)
22

33
* `print()` now provides pretty printing for PlotFTIR data structures, showing spectral range, resolution, intensity type, number of samples, and sample IDs. (#27)
4+
* Updated to use `ggplot2::coord_transform()` instead of `coord_trans`, which is now deprecated. (#25)
45

56
# PlotFTIR 1.2.1
67

R/manipulations.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ compress_low_energy <- function(
254254
}
255255

256256
p <- ftir_spectra_plot +
257-
ggplot2::coord_trans(
257+
ggplot2::coord_transform(
258258
x = compress_trans(intercept = cutoff, ratio = compression_ratio)
259259
)
260260

man/add_band.Rd

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/add_wavenumber_marker.Rd

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/dot-pkg_abort.Rd

Lines changed: 0 additions & 36 deletions
This file was deleted.

man/dot-shared-params.Rd

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)