filename_from_url: Extract a file name from a package download URL

Description Usage Arguments Value

Description

This is usually just the part after the last slash, but for https://github.com/cran/* URLs it is a bit trickier.

Usage

1

Arguments

url

The URL, a character scalar.

pkg

The name of the package the URL belongs to.

Value

Character scalar, the file name.


MangoTheCat/pkgsnap documentation built on May 8, 2019, 3:49 p.m.