Skip to content

Commit

Permalink
Merge pull request #372 from NONONOexe/master
Browse files Browse the repository at this point in the history
Updated ee_check_init() to compare earthengine-api version using
  • Loading branch information
ambarja authored Feb 12, 2025
2 parents a4743e9 + 5964f15 commit d7f27d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils-auth.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ee_check_init <- function() {
earthengine_version <- ee_utils_py_to_r(ee_utils$ee_getversion())

# is earthengine-api greater than 0.1.317?
if (as.numeric(gsub("\\.","",earthengine_version)) < 01317) {
if (numeric_version(earthengine_version) < numeric_version("0.1.317")) {
warning(
"Update your earthengine-api installations to v0.1.317 or greater. ",
"Earlier versions are not compatible with recent ",
Expand Down

0 comments on commit d7f27d9

Please sign in to comment.