# NOT RUN {
library(rgee)
library(stars)
ee_reattach()
# Initialize a specific Earth Engine account and
# Google Cloud Storage credentials
ee_Initialize(
email = "data.colec.fbf@gmail.com",
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