Skip to content

Commit

Permalink
[fix #37] better doc of ... for call customization
Browse files Browse the repository at this point in the history
  • Loading branch information
fmichonneau committed Jul 4, 2015
1 parent 881ac28 commit b64ff94
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions R/rotl-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
##'
##' @section Customizing API calls:
##'
##' All functions that call API end points can take 2 arguments to
##' customize the API call.
##' All functions that use API end points can take 2 arguments to
##' customize the API call and are passed as \code{...} arguments.
##'
##' \itemize{
##'
##' \item{ \code{otl_v} } { This argument controls which version of
##' the API your call is using. The default value for this
##' argument is a call to the function \code{otl_version()} which
##' returns the current version of the Open Tree of Life APIs
##' (v2).}
##' \item{ \code{otl_v} } { This argument controls which version
##' of the API your call is using. The default value for this
##' argument is a call to the non-exported function
##' \code{otl_version()} which returns the current version of the
##' Open Tree of Life APIs (v2).}
##'
##' \item{ \code{dev_url} } { This argument controls whether to use
##' the development version of the API. By default, \code{dev_url}
Expand All @@ -30,6 +30,12 @@
##'
##' }
##'
##' For example, to use the development version of the API, you
##' could use: \code{tnrs_match_names("anas", dev_url=TRUE)}
##'
##' Additional arguments can also be passed to the
##' \code{\link[httr]{GET}} and \code{\link[httr]{POST}} methods.
##'
##'
##' @section Acknowledgments:
##'
Expand Down

0 comments on commit b64ff94

Please sign in to comment.