Obtain the path to the directory containing a versioned asset in the registry.

versionPath(project, asset, version, ...)

Arguments

project

String containing the project name.

asset

String containing the asset name.

version

String containing the version name.

...

Further arguments to pass to fetchDirectory.

Value

String containing a path to a versioned asset in the registry.

Author

Aaron Lun

Examples

info <- startGobbler()
versionPath("test", "simple", "v1", registry=info$registry, url=info$url)
#> [1] "/tmp/Rtmpk5zsYr/file2197142a3a8/test/simple/v1"