Skip to content

Commit

Permalink
Merge branch 'v.1.0.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
csaybar committed Dec 25, 2020
2 parents bdd5a30 + f89d630 commit c5506e2
Show file tree
Hide file tree
Showing 112 changed files with 3,198 additions and 2,819 deletions.
Empty file modified .github/.gitignore
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE.md
100644 → 100755
Empty file.
Empty file modified .github/encrypt_secret.sh
100644 → 100755
Empty file.
Empty file modified .github/updated.R
100644 → 100755
Empty file.
Empty file modified .github/workflows/R-CMD-check.yaml
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions .github/workflows/pkgdown.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:
with:
r-version: '3.6.1'
- uses: r-lib/actions/setup-pandoc@master

- name: INSTALL SYSTEM DEPENDENCIES [macOS]
if: runner.os == 'macOS'
env:
RHUB_PLATFORM: osx-x86_64-clang
run: |
brew cask install xquartz
brew cask install xquartz
- name: Query dependencies
run: |
install.packages("Rcpp")
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = "Imports"), ".github/depends.Rds", version = 2)
shell: Rscript {0}

- name: Cache R packages
uses: actions/cache@v1
with:
Expand Down
Empty file modified .github/workflows/pr-commands.yaml
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions .github/workflows/test-coverage.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
env:
RHUB_PLATFORM: osx-x86_64-clang
run: |
rm '/usr/local/bin/gfortran'
brew install udunits
brew install gdal
brew install freetype
Expand Down
Empty file modified .github/workflows/updated.yaml
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ docs
static
pkgdown/favicon
revdep
build_package.R
Empty file modified CODE_OF_CONDUCT.md
100644 → 100755
Empty file.
Empty file modified CONTRIBUTING.md
100644 → 100755
Empty file.
9 changes: 7 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rgee
Title: R Bindings for Calling the 'Earth Engine' API
Version: 1.0.6
Version: 1.0.7
Authors@R:
c(person(given = "Cesar",
family = "Aybar",
Expand Down Expand Up @@ -62,6 +62,10 @@ Authors@R:
role = c("ctb"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-6945-0419")),
person(given = "Henrik",
family = "Bengtsson",
role = c("ctb"),
email = "[email protected]"),
person(given = "Jeffrey",
family = "Hollister",
role = c("rev"),
Expand Down Expand Up @@ -100,7 +104,6 @@ Imports:
Suggests:
leaflet (>= 2.0.2),
leaflet.extras2,
mapview,
magick,
geojsonio,
sf,
Expand All @@ -109,12 +112,14 @@ Suggests:
googleCloudStorageR (>= 0.5.1),
rstudioapi (>= 0.7),
jsonlite,
leafem,
raster,
rgdal,
httr,
digest,
spelling,
testthat,
future,
covr,
knitr,
rmarkdown,
Expand Down
7 changes: 4 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Generated by roxygen2: do not edit by hand

S3method("+",EarthEngineMap)
S3method("|",EarthEngineMap)
S3method(ee_print,ee.feature.Feature)
S3method(ee_print,ee.featurecollection.FeatureCollection)
S3method(ee_print,ee.geometry.Geometry)
Expand All @@ -10,7 +12,6 @@ export("%>%")
export(Map)
export(ee)
export(ee_Initialize)
export(ee_as_mapview)
export(ee_as_raster)
export(ee_as_sf)
export(ee_as_stars)
Expand Down Expand Up @@ -72,12 +73,14 @@ export(ee_users)
export(ee_utils_create_json)
export(ee_utils_create_manifest_image)
export(ee_utils_create_manifest_table)
export(ee_utils_future_value)
export(ee_utils_get_crs)
export(ee_utils_gif_annotate)
export(ee_utils_gif_creator)
export(ee_utils_gif_save)
export(ee_utils_py_to_r)
export(ee_utils_pyfunc)
export(ee_utils_search_display)
export(ee_utils_shp_to_zip)
export(ee_version)
export(eedate_to_rdate)
Expand All @@ -88,8 +91,6 @@ export(raster_as_ee)
export(rdate_to_eedate)
export(sf_as_ee)
export(stars_as_ee)
exportClasses(EarthEngineMap)
exportClasses(mapview)
importFrom(cli,cat_line)
importFrom(cli,rule)
importFrom(cli,symbol)
Expand Down
20 changes: 20 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ vignette: >
%\VignetteIndexEntry{NEWS}
%\VignetteEncoding{UTF-8}
---
# rgee 1.0.7

- Unit testing enhanced.
- More documentation related to credentials.
- Smoother connection with Python (reticulate).
- Now Map$... functions only depend on {leaflet}.
- Public argument added to `ee_as_sf`, `ee_as_raster`, `ee_as_stars`, `ee_imagecollection_to_local`, `ee_drive_to_local` and `ee_gcs_to_local` which permit to create a public link to the resources generated.
- A new argument "**metadata**" is added to `ee_as_sf`, `ee_as_raster`, `ee_as_stars`, `ee_drive_to_local`, `ee_imagecollection_to_local`, and `ee_gcs_to_local`. If TRUE, the metadata related to the export of the images will be added to raster/stars objects.
- Fix a bug in Rstudio `ee_help` addins.
- Fix a bug in `ee_extract` which adds the `system:index` to the colnames when the `x` argument is an `ee$ImageCollection`.
- Fix a bug that does not permit to `ee_as_raster` and `ee_as_stars` change the fileNamePrefix (#112).
- a stop added in `sf_as_ee` since {geojsonio} does not support POSIXt objects (#113).
- Lazy evaluation support to `ee_imagecollection_to_local`, `ee_as_sf`, `ee_as_raster` and `ee_as_stars`.
- Export images via 'getInfo' was removed from `ee_as_raster` and `ee_as_stars` to avoid problems related to geometric offset.
- Now `ee_monitoring` can also be invoked with the ID of a EE task started.
- `ee_search` module deprecated, it will be removed of rgee in version 1.0.8.
- New functions: `ee_utils_search_display` that display the website related to the Earth Engine dataset, and `ee_utils_future_value` that helps to run a {future} container.
- Earth Engine Python API test updated to 0.1.246.

# rgee 1.0.6
- Class method chaining (i.e. `x$size()$getInfo()`) were changed by pipes (i.e. ee_x %>% `ee$FeatureCollection$size() %>% ee$Number()`) in all the `rgee` functions. This solve the problem "OverflowError: python int too large to convert to C long" on Window systems.
- rgee functions has a cleaner method to run system processes, {**processx**}
Expand All @@ -29,6 +48,7 @@ same name.
- Fix a bug in name creator in `ee_imagecollection_to_local`.
- A new message more detailed when the Python path does not have the earth-engine Python API.
- Earth Engine Python API updated to 0.1.235.

# rgee 1.0.5
- Important changes in the low level API to upload raster and vector with GCS. However, high upload API (`sf_as_ee`, `stars_as_ee`, and `raster_as_ee`) continue working in the same way.
- Add the functions: `ee_utils_create_manifest_image` and `ee_utils_create_manifest_table`
Expand Down
27 changes: 0 additions & 27 deletions R/AAAMapclass.R

This file was deleted.

Loading

0 comments on commit c5506e2

Please sign in to comment.