R function for checking Google credentials (Google Earth Engine, Google Drive and Google Cloud Storage), Python environment and Third-Party Python Packages used by rgee. Besides, from v0.1.304, earthengine-api (Python side) requires gcloud to manage authentication (see ee_Authenticate).
ee_check(user = NULL, quiet = FALSE)
ee_check_python(quiet = FALSE)
ee_check_python_packages(quiet = FALSE)
ee_check_credentials(quiet = FALSE)
ee_check_gcloud()
Arguments
Character.User to check credentials. If this parameter is not defined, then the check for credentials will be skipped.
Logical. Suppress info message
No return value, called for checking non-R rgee dependencies.
Examplesif (FALSE) { # \dontrun{
library(rgee)
ee_check_python()
ee_check_python_packages()
ee_check_credentials()
ee_check_gcloud()
ee_check() # put them all together
## Install gcloud in Unix systems
## 1. Download/Install gcloud
# system("curl -sSL https://sdk.cloud.google.com | bash")
## 2. Set the PATH ENV
# sdkpath <- sprintf("%s/google-cloud-sdk/bin/", Sys.getenv("HOME"))
# Sys.setenv(PATH=sprintf("%s:%s", Sys.getenv("PATH"), sdkpath))
} # }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4