R: List app versions

list_versions {binman} | R Documentation

## List app versions

### Description

List app versions by platform

### Usage

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

### Arguments

`appname` | A character string giving the name of the application
`platform` | A character vector of platforms to list. Defaults to "ALL"

### Value

A list of platforms with version directories

### Examples

    ## Not run:
    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)

    ## End(Not run)

[Package binman version 0.1.2 Index]