Skip to content

Commit

Permalink
[FIX] rgeos removed from CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCretois committed Nov 9, 2023
1 parent 80fd38b commit 0102895
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ RUN install2.r --error \
plotly \
dashboardthemes \
starsExtra

RUN R -e "devtools::install_github('hadley/emo')"
RUN R -e "devtools::install_github('Appsilon/shiny.i18n')"

COPY . ./home/rstudio/app/

# Change the user settings
Expand Down
2 changes: 0 additions & 2 deletions appScripts/dependancies.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ library(plotly)
library(dashboardthemes)
library(emo)
library(viridis)
library(rgdal)
library(raster)
library(rgeos)
library(gstat)
library(data.table)
library(mapview)
Expand Down
5 changes: 3 additions & 2 deletions appScripts/global.R
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ print_error_csv_columns <- function(){

open_shapefile <- function(filename){

shp <- readOGR(filename) %>% st_as_sf()

#shp <- readOGR(filename) %>% st_as_sf()
shp <- st_read(filename)

if (length(shp) == 0){
showModal(modalDialog(
title = "SHP input error",
Expand Down

0 comments on commit 0102895

Please sign in to comment.