My quarto presentations error with a utils::download.file timeout (defaults to 60s, expecting ~4MB/s for the 250MB shinylive archive). Not sure if it's limited by my internet or the github release artifacts server throttling downloads, but regardless this exceeds the guidelines in ?utils::download.file:
It is unrealistic to require download times of less than 1s/MB.
Just temporarily bumping the download timeout to accommodate the file size. Not sure how much you want to engineer this, but this could even catch the error and check to see if it failed due to a timeout, and if so suggest rerunning with R_DEFAULT_INTERNET_TIMEOUT increased.
My quarto presentations error with a
utils::download.file
timeout (defaults to 60s, expecting ~4MB/s for the 250MBshinylive
archive). Not sure if it's limited by my internet or the github release artifacts server throttling downloads, but regardless this exceeds the guidelines in?utils::download.file
:Just temporarily bumping the download timeout to accommodate the file size. Not sure how much you want to engineer this, but this could even catch the error and check to see if it failed due to a timeout, and if so suggest rerunning with
R_DEFAULT_INTERNET_TIMEOUT
increased.