Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Merge pull request #3 from socialcopsdev/minor-patch
Browse files Browse the repository at this point in the history
put mandatory arguments before optional ones in landsat_download
  • Loading branch information
himanshu-sikaria authored Jul 24, 2018
2 parents 9ec247a + b555272 commit 0aca3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/landsat_download.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' landsat_download("https://edclpdsftp.cr.usgs.gov/orders/order_id1.tar.gz", dest_file = tempdir())
#'

landsat_download <- function(download_url, entity_id = NULL, folder_wise = FALSE, dest_file){
landsat_download <- function(download_url, dest_file, entity_id = NULL, folder_wise = FALSE){

if(!(folder_wise)){
entity_id = rep("/", length(download_url))
Expand Down

0 comments on commit 0aca3fb

Please sign in to comment.