Skip to content

Commit

Permalink
Use .tif as synonym to .tiff (#5329)
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Jun 19, 2023
1 parent 5fea610 commit 996cbd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/save.R
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ plot_dev <- function(device, filename = NULL, dpi = 300, call = caller_env()) {
jpg = function(...) jpeg_dev(..., res = dpi, units = "in"),
jpeg = function(...) jpeg_dev(..., res = dpi, units = "in"),
bmp = function(...) grDevices::bmp(..., res = dpi, units = "in"),
tiff = function(...) tiff_dev(..., res = dpi, units = "in")
tiff = function(...) tiff_dev(..., res = dpi, units = "in"),
tif = function(...) tiff_dev(..., res = dpi, units = "in")
)

if (is.null(device)) {
Expand Down

0 comments on commit 996cbd8

Please sign in to comment.