up_folder: Performs "up-level" on a folder string

Description Usage Arguments Value Examples

View source: R/install.R

Description

Gets a character vector of folder strings and returns the same vector after removing the end of the folder path.

Usage

1
up_folder(FOLDER, n = -1, ...)

Arguments

FOLDER

a character vector of folders

n

passed to n in function head

...

not used.

Value

The name of the file in the URL

Examples

1
up_folder(FOLDER = c("D:/R/R-3.0.1", "D:/R/R-3.0.2", "D:/R/R-3.0.3"))


installr documentation built on May 20, 2017, 1:10 a.m.
Search within the installr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.