Skip to content

Commit

Permalink
r
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Jan 4, 2025
1 parent 2584762 commit 0d67fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_raster.R
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ prettyNumbs <- function(x, digits) {
if (ncell(x) > 1.1 * maxcell) {

if (is.null(overview)) {
if (grepl("https://", tolower(sources(x)))) {
if (grepl("https://", tolower(sources(x))[1])) {
overview <- TRUE
} else {
overview <- FALSE
Expand Down

0 comments on commit 0d67fdc

Please sign in to comment.