Skip to content

Commit

Permalink
Silence expected warning on NAIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemahoney218 committed Mar 22, 2024
1 parent 9b96167 commit d527033
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/get_stac_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,10 @@ get_naip_imagery <- function(aoi,
args <- mget(names(formals()))
args$`...` <- NULL
args <- c(args, rlang::list2(...))
do.call(get_stac_data, args)
suppressWarnings(
do.call(get_stac_data, args),
classes = "rsi_band_name_length_mismatch"
)
}

#' @rdname get_stac_data
Expand Down

0 comments on commit d527033

Please sign in to comment.