Skip to content

Commit

Permalink
Update upload.R
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 authored May 6, 2022
1 parent 9e3237a commit 66e7188
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/upload.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ update_release_timestamp <- function(tag){
#' @param file_name file_name to upload as, without the file extension
#' @param nflverse_type metadata: name/information to add to data
#' @param release_tag name of release to upload to
#' @param gh_token a GitHub token, defaults to gh::gh_token()
#' @param .token a GitHub token, defaults to gh::gh_token()
#'
#' @export
nflverse_save <- function(data_frame,
Expand All @@ -55,11 +55,11 @@ nflverse_save <- function(data_frame,
is.character(file_name),
is.character(nflverse_type),
is.character(release_tag),
is.character(gh_token),
is.character(.token),
length(file_name) == 1,
length(nflverse_type) == 1,
length(release_tag) == 1,
length(gh_token) == 1
length(.token) == 1
)

attr(data_frame,"nflverse_type") <- nflverse_type
Expand Down

0 comments on commit 66e7188

Please sign in to comment.