Thin wrapper around utils::download.file() that returns the target
path invisibly so it composes in pipelines.
Arguments
- url
URL to download.
- target_path
Destination path on disk.
- mode
Write mode passed to
utils::download.file(); defaults to"wb"(binary) for cross-platform safety.- quiet
Logical; suppress progress output. Defaults to
FALSE.