Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

improve category docs #116

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/fs_add_categories.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @param session (optional) the authentication credentials from \code{\link{fs_auth}}. If not provided, will attempt to load from cache as long as figshare_auth has been run.
#' @param debug return PUT results visibly?
#' @return output of PUT request (invisibly)
#' @seealso \code{\link{fs_auth}}
#' @seealso \code{\link{fs_auth}} \code{\link{fs_category_list}}
#' @references \url{http://api.figshare.com}
#' @import RJSONIO httr
#' @export
Expand Down
2 changes: 1 addition & 1 deletion R/fs_category_list.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @param debug enable debugging
#' @export
#' @examples \dontrun{
#' fs_categories_list()
#' as.data.frame(rbind(fs_category_list()))
#' }
fs_category_list <- function(debug = FALSE){
response <- GET("http://api.figshare.com/v1/categories")
Expand Down
10 changes: 7 additions & 3 deletions man/fs_add_categories.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/fs_category_list.Rd

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