Skip to content

Commit

Permalink
Set pattern to select plots (png) only
Browse files Browse the repository at this point in the history
  • Loading branch information
damianooldoni committed Mar 28, 2024
1 parent 858e502 commit c0393fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/07_occurrence_indicators_modelling.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@ We create a zip file with all generated plots:
folder_path <- here::here("data", "output", "GAM_outputs")
zip(zipfile = here::here("data", "output", "GAM_outputs", "plots.zip"),
files = list.files(
folder_path,
)
folder_path,
pattern = "png$",
full.names = FALSE,
recursive = FALSE
)
Expand Down

0 comments on commit c0393fa

Please sign in to comment.