url_file_size {campfin}R Documentation

Check a URL file size

Description

Call httr::HEAD() and return the number of bytes in the file to be downloaded.

Usage

url_file_size(url)

Arguments

url

The URL of the file to query.

Value

The size of a file to be downloaded.

Examples

url_file_size("https://cran.r-project.org/bin/macosx/old/R-2.0.1.dmg")

[Package campfin version 1.0.9 Index]