Skip to content

Commit 0f3c594

Browse files
committed
better failure diagnostics
1 parent 6f3ef1d commit 0f3c594

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/download_worldclim_future.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ download_worldclim_future <- function(dataset, bio_var, filename = NULL) {
4747
destfiles = worldclim_url
4848
)
4949
if (any(!download_res$success)) {
50+
print(download_res)
5051
stop("something went wrong downloading the data; try again")
5152
}
5253

0 commit comments

Comments
 (0)