R SDK documentation uses incorrect function names
The R SDK reference page lists functions with incorrect conventions. Essentially, it seems like the python-like function naming in the documentation was abandoned for more R-like versions. As a result, most of the functions are incorrectly documented.
For example, this is part of the tutorial:
collectionList <- arv$collections.list(list(list("name", "like", "Test%")))
Should be replaced with this:
collectionList <- arv$listCollections(list(list("name", "like", "Test%")))
This works to pull a file name's uuid, for example:
uuid <- arv$listCollections(list(list("any", "@@", "GU8N1LS.bam")), limit = 1)$items[]$uuid
Updated by Fuad Muhic over 4 years ago
- Status changed from New to In Progress
Reference page is documenting latest version of R SDK in which methods listCollections, getCollections, etc. are replaced with collections.list, collections.get, etc. I assume user is using older version of R SDK.