Skip to content

Commit

Permalink
copies additional files externally
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowosad committed Oct 9, 2024
1 parent 06a83aa commit 24e0574
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions data-raw/save_externally.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,11 @@ dir("data", full.names = TRUE) |>
list_flatten() |>
saver("../spData_files/data")

ext_files = c(
dir("inst/misc", full.names = TRUE),
dir("inst/raster", full.names = TRUE),
dir("inst/weights", full.names = TRUE),
dir("inst/shapes", full.names = TRUE, pattern = "*.(gpkg|geojson)")
)

file.copy(ext_files, "../spData_files/data/", overwrite = FALSE)

0 comments on commit 24e0574

Please sign in to comment.