# NOT RUN {
library(rgee)
library(stars)
# Initialize a specific Earth Engine account and
# Google Cloud Storage credentials
ee_Initialize(gcs = TRUE)
# # Define an image.
# tif <- system.file("tif/L7_ETMs.tif", package = "stars")
# local_to_gcs(x = tif, bucket = 'rgee_dev')
# }
Run the code above in your browser using DataLab