Skip to content

Commit

Permalink
typo in xmax
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejohnson51 committed Jan 23, 2024
1 parent 3f495a0 commit b73a316
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ var_to_terra <- function(var, dap) {
nlyrs = dap$Tdim,
extent = c(
xmin = min(xmin, xmax),
xmax = max(xmax, xmax),
xmax = max(xmin, xmax),
ymin = min(ymin, ymax),
ymax = max(ymin, ymax)
))
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-climateR.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
library(AOI)
library(terra)
suppressWarnings({ library(AOI) })
suppressWarnings({ library(terra) })
library(climateR)

cities = geocode(c("Fort Collins, CO",
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-earthdata.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
library(AOI)
library(terra)
suppressWarnings({ library(AOI) })
suppressWarnings({ library(terra) })
library(climateR)

cities = geocode(c("Fort Collins, CO",
Expand Down

0 comments on commit b73a316

Please sign in to comment.