is_url_valid: Is the download URL valid?

View source: R/is_url_valid.R

is_url_validR Documentation

Is the download URL valid?

Description

The download link expires after 4 hours.

Usage

is_url_valid(
  netmhc2pan_bin_url = get_netmhc2pan_bin_url(),
  verbose = FALSE,
  netmhc2pan_archive_filename = get_netmhc2pan_archive_filename(),
  temp_local_file = tempfile(pattern = "netmhc2pan_is_url_valid_")
)

Arguments

netmhc2pan_bin_url

URL to download the NetMHCIIpan binary tarball file from, similar to, for example, https://www.cbs.dtu.dk/download/12345678-1234-1234-1234-123456789ABC. Use get_netmhc2pan_bin_url to get the default URL.

verbose

set to TRUE for more output

netmhc2pan_archive_filename

the NetMHC2pan archive filename, for example netMHCIIpan-3.2.Linux.tar.gz, which is used in installation of NetMHC2pan. Use get_netmhc2pan_archive_filename to get this filename.

temp_local_file

path to the temporary file to store the URL to. This file will be deleted afterwards.

Value

TRUE if the download URL valid, FALSE otherwise


netmhc2pan documentation built on Nov. 9, 2023, 1:08 a.m.