Skip to content

Commit

Permalink
Use year in filename (#63)
Browse files Browse the repository at this point in the history
* Use year in filename

* Use year properly
  • Loading branch information
mikemahoney218 authored Apr 25, 2024
1 parent b005b9b commit afeb3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/articles/How-can-I-.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ downloaded_years <- vapply(
asset_names = "lcpri",
stac_source = "https://planetarycomputer.microsoft.com/api/stac/v1",
collection = "usgs-lcmap-conus-v13",
output_filename = tempfile(fileext = ".tif")
output_filename = file.path(tempdir(), glue::glue("{year}.tif"))
)
},
character(1)
Expand Down

0 comments on commit afeb3ef

Please sign in to comment.