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/RtmpcPC1yF/file22c5618856f/test/simple/v1"