safe_download {ces}R Documentation

Safe file download with platform-specific handling

Description

Safe file download with platform-specific handling

Usage

safe_download(url, destfile, mode = "wb", quiet = FALSE, timeout = 600)

Arguments

url

URL to download from

destfile

Destination file path

mode

"wb" for binary, "w" for text

quiet

Logical indicating whether to show progress

timeout

Timeout in seconds

Value

0 if successful, error code otherwise


[Package ces version 0.1.0 Index]