Skip to content

Commit

Permalink
remotes and start R update
Browse files Browse the repository at this point in the history
  • Loading branch information
PondiB committed Oct 28, 2023
1 parent ceab641 commit 320fc62
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ENV TZ=Etc/UTC
RUN apt-get install -y libnetcdf-dev libcurl4-openssl-dev libcpprest-dev doxygen graphviz libsqlite3-dev libboost-all-dev
RUN apt-get update && apt-get install -y libproj-dev libgdal-dev

# Install devtools package
RUN R -e "install.packages('devtools')"
# Install devtools and remotes
RUN R -e "install.packages(c('devtools', 'remotes'))"

# Install gdalcubes package
RUN R -e "install.packages('gdalcubes')"
Expand Down
4 changes: 4 additions & 0 deletions Dockerfiles/start.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Install package from GitHub
if(!require(openeosits)){
remotes::install_github("Open-Earth-Monitor/openeosits", ref = "develop", dependencies=TRUE, force = TRUE)
}
# Start service
library(openeosits)

Expand Down
2 changes: 1 addition & 1 deletion R/Collection-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Collection <- R6Class(

private$metadata = list(
extent = extent(private$imageCollection),
bands = NULL #gdalcubes:::libgdalcubes_image_collection_info(private$imageCollection)$bands$name
bands = list() #gdalcubes:::libgdalcubes_image_collection_info(private$imageCollection)$bands$name
)
},

Expand Down
4 changes: 2 additions & 2 deletions man/SENTINEL_2_L2A.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions man/eo_ml_datacube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions man/ml_datacube_schema.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 320fc62

Please sign in to comment.