Update README.md
authorAnetaSta22 <107112384+AnetaSta22@users.noreply.github.com>
Thu, 8 Jun 2023 12:20:35 +0000 (14:20 +0200)
committerPeter Amstutz <peter.amstutz@curii.com>
Wed, 21 Jun 2023 20:38:42 +0000 (16:38 -0400)
correct order

Add \dontrun{} in documentation in Arvados.R

Add \dontrun{} in documentation in ArvadosFile.R

Add \dontrun{} in documentation in Collection.R

Arvados-DCO-1.1-Signed-off-by: Aneta Stanczyk <aneta.stanczyk@contractors.roche.com>

sdk/R/R/Arvados.R
sdk/R/R/ArvadosFile.R
sdk/R/R/Collection.R
sdk/R/README.md

index 882e272c36344a1c5aa81ac0dcaa715c2d734a5a..ed65d1fc4cfce0662f2b130ae785f6de91859c26 100644 (file)
@@ -51,7 +51,9 @@ Arvados <- R6::R6Class(
         #' project_exist enables checking if the project with such a UUID exist.
         #' @param uuid The UUID of a project or a file.
         #' @examples
-        #' arv$project_exist(uuid = projectUUID)
+        #' \dontrun{
+        #' arv$project_exist(uuid = "projectUUID")
+        #' }
         project_exist = function(uuid)
         {
             proj <- self$project_list(list(list("uuid", '=', uuid)))
@@ -68,7 +70,9 @@ Arvados <- R6::R6Class(
         #' project_get returns the demanded project.
         #' @param uuid The UUID of the Group in question.
         #' @examples
-        #' project <- arv$project_get(uuid = projectUUID)
+        #' \dontrun{
+        #' project <- arv$project_get(uuid = 'projectUUID')
+        #' }
         project_get = function(uuid)
         {
             self$groups_get(uuid)
@@ -82,8 +86,10 @@ Arvados <- R6::R6Class(
         #' @param properties List of the properties of the project.
         #' @param ensureUniqueName Adjust name to ensure uniqueness instead of returning an error.
         #' @examples
+        #' \dontrun{
         #' Properties <- list() # should contain a list of new properties to be added
         #' new_project <- arv$project_create(name = "project name", description = "project description", owner_uuid = "project UUID", properties = NULL, ensureUniqueName = "false")
+        #' }
         project_create = function(name, description, ownerUUID, properties = NULL, ensureUniqueName = "false")
         {
             group <- list(name = name, description = description, owner_uuid = ownerUUID, properties = properties)
@@ -96,8 +102,10 @@ Arvados <- R6::R6Class(
         #' @param listProperties List of new properties.
         #' @param uuid The UUID of a project or a file.
         #' @examples
+        #' \dontrun{
         #' Properties <- list() # should contain a list of new properties to be added
         #' arv$project_properties_set(Properties, uuid)
+        #' }
         project_properties_set = function(listProperties, uuid)
         {
             group <- c("group_class" = "project", list("properties" = listProperties))
@@ -107,11 +115,13 @@ Arvados <- R6::R6Class(
 
         #' @description
         #' project_properties_append is a method defined in Arvados class that enables appending properties. Allows to add new properties.
-        #' @param listOfNewProperties List of new properties.
+        #' @param properties List of new properties.
         #' @param uuid The UUID of a project or a file.
         #' @examples
+        #' \dontrun{
         #' newProperties <- list() # should contain a list of new properties to be added
         #' arv$project_properties_append(properties = newProperties, uuid)
+        #' }
         project_properties_append = function(properties, uuid)
         {
             proj <- self$project_list(list(list('uuid', '=', uuid)))
@@ -130,7 +140,9 @@ Arvados <- R6::R6Class(
         #' project_properties_get is a method defined in Arvados class that returns properties.
         #' @param uuid The UUID of a project or a file.
         #' @examples
+        #' \dontrun{
         #' arv$project_properties_get(projectUUID)
+        #' }
         project_properties_get = function(uuid)
         {
             proj <- self$project_list(list(list('uuid', '=', uuid)))
@@ -142,8 +154,10 @@ Arvados <- R6::R6Class(
         #' @param oneProp Property to be deleted.
         #' @param uuid The UUID of a project or a file.
         #' @examples
+        #' \dontrun{
         #' Properties <- list() # should contain a list of new properties to be added
         #' arv$project_properties_delete(Properties,  projectUUID)
+        #' }
         project_properties_delete = function(oneProp, uuid)
         {
             proj <- self$project_list(list(list('uuid', '=', uuid))) # find project
@@ -162,8 +176,10 @@ Arvados <- R6::R6Class(
         #' @param ... Feature to be updated (name, description, properties).
         #' @param uuid The UUID of a project in question.
         #' @examples
+        #' \dontrun{
         #' newProperties <- list() # should contain a list of new properties to be added
         #' arv$project_update(name = "new project name", properties = newProperties, uuid = projectUUID)
+        #' }
         project_update = function(..., uuid) {
             vec <- list(...)
             for (i in 1:length(vec))
@@ -190,7 +206,9 @@ Arvados <- R6::R6Class(
         #' @param uuid The UUID of a project in question.
         #' @param recursive Include contents from child groups recursively.
         #' @examples
+        #' \dontrun{
         #' listOfprojects <- arv$project_list(list(list("owner_uuid", "=", projectUUID))) # Sample query which show projects within the project of a given UUID
+        #' }
         project_list = function(filters = NULL, where = NULL,
                                 order = NULL, select = NULL, distinct = NULL,
                                 limit = "100", offset = "0", count = "exact",
@@ -204,6 +222,10 @@ Arvados <- R6::R6Class(
         #' @description
         #' project_delete trashes project of a given uuid. It can be restored from trash or deleted permanently.
         #' @param uuid The UUID of the Group in question.
+        #' @examples
+        #' \dontrun{
+        #' arv$project_delete(uuid = 'projectUUID')
+        #' }
         project_delete = function(uuid)
         {
             self$groups_delete(uuid)
@@ -688,7 +710,10 @@ Arvados <- R6::R6Class(
         #' @description
         #' collections_get is a method defined in Arvados class.
         #' @param uuid The UUID of the Collection in question.
+        #' @examples
+        #' \dontrun{
         #' collection <- arv$collections_get(uuid = collectionUUID)
+        #' }
         collections_get = function(uuid)
         {
             endPoint <- stringr::str_interp("collections/${uuid}")
@@ -718,8 +743,10 @@ Arvados <- R6::R6Class(
         #' @param ensureUniqueName Adjust name to ensure uniqueness instead of returning an error.
         #' @param clusterID Create object on a remote federated cluster instead of the current one.
         #' @examples
+        #' \dontrun{
         #' Properties <- list() # should contain a list of new properties to be added
         #' arv$collections_create(name = "collectionTitle", description = "collectionDescription", ownerUUID = "collectionOwner", properties = Properties)
+        #' }
         collections_create = function(name, description, ownerUUID = NULL, properties = NULL, # name and description are obligatory
                                       ensureUniqueName = "false", clusterID = NULL)
         {
@@ -760,7 +787,9 @@ Arvados <- R6::R6Class(
         #' @param properties New list of properties of the collection.
         #' @param uuid The UUID of the Collection in question.
         #' @examples
+        #' \dontrun{
         #' collection <- arv$collections_update(name = "newCollectionTitle", description = "newCollectionDescription", ownerUUID = "collectionOwner", properties = NULL, uuid = "collectionUUID")
+        #' }
         collections_update = function(name, description, ownerUUID = NULL, properties = NULL, uuid)
         {
             endPoint <- stringr::str_interp("collections/${uuid}")
@@ -790,7 +819,9 @@ Arvados <- R6::R6Class(
         #' collections_delete is a method defined in Arvados class.
         #' @param uuid The UUID of the Collection in question.
         #' @examples
+        #' \dontrun{
         #' arv$collection_delete(collectionUUID)
+        #' }
         collections_delete = function(uuid)
         {
             endPoint <- stringr::str_interp("collections/${uuid}")
@@ -815,7 +846,9 @@ Arvados <- R6::R6Class(
         #' collections_provenance is a method defined in Arvados class, it returns the collection by uuid.
         #' @param uuid The UUID of the Collection in question.
         #' @examples
+        #' \dontrun{
         #' collection <- arv$collections_provenance(collectionUUID)
+        #' }
         collections_provenance = function(uuid)
         {
             endPoint <- stringr::str_interp("collections/${uuid}/provenance")
@@ -863,7 +896,9 @@ Arvados <- R6::R6Class(
         #' collections_trash is a method defined in Arvados class, it moves collection to trash.
         #' @param uuid The UUID of the Collection in question.
         #' @examples
+        #' \dontrun{
         #' arv$collections_trash(collectionUUID)
+        #' }
         collections_trash = function(uuid)
         {
             endPoint <- stringr::str_interp("collections/${uuid}/trash")
@@ -888,7 +923,9 @@ Arvados <- R6::R6Class(
         #' collections_untrash is a method defined in Arvados class, it moves collection from trash to project.
         #' @param uuid The UUID of the Collection in question.
         #' @examples
+        #' \dontrun{
         #' arv$collections_untrash(collectionUUID)
+        #' }
         collections_untrash = function(uuid)
         {
             endPoint <- stringr::str_interp("collections/${uuid}/untrash")
@@ -924,7 +961,9 @@ Arvados <- R6::R6Class(
         #' @param includeTrash Include collections whose is_trashed attribute is true.
         #' @param includeOldVersions Include past collection versions.
         #' @examples
+        #' \dontrun{
         #' collectionList <- arv$collections_list(list(list("name", "=", "Example")))
+        #' }
         collections_list = function(filters = NULL,
                                     where = NULL, order = NULL, select = NULL,
                                     distinct = NULL, limit = "100", offset = "0",
@@ -1826,7 +1865,9 @@ Arvados <- R6::R6Class(
         #' @param uuid The UUID of a project or a file.
         #' @param user The UUID of the person that gets the permission.
         #' @examples
+        #' \dontrun{
         #' arv$project_permission_give(type = "can_read", uuid = objectUUID, user = userUUID)
+        #' }
         project_permission_give = function(type, uuid, user)
         {
             endPoint <- stringr::str_interp("links")
@@ -1860,7 +1901,9 @@ Arvados <- R6::R6Class(
         #' @param uuid The UUID of a project or a file.
         #' @param user The UUID of a person that permissions are taken from.
         #' @examples
+        #' \dontrun{
         #' arv$project_permission_refuse(type = "can_read", uuid = objectUUID, user = userUUID)
+        #' }
         project_permission_refuse = function(type, uuid, user)
         {
             examples <- self$links_list(list(list("head_uuid","=", uuid)))
@@ -1884,7 +1927,9 @@ Arvados <- R6::R6Class(
         #' @param uuid The UUID of a project or a file.
         #' @param user The UUID of the person that the permission is being updated.
         #' @examples
+        #' \dontrun{
         #' arv$project_permission_update(typeOld = "can_read", typeNew = "can_write", uuid = objectUUID, user = userUUID)
+        #' }
         project_permission_update = function(typeOld, typeNew, uuid, user)
         {
             link <- list("name" = typeNew)
@@ -1908,7 +1953,9 @@ Arvados <- R6::R6Class(
         #' @param user The UUID of the person that the permission is being updated.
         #' @param type Possible options are can_read or can_write or can_manage.
         #' @examples
+        #' \dontrun{
         #' arv$project_permission_check(type = "can_read", uuid = objectUUID, user = userUUID)
+        #' }
         project_permission_check = function(uuid, user, type = NULL)
         {
             examples <- self$links_list(list(list("head_uuid","=", uuid)))
index 938d12a7f981ecbc8847ef75e330622e3baa0d90..f585d1f94675092f627e9677a7dc50b85d269a53 100644 (file)
@@ -19,7 +19,9 @@ ArvadosFile <- R6::R6Class(
         #' @param name Name of the new enviroment.
         #' @return A new `ArvadosFile` object.
         #' @examples
+        #' \dontrun{
         #' myFile   <- ArvadosFile$new("myFile")
+        #' }
         initialize = function(name)
         {
             if(name == "")
@@ -31,14 +33,18 @@ ArvadosFile <- R6::R6Class(
         #' @description
         #' Returns name of the file.
         #' @examples
+        #' \dontrun{
         #' arvadosFile$getName()
+        #' }
         getName = function() private$name,
 
         #' @description
         #' Returns collections file content as character vector.
         #' @param fullPath Checking if TRUE.
         #' @examples
+        #' \dontrun{
         #' arvadosFile$getFileListing()
+        #' }
         getFileListing = function(fullpath = TRUE)
         {
             self$getName()
@@ -47,7 +53,9 @@ ArvadosFile <- R6::R6Class(
         #' @description
         #' Returns collections content size in bytes.
         #' @examples
+        #' \dontrun{
         #' arvadosFile$getSizeInBytes()
+        #' }
         getSizeInBytes = function()
         {
             if(is.null(private$collection))
@@ -112,9 +120,11 @@ ArvadosFile <- R6::R6Class(
         #' @param offset Describes the location of a piece of data compared to another location
         #' @param length Length of content
         #' @examples
+        #' \dontrun{
         #' collection <- Collection$new(arv, collectionUUID)
         #' arvadosFile <- collection$get(fileName)
         #' fileContent <- arvadosFile$read("text")
+        #' }
         read = function(contentType = "raw", offset = 0, length = 0)
         {
             if(is.null(private$collection))
@@ -135,9 +145,11 @@ ArvadosFile <- R6::R6Class(
         #' Get connection opened in "read" or "write" mode.
         #' @param rw Type of connection.
         #' @examples
+        #' \dontrun{
         #' collection <- Collection$new(arv, collectionUUID)
         #' arvadosFile <- collection$get(fileName)
         #' arvConnection <- arvadosFile$connection("w")
+        #' }
         connection = function(rw)
         {
             if (rw == "r" || rw == "rb")
@@ -158,10 +170,12 @@ ArvadosFile <- R6::R6Class(
         #' @description
         #' Write connections content to a file or override current content of the file.
         #' @examples
+        #' \dontrun{
         #' collection <- Collection$new(arv, collectionUUID)
         #' arvadosFile <- collection$get(fileName)
         #' myFile$write("This is new file content")
         #' arvadosFile$flush()
+        #' }
         flush = function()
         {
             v <- textConnectionValue(private$buffer)
@@ -174,9 +188,11 @@ ArvadosFile <- R6::R6Class(
         #' @param content File to write.
         #' @param contentType Type of content. Possible is "text", "raw".
         #' @examples
+        #' \dontrun{
         #' collection <- Collection$new(arv, collectionUUID)
         #' arvadosFile <- collection$get(fileName)
         #' myFile$write("This is new file content")
+        #' }
         write = function(content, contentType = "text/html")
         {
             if(is.null(private$collection))
@@ -194,7 +210,9 @@ ArvadosFile <- R6::R6Class(
         #' Moves file to a new location inside collection.
         #' @param destination Path to new folder.
         #' @examples
+        #' \dontrun{
         #' arvadosFile$move(newPath)
+        #' }
         move = function(destination)
         {
             if(is.null(private$collection))
@@ -231,7 +249,9 @@ ArvadosFile <- R6::R6Class(
         #' Copies file to a new location inside collection.
         #' @param destination Path to new folder.
         #' @examples
+        #' \dontrun{
         #' arvadosFile$copy("NewName.format")
+        #' }
         copy = function(destination)
         {
             if(is.null(private$collection))
index 14ab0e6f267af019f64d93a232afbe47bb52d120..43a4b0b6084f133cee02269f5a45649a8d5e0ce3 100644 (file)
@@ -28,7 +28,9 @@ Collection <- R6::R6Class(
         #' @param uuid The UUID Autentic for Collection UUID.
         #' @return A new `Collection` object.
         #' @examples
+        #' \dontrun{
         #' collection <- Collection$new(arv, CollectionUUID)
+        #' }
         initialize = function(api, uuid)
         {
             private$REST <- api$getRESTService()
@@ -89,6 +91,7 @@ Collection <- R6::R6Class(
         #' @param Ncol Used in reading binary file to set numbers of columns in data.frame.
         #' @param Nrow Used in reading binary file to set numbers of rows in data.frame size.
         #' @examples
+        #' \dontrun{
         #' collection <- Collection$new(arv, collectionUUID)
         #' readFile <- collection$readArvFile(arvadosFile, istable = 'yes')                    # table
         #' readFile <- collection$readArvFile(arvadosFile, istable = 'no')                     # text
@@ -96,6 +99,7 @@ Collection <- R6::R6Class(
         #' readFile <- collection$readArvFile(arvadosFile, fileclass = 'fasta')                # fasta
         #' readFile <- collection$readArvFile(arvadosFile, Ncol= 4, Nrow = 32)                 # binary, only numbers
         #' readFile <- collection$readArvFile(arvadosFile, Ncol = 5, Nrow = 150, istable = "factor") # binary with factor or text
+        #' }
         readArvFile = function(file, con, sep = ',', istable = NULL, fileclass = "SeqFastadna", Ncol = NULL, Nrow = NULL, wantedFunction = NULL)
         {
             arvFile <- self$get(file)
@@ -197,6 +201,7 @@ Collection <- R6::R6Class(
         #' @param file File to be saved.
         #' @param istable Used in writing txt file to check if the file is table or not.
         #' @examples
+        #' \dontrun{
         #' collection <- Collection$new(arv, collectionUUID)
         #' writeFile <- collection$writeFile(name = "myoutput.csv", file = file, fileFormat = "csv", istable = NULL, collectionUUID = collectionUUID)             # csv
         #' writeFile <- collection$writeFile(name = "myoutput.tsv", file = file, fileFormat = "tsv", istable = NULL, collectionUUID = collectionUUID)             # tsv
@@ -205,8 +210,9 @@ Collection <- R6::R6Class(
         #' writeFile <- collection$writeFile(name = "myoutputtext.txt", file = file, fileFormat = "txt", istable = "no", collectionUUID = collectionUUID)         # txt text
         #' writeFile <- collection$writeFile(name = "myoutputbinary.dat", file = file, fileFormat = "dat", collectionUUID = collectionUUID)                       # binary
         #' writeFile <- collection$writeFile(name = "myoutputxlsx.xlsx", file = file, fileFormat = "xlsx", collectionUUID = collectionUUID)                       # xlsx
-        writeFile = function(name, file, collectionUUID, fileFormat, istable = NULL, seqName = NULL) {
-
+        #' }
+        writeFile = function(name, file, collectionUUID, fileFormat, istable = NULL, seqName = NULL)
+        {
             # set enviroment
             ARVADOS_API_TOKEN <- Sys.getenv("ARVADOS_API_TOKEN")
             ARVADOS_API_HOST <- Sys.getenv("ARVADOS_API_HOST")
@@ -247,7 +253,9 @@ Collection <- R6::R6Class(
         #' Creates one or more ArvadosFiles and adds them to the collection at specified path.
         #' @param files Content to be created.
         #' @examples
+        #' \dontrun{
         #' collection <- arv$collections_create(name = collectionTitle, description = collectionDescription, owner_uuid = collectionOwner, properties = list("ROX37196928443768648" = "ROX37742976443830153"))
+        #' }
         create = function(files)
         {
             if(is.null(private$tree))
@@ -281,7 +289,9 @@ Collection <- R6::R6Class(
         #' Remove one or more files from the collection.
         #' @param paths Content to be removed.
         #' @examples
+        #' \dontrun{
         #' collection$remove(fileName.format)
+        #' }
         remove = function(paths)
         {
             if(is.null(private$tree))
@@ -320,7 +330,9 @@ Collection <- R6::R6Class(
         #' @param content Content to be moved.
         #' @param destination Path to move content.
         #' @examples
+        #' \dontrun{
         #' collection$move("fileName.format", path)
+        #' }
         move = function(content, destination)
         {
             if(is.null(private$tree))
@@ -341,7 +353,9 @@ Collection <- R6::R6Class(
         #' @param content Content to be moved.
         #' @param destination Path to move content.
         #' @examples
+        #' \dontrun{
         #' copied <- collection$copy("oldName.format", "newName.format")
+        #' }
         copy = function(content, destination)
         {
             if(is.null(private$tree))
@@ -360,7 +374,9 @@ Collection <- R6::R6Class(
         #' @description
         #' Refreshes the environment.
         #' @examples
+        #' \dontrun{
         #' collection$refresh()
+        #' }
         refresh = function()
         {
             if(!is.null(private$tree))
@@ -373,7 +389,9 @@ Collection <- R6::R6Class(
         #' @description
         #' Returns collections file content as character vector.
         #' @examples
+        #' \dontrun{
         #' list <- collection$getFileListing()
+        #' }
         getFileListing = function()
         {
             if(is.null(private$tree))
@@ -387,7 +405,9 @@ Collection <- R6::R6Class(
         #' If relativePath is valid, returns ArvadosFile or Subcollection specified by relativePath, else returns NULL.
         #' @param relativePath Path from content is taken.
         #' @examples
+        #' \dontrun{
         #' arvadosFile <- collection$get(fileName)
+        #' }
         get = function(relativePath)
         {
             if(is.null(private$tree))
index 939e69b8023b31c8063d4be0253e665ad4071199..fe98e648ca97fbe613e6db98ca6b2c84e03cb089 100644 (file)
@@ -63,41 +63,56 @@ This parameter can be set at any time using `setNumRetries`
 arv$setNumRetries(5)
 ```
 
-### Working with collections
+### Working with Aravdos projects
 
-#### Get a collection:
+##### Create project:
 
 ```r
-collection <- arv$collections_get("uuid")
+newProject <- arv$project_create(name = "project name", description = "project description", owner_uuid = "project UUID", properties = NULL, ensureUniqueName = "false")
 ```
 
-Be aware that the result from `collections_get` is not a Collection class. The object returned from this method lets you access collection fields like “name” and “description”. The Collection class lets you access the files in the collection for reading and writing, and is described in the next section.
+##### Update project:
 
-#### List collections:
+```r
+updatedProject <- arv$project_update(name = "new project name", properties = newProperties, uuid = "projectUUID")
+```
+
+##### Delete a project:
 
 ```r
-# offset of 0 and default limit of 100
-collectionList <- arv$collections_list(list(list("name", "like", "Test%")))
+deletedProject <- arv$project_delete("uuid")
+```
 
-collectionList <- arv$collections_list(list(list("name", "like", "Test%")), limit = 10, offset = 2)
+#### Find a project:
 
-# count of total number of items (may be more than returned due to paging)
-collectionList$items_available
+##### Get a project:
 
-# items which match the filter criteria
-collectionList$items
+```r
+project <- arv$project_get("uuid")
 ```
 
-#### List all collections even if the number of items is greater than maximum API limit:
+##### List projects:
 
 ```r
-collectionList <- listAll(arv$collections_list, list(list("name", "like", "Test%")))
+list subprojects of a project
+projects <- arv$project_list(list(list("owner_uuid", "=", "aaaaa-j7d0g-ccccccccccccccc")))
+
+list projects which have names beginning with Example
+examples <- arv$project_list(list(list("name","like","Example%")))
 ```
 
-#### Delete a collection:
+##### List all projects even if the number of items is greater than maximum API limit:
 
 ```r
-deletedCollection <- arv$collections_delete("uuid")
+projects <- listAll(arv$project_list, list(list("name","like","Example%")))
+```
+
+### Working with collections
+
+#### Create a new collection:
+
+```r
+newCollection <- arv$collections_create(name = "collectionTitle", description = "collectionDescription", ownerUUID = "collectionOwner", properties = Properties)
 ```
 
 #### Update a collection’s metadata:
@@ -106,10 +121,41 @@ deletedCollection <- arv$collections_delete("uuid")
 collection <- arv$collections_update(name = "newCollectionTitle", description = "newCollectionDescription", ownerUUID = "collectionOwner", properties = NULL, uuid =  "collectionUUID")
 ```
 
-#### Create a new collection:
+#### Delete a collection:
 
 ```r
-newCollection <- arv$collections_create(name = "collectionTitle", description = "collectionDescription", ownerUUID = "collectionOwner", properties = Properties)
+deletedCollection <- arv$collections_delete("uuid")
+```
+
+#### Find a collection:
+
+#### Get a collection:
+
+```r
+collection <- arv$collections_get("uuid")
+```
+
+Be aware that the result from `collections_get` is not a Collection class. The object returned from this method lets you access collection fields like “name” and “description”. The Collection class lets you access the files in the collection for reading and writing, and is described in the next section.
+
+#### List collections:
+
+```r
+# offset of 0 and default limit of 100
+collectionList <- arv$collections_list(list(list("name", "like", "Test%")))
+
+collectionList <- arv$collections_list(list(list("name", "like", "Test%")), limit = 10, offset = 2)
+
+# count of total number of items (may be more than returned due to paging)
+collectionList$items_available
+
+# items which match the filter criteria
+collectionList$items
+```
+
+#### List all collections even if the number of items is greater than maximum API limit:
+
+```r
+collectionList <- listAll(arv$collections_list, list(list("name", "like", "Test%")))
 ```
 
 ### Manipulating collection content
@@ -284,47 +330,6 @@ subcollection <- collection$get("location/to/folder")
 subcollection$copy("destination/folder")
 ```
 
-### Working with Aravdos projects
-
-#### Get a project:
-
-```r
-project <- arv$project_get("uuid")
-```
-
-#### List projects:
-
-```r
-list subprojects of a project
-projects <- arv$project_list(list(list("owner_uuid", "=", "aaaaa-j7d0g-ccccccccccccccc")))
-
-list projects which have names beginning with Example
-examples <- arv$project_list(list(list("name","like","Example%")))
-```
-
-#### List all projects even if the number of items is greater than maximum API limit:
-
-```r
-projects <- listAll(arv$project_list, list(list("name","like","Example%")))
-```
-
-##### Delete a project:
-
-```r
-deletedProject <- arv$project_delete("uuid")
-```
-
-##### Update project:
-
-```r
-updatedProject <- arv$project_update(name = "new project name", properties = newProperties, uuid = "projectUUID")
-```
-
-##### Create project:
-
-```r
-newProject <- arv$project_create(name = "project name", description = "project description", owner_uuid = "project UUID", properties = NULL, ensureUniqueName = "false")
-```
 
 ### Help