url_file_size: Check a URL file size

View source: R/url-file-size.R

url_file_sizeR 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.


campfin documentation built on Oct. 20, 2023, 5:06 p.m.