Skip to content

Commit

Permalink
Fixing a check_win_devel() raised bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pbulsink committed Nov 4, 2024
1 parent 201b600 commit cdfe3ce
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
Expand Down
2 changes: 1 addition & 1 deletion R/manipulations.R
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ rename_plot_sample_ids <- function(ftir_spectra_plot, sample_ids) {
} else {
p <- ftir_spectra_plot +
ggthemes::scale_color_calc(labels = new_ids) +
ggplot2::scale_x_reverse(minor_breaks = scales::breaks_width(-200))
ggplot2::scale_x_reverse(breaks = scales::breaks_extended())
}

return(p)
Expand Down
2 changes: 1 addition & 1 deletion R/plot_ftir.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ plot_ftir_core <- function(ftir, plot_title = "FTIR Spectra", legend_title = "Sa
) +
ggplot2::guides(color = ggplot2::guide_legend(title = legend_title), x = ggplot2::guide_axis(minor.ticks = TRUE)) +
ggplot2::theme_light() +
ggplot2::scale_x_reverse(minor_breaks = scales::breaks_width(-200))
ggplot2::scale_x_reverse(breaks = scales::breaks_extended())

if (!requireNamespace("ggthemes", quietly = TRUE) || length(unique(ftir$sample_id)) > 15) {
p <- p +
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,14 @@ citation("PlotFTIR")
#> To cite package 'PlotFTIR' in publications use:
#>
#> Bulsink P (????). _PlotFTIR: Plot FTIR Spectra_. R package version
#> 0.1.0, <https://github.com/NRCan/PlotFTIR>.
#> 1.0.0, <https://github.com/NRCan/PlotFTIR>.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {PlotFTIR: Plot FTIR Spectra},
#> author = {Philip Bulsink},
#> note = {R package version 0.1.0},
#> note = {R package version 1.0.0},
#> url = {https://github.com/NRCan/PlotFTIR},
#> }
```
Expand Down Expand Up @@ -501,14 +501,14 @@ citation("PlotFTIR")
#> To cite package 'PlotFTIR' in publications use:
#>
#> Bulsink P (????). _PlotFTIR: Plot FTIR Spectra_. R package version
#> 0.1.0, <https://github.com/NRCan/PlotFTIR>.
#> 1.0.0, <https://github.com/NRCan/PlotFTIR>.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {PlotFTIR: Plot FTIR Spectra},
#> author = {Philip Bulsink},
#> note = {R package version 0.1.0},
#> note = {R package version 1.0.0},
#> url = {https://github.com/NRCan/PlotFTIR},
#> }
```
Binary file modified man/figures/README-basic_plot_en-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-basic_plot_fr-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-biodiesel_compress_en-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-biodiesel_compress_fr-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-biodiesel_labelled_en-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-biodiesel_labelled_fr-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-biodiesel_rename_en-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-biodiesel_rename_fr-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-biodiesel_zoom_en-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-biodiesel_zoom_fr-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-stack_plot_en-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-stack_plot_fr-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-tidy_en-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-tidy_fr-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cdfe3ce

Please sign in to comment.