httr icon indicating copy to clipboard operation
httr copied to clipboard

progress bar immediately shows 100%

Open rafapereirabr opened this issue 4 years ago • 0 comments

Hi all. I use httr to download files in the geobr package. The issue I'm facing is that the progress bar immediately shows 100%, but the file is not downloaded yet.

Reprex.

library(httr)

# one of the files we use in our package
file_url <- "http://www.ipea.gov.br/geobr/data_gpkg/census_tract/2010/33_simplified.gpkg"

httr::GET(url=file_url, httr::progress(type = "down") )

ps. Thanks for an amazing package.

rafapereirabr avatar Feb 11 '21 22:02 rafapereirabr