Skip to content

Commit

Permalink
Improved documentation for various functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Apr 22, 2024
1 parent 3d043ad commit 7fa0c07
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 20 deletions.
8 changes: 6 additions & 2 deletions R/fetchDirectory.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
#' @param registry String containing a path to the registry.
#' @param url String containing the URL to the Gobbler REST API.
#' @param cache String containing a path to a cache directory.
#' If \code{NULL}, an appropriate cache is automatically chosen.
#' If \code{NULL}, an appropriate location is automatically chosen.
#' Only used for remote access.
#' @param forceRemote Logical scalar indicating whether to force remote access.
#' This will download all files in the \code{path} via the REST API and cache them locally.
#' This will download all files in the \code{path} via the REST API and cache them locally,
#' even if \code{registry} is on the same filesystem as the caller.
#' @param overwrite Logical scalar indicating whether to overwrite the existing cache.
#' Only used for remote access.
#' @param concurrent Integer specifying the number of concurrent downloads.
#' Only used for remote access.
#'
#' @return Path to the subdirectory on the caller's filesystem.
#' This is either a path to the registry if it is accessible,
Expand Down
1 change: 1 addition & 0 deletions R/fetchManifest.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#' \item \code{md5sum}, a string containing the hex-encoded MD5 checksum of the file.
#' \item \code{link} (optional): a list specifying the link destination for a file.
#' This contains the strings \code{project}, \code{asset}, \code{version} and \code{path}.
#' If the link destination is itself a link, an \code{ancestor} list will be present that specifies the final location of the file after resolving all intermediate links.
#' }
#'
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion R/listProjects.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @param registry String containing a path to the registry.
#' @param url String containing the URL to the Gobbler REST API.
#' @param forceRemote Logical scalar indicating whether to force remote access via the API,
#' even if \code{registry} is accessible to the caller.
#' even if \code{registry} is on the same filesystem as the caller.
#'
#' @author Aaron Lun
#'
Expand Down
12 changes: 8 additions & 4 deletions man/fetchDirectory.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fetchLatest.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions man/fetchManifest.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fetchPermissions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions man/fetchSummary.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fetchUsage.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/listAssets.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/listFiles.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/listProjects.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/listVersions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7fa0c07

Please sign in to comment.