Facing error in .bin files while deploying shiny.

I 'm using NOAA server to download a stacked raster data.

a<- stack("https://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/DF.gr2/DC.ndfd/AR.conus/VP.001-003/ds.fret.bin")

I created a shiny app that works fine on my system. But when I deploy it I get an error. On checking the logs I found that the error is related to the link to the raster file.

For some reason, the shiny-server goes to

https://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/DF.gr2/DC.ndfd/AR.conus/VP.001-003/ds.fret.bin.ver.

.ver. at the end of the link results in the error. which is not in y original script.

How can I go around this?

Thanks in advance.

I opened an issue for you,