Skip to content

Commit

Permalink
fix(import_shape_map): remove unlink command
Browse files Browse the repository at this point in the history
Ref: #194
  • Loading branch information
GeraldineGomez committed Aug 2, 2024
1 parent 29e4f4d commit 12af287
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/import_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,6 @@ import_shape_map <- function(ruta_dir = NULL,
stop("No es posible obtener el Shapefile del mapa")
}
if (!cache) {
unlink(file.path(ruta_dir, carpeta_base), recursive = TRUE)
file.remove(file.path(ruta_dir, ruta_zip))
}
return(shp)
Expand Down

0 comments on commit 12af287

Please sign in to comment.