Learn R Programming

binman (version 0.1.3)

list_versions: List app versions

Description

List app versions by platform

Usage

list_versions(appname, platform = c("ALL"))

Value

A list of platforms with version directories

Arguments

appname

A character string giving the name of the application

platform

A character vector of platforms to list. Defaults to "ALL"

Examples

Run this code
if (FALSE) {
appdir <- app_dir("superduperapp", FALSE)
platforms <- LETTERS[1:4]
versions <- LETTERS[5:7]
mkdirs <- file.path(appdir, outer(platforms, versions, file.path))
chk <- vapply(mkdirs, dir.create, logical(1), recursive = TRUE)
expect_true(all(chk))
res <- list_versions("superduperapp")
unlink(appdir, recursive = TRUE)
}

Run the code above in your browser using DataLab